changedInput schema / properties / flags / items / properties / rule / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "branches": {
- "default": [],
- "description": "Ordered branches, first-match-wins.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "conditions": {
- "description": "Conditions AND-ed together; the branch matches when all hold.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "attribute": {
- "minLength": 1,
- "type": "string"
- },
- "operator": {
- "enum": [
- "eq",
- "neq",
- "contains",
- "not_contains",
- "in",
- "not_in",
- "gt",
- "lt",
- "between",
- "regex",
- "exists",
- "not_exists"
- ],
- "type": "string"
- },
- "values": {
- "description": "Comparison values (always a plural array, even for single-value operators like eq). For between: [min, max]. For exists/not_exists: [].",
- "items": {
- "type": [
- "string",
- "number",
- "boolean",
- "null"
- ]
- },
- "type": "array"
- }
- },
- "required": [
- "attribute",
- "operator",
- "values"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "returnValue": {
- "description": "Value the flag returns when this branch matches (typed per the flag valueType)."
- }
- },
- "required": [
- "conditions"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "groupRef": {
- "description": "Reference to a saved condition group; mutually exclusive with inline branches.",
- "minLength": 1,
- "type": "string"
- },
- "otherwiseValue": {
- "description": "Value returned when no branch matches (or the identity is excluded by rollout)."
- },
- "rolloutPct": {
- "default": 100,
- "description": "0-100; applies to the whole rule. Defaults to 100 (full rollout).",
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "branches": {
+ "default": [],
+ "description": "Ordered branches, first-match-wins.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "conditions": {
+ "description": "Conditions AND-ed together; the branch matches when all hold.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "attribute": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "operator": {
+ "enum": [
+ "eq",
+ "neq",
+ "contains",
+ "not_contains",
+ "in",
+ "not_in",
+ "gt",
+ "lt",
+ "between",
+ "regex",
+ "exists",
+ "not_exists"
+ ],
+ "type": "string"
+ },
+ "values": {
+ "description": "Comparison values (always a plural array, even for single-value operators like eq). For between: [min, max]. For exists/not_exists: [].",
+ "items": {
+ "type": [
+ "string",
+ "number",
+ "boolean",
+ "null"
+ ]
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "attribute",
+ "operator",
+ "values"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "returnValue": {
+ "description": "Value the flag returns when this branch matches (typed per the flag valueType).",
+ "type": [
+ "string",
+ "number",
+ "boolean",
+ "object",
+ "array",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "conditions"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "groupRef": {
+ "description": "Reference to a saved condition group; mutually exclusive with inline branches.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "otherwiseValue": {
+ "description": "Value returned when no branch matches (or the identity is excluded by rollout).",
+ "type": [
+ "string",
+ "number",
+ "boolean",
+ "object",
+ "array",
+ "null"
+ ]
+ },
+ "rolloutPct": {
+ "default": 100,
+ "description": "0-100; applies to the whole rule. Defaults to 100 (full rollout).",
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
changedInput schema / properties / flags / items / properties / schedule / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "at": {
- "description": "ISO-8601 timestamp at which the transition fires.",
- "minLength": 1,
- "type": "string"
- },
- "state": {
- "$ref": "#/properties/flags/items/properties/state"
- }
- },
- "required": [
- "at",
- "state"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "at": {
+ "description": "ISO-8601 timestamp at which the transition fires.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "state": {
+ "description": "Defaults to \"off\" when omitted.",
+ "enum": [
+ "off",
+ "on",
+ "on-with-rule"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "at",
+ "state"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]