changedInput schema / properties / requestBody / properties / targetingRules / anyOf
Previous value: -[
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "conditions": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "prerequisiteFlagCondition": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "comparator": {
- "description": "Prerequisite flag comparison operator used during the evaluation process.",
- "enum": [
- "equals",
- "doesNotEqual"
- ],
- "type": "string"
- },
- "prerequisiteComparisonValue": {
- "additionalProperties": false,
- "description": "Represents the value of a Feature Flag or Setting.",
- "properties": {
- "boolValue": {
- "description": "The served value in case of a boolean Feature Flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "doubleValue": {
- "description": "The served value in case of a decimal number Setting.",
- "type": [
- "number",
- "null"
- ]
- },
- "intValue": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "The served value in case of a whole number Setting."
- },
- "predefinedVariationId": {
- "anyOf": [
- {
- "format": "uuid",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The served Variation's identifier."
- },
- "stringValue": {
- "description": "The served value in case of a text Setting.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "prerequisiteSettingId": {
- "description": "The prerequisite flag's identifier.",
- "type": "integer"
- }
- },
- "required": [
- "prerequisiteSettingId",
- "comparator",
- "prerequisiteComparisonValue"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Describes a condition that is based on a prerequisite flag."
- },
- "segmentCondition": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "comparator": {
- "description": "The segment comparison operator used during the evaluation process.",
- "enum": [
- "isIn",
- "isNotIn"
- ],
- "type": "string"
- },
- "segmentId": {
- "description": "The segment's identifier.",
- "format": "uuid",
- "type": "string"
- }
- },
- "required": [
- "segmentId",
- "comparator"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Describes a condition that is based on a segment."
- },
- "userCondition": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "comparator": {
- "description": "The comparison operator which defines the relation between the comparison attribute and the comparison value.",
- "enum": [
- "isOneOf",
- "isNotOneOf",
- "containsAnyOf",
- "doesNotContainAnyOf",
- "semVerIsOneOf",
- "semVerIsNotOneOf",
- "semVerLess",
- "semVerLessOrEquals",
- "semVerGreater",
- "semVerGreaterOrEquals",
- "numberEquals",
- "numberDoesNotEqual",
- "numberLess",
- "numberLessOrEquals",
- "numberGreater",
- "numberGreaterOrEquals",
- "sensitiveIsOneOf",
- "sensitiveIsNotOneOf",
- "dateTimeBefore",
- "dateTimeAfter",
- "sensitiveTextEquals",
- "sensitiveTextDoesNotEqual",
- "sensitiveTextStartsWithAnyOf",
- "sensitiveTextNotStartsWithAnyOf",
- "sensitiveTextEndsWithAnyOf",
- "sensitiveTextNotEndsWithAnyOf",
- "sensitiveArrayContainsAnyOf",
- "sensitiveArrayDoesNotContainAnyOf",
- "textEquals",
- "textDoesNotEqual",
- "textStartsWithAnyOf",
- "textNotStartsWithAnyOf",
- "textEndsWithAnyOf",
- "textNotEndsWithAnyOf",
- "arrayContainsAnyOf",
- "arrayDoesNotContainAnyOf"
- ],
- "type": "string"
- },
- "comparisonAttribute": {
- "description": "The User Object attribute that the condition is based on. Can be \"User ID\", \"Email\", \"Country\" or any custom attribute.",
- "maxLength": 1000,
- "minLength": 1,
- "type": "string"
- },
- "comparisonValue": {
- "additionalProperties": false,
- "description": "The value that the user object's attribute is compared to.",
- "properties": {
- "doubleValue": {
- "description": "The number representation of the comparison value.",
- "type": [
- "number",
- "null"
- ]
- },
- "listValue": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "hint": {
- "anyOf": [
- {
- "maxLength": 1500,
- "minLength": 0,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "An optional hint for the comparison value."
- },
- "value": {
- "description": "The actual comparison value.",
- "type": "string"
- }
- },
- "required": [
- "value"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "The list representation of the comparison value."
- },
- "stringValue": {
- "description": "The string representation of the comparison value.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- }
- },
- "required": [
- "comparisonAttribute",
- "comparator",
- "comparisonValue"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Describes a condition that is based on user attributes."
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "The list of conditions that are combined with logical AND operators. It can be one of the following: User condition, Segment condition, Prerequisite flag condition"
- },
- "percentageOptions": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "percentage": {
- "description": "A number between 0 and 100 that represents a randomly allocated fraction of the users.",
- "type": "integer"
- },
- "value": {
- "additionalProperties": false,
- "description": "Represents the value of a Feature Flag or Setting.",
- "properties": {
- "boolValue": {
- "description": "The served value in case of a boolean Feature Flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "doubleValue": {
- "description": "The served value in case of a decimal number Setting.",
- "type": [
- "number",
- "null"
- ]
- },
- "intValue": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "The served value in case of a whole number Setting."
- },
- "predefinedVariationId": {
- "anyOf": [
- {
- "format": "uuid",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The served Variation's identifier."
- },
- "stringValue": {
- "description": "The served value in case of a text Setting.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- }
- },
- "required": [
- "percentage",
- "value"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "The percentage options from where the evaluation process will choose a value based on the flag's percentage evaluation attribute."
- },
- "value": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "boolValue": {
- "description": "The served value in case of a boolean Feature Flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "doubleValue": {
- "description": "The served value in case of a decimal number Setting.",
- "type": [
- "number",
- "null"
- ]
- },
- "intValue": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "The served value in case of a whole number Setting."
- },
- "predefinedVariationId": {
- "anyOf": [
- {
- "format": "uuid",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The served Variation's identifier."
- },
- "stringValue": {
- "description": "The served value in case of a text Setting.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Represents the value of a Feature Flag or Setting."
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "conditions": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "prerequisiteFlagCondition": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "comparator": {
+ "description": "Prerequisite flag comparison operator used during the evaluation process.",
+ "enum": [
+ "equals",
+ "doesNotEqual"
+ ],
+ "type": "string"
+ },
+ "prerequisiteComparisonValue": {
+ "additionalProperties": false,
+ "description": "Represents the value of a Feature Flag or Setting.",
+ "properties": {
+ "boolValue": {
+ "description": "The served value in case of a boolean Feature Flag.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "doubleValue": {
+ "description": "The served value in case of a decimal number Setting.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "intValue": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The served value in case of a whole number Setting."
+ },
+ "predefinedVariationId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The served Variation's identifier."
+ },
+ "stringValue": {
+ "description": "The served value in case of a text Setting.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "prerequisiteSettingId": {
+ "description": "The prerequisite flag's identifier.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "prerequisiteSettingId",
+ "comparator",
+ "prerequisiteComparisonValue"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Describes a condition that is based on a prerequisite flag."
+ },
+ "segmentCondition": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "comparator": {
+ "description": "The segment comparison operator used during the evaluation process.",
+ "enum": [
+ "isIn",
+ "isNotIn"
+ ],
+ "type": "string"
+ },
+ "segmentId": {
+ "description": "The segment's identifier.",
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "required": [
+ "segmentId",
+ "comparator"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Describes a condition that is based on a segment."
+ },
+ "userCondition": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "comparator": {
+ "description": "The comparison operator which defines the relation between the comparison attribute and the comparison value.",
+ "enum": [
+ "isOneOf",
+ "isNotOneOf",
+ "containsAnyOf",
+ "doesNotContainAnyOf",
+ "semVerIsOneOf",
+ "semVerIsNotOneOf",
+ "semVerLess",
+ "semVerLessOrEquals",
+ "semVerGreater",
+ "semVerGreaterOrEquals",
+ "numberEquals",
+ "numberDoesNotEqual",
+ "numberLess",
+ "numberLessOrEquals",
+ "numberGreater",
+ "numberGreaterOrEquals",
+ "sensitiveIsOneOf",
+ "sensitiveIsNotOneOf",
+ "dateTimeBefore",
+ "dateTimeAfter",
+ "sensitiveTextEquals",
+ "sensitiveTextDoesNotEqual",
+ "sensitiveTextStartsWithAnyOf",
+ "sensitiveTextNotStartsWithAnyOf",
+ "sensitiveTextEndsWithAnyOf",
+ "sensitiveTextNotEndsWithAnyOf",
+ "sensitiveArrayContainsAnyOf",
+ "sensitiveArrayDoesNotContainAnyOf",
+ "textEquals",
+ "textDoesNotEqual",
+ "textStartsWithAnyOf",
+ "textNotStartsWithAnyOf",
+ "textEndsWithAnyOf",
+ "textNotEndsWithAnyOf",
+ "arrayContainsAnyOf",
+ "arrayDoesNotContainAnyOf"
+ ],
+ "type": "string"
+ },
+ "comparisonAttribute": {
+ "description": "The User Object attribute that the condition is based on. Can be \"User ID\", \"Email\", \"Country\" or any custom attribute.",
+ "maxLength": 1000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "comparisonValue": {
+ "additionalProperties": false,
+ "description": "The value that the user object's attribute is compared to.",
+ "properties": {
+ "doubleValue": {
+ "description": "The number representation of the comparison value.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "listValue": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "hint": {
+ "anyOf": [
+ {
+ "maxLength": 1500,
+ "minLength": 0,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "An optional hint for the comparison value."
+ },
+ "value": {
+ "description": "The actual comparison value.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The list representation of the comparison value."
+ },
+ "stringValue": {
+ "description": "The string representation of the comparison value.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "comparisonAttribute",
+ "comparator",
+ "comparisonValue"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Describes a condition that is based on user attributes."
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The list of conditions that are combined with logical AND operators.\nIt can be one of the following:\n- User condition\n- Segment condition\n- Prerequisite flag condition"
+ },
+ "percentageOptions": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "percentage": {
+ "description": "A number between 0 and 100 that represents a randomly allocated fraction of the users.",
+ "type": "integer"
+ },
+ "value": {
+ "additionalProperties": false,
+ "description": "Represents the value of a Feature Flag or Setting.",
+ "properties": {
+ "boolValue": {
+ "description": "The served value in case of a boolean Feature Flag.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "doubleValue": {
+ "description": "The served value in case of a decimal number Setting.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "intValue": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The served value in case of a whole number Setting."
+ },
+ "predefinedVariationId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The served Variation's identifier."
+ },
+ "stringValue": {
+ "description": "The served value in case of a text Setting.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "percentage",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The percentage options from where the evaluation process will choose a value based on the flag's percentage evaluation attribute."
+ },
+ "value": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "boolValue": {
+ "description": "The served value in case of a boolean Feature Flag.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "doubleValue": {
+ "description": "The served value in case of a decimal number Setting.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "intValue": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The served value in case of a whole number Setting."
+ },
+ "predefinedVariationId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The served Variation's identifier."
+ },
+ "stringValue": {
+ "description": "The served value in case of a text Setting.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Represents the value of a Feature Flag or Setting."
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+]