Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
ConditionalRulesPayload — openapi
Public JSON shape for conditional rules (rules + rulesOrder), aligned with CMS ConditionalRules.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| rules | object | false | RPN rules keyed by condition id. On draft:overwrite, omitting a rule id that exists on published removes that rule; JSON null tombstones; { "tokens": [] } is an explicit empty rule. |
| rulesOrder | array | false | Evaluation order (condition ids). |
Related Schemas
Complete Schema
{
"type": "object",
"properties": {
"rules": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ConditionalRuleDefinition"
},
"description": "RPN rules keyed by condition id. On `draft:overwrite`, omitting a rule id that exists on published removes that rule; JSON `null` tombstones;\r\n`{ \"tokens\": [] }` is an explicit empty rule.",
"nullable": true
},
"rulesOrder": {
"type": "array",
"items": {
"type": "string"
},
"description": "Evaluation order (condition ids).",
"nullable": true
}
},
"additionalProperties": false,
"description": "Public JSON shape for conditional rules (`rules` + `rulesOrder`), aligned with CMS `ConditionalRules`."
}