addedInput schema / properties / criteria / properties / match / items / anyOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "anyOf": [
+ {
+ "required": [
+ "field"
+ ]
+ },
+ {
+ "required": [
+ "property",
+ "entity"
+ ]
+ }
+ ],
+ "properties": {
+ "entity": {
+ "type": "string"
+ },
+ "field": {
+ "type": "string"
+ },
+ "operator": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "property": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": [
+ "string",
+ "number",
+ "boolean",
+ "null"
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "days": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "endDate": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "label": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "startDate": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "items": {
+ "anyOf": [
+ {
+ "type": [
+ "string",
+ "number"
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "name": {
+ "type": [
+ "string",
+ "number"
+ ]
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "match": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "anyOf": [
+ {
+ "required": [
+ "field"
+ ]
+ },
+ {
+ "required": [
+ "property",
+ "entity"
+ ]
+ }
+ ],
+ "properties": {
+ "entity": {
+ "type": "string"
+ },
+ "field": {
+ "type": "string"
+ },
+ "operator": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "property": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": [
+ "string",
+ "number",
+ "boolean",
+ "null"
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "days": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "endDate": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "label": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "startDate": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "items": {
+ "anyOf": [
+ {
+ "type": [
+ "string",
+ "number"
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "name": {
+ "type": [
+ "string",
+ "number"
+ ]
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "match": {
+ "items": {
+ "additionalProperties": false,
+ "anyOf": [
+ {
+ "required": [
+ "field"
+ ]
+ },
+ {
+ "required": [
+ "property",
+ "entity"
+ ]
+ }
+ ],
+ "properties": {
+ "entity": {
+ "type": "string"
+ },
+ "field": {
+ "type": "string"
+ },
+ "operator": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "property": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": [
+ "string",
+ "number",
+ "boolean",
+ "null"
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "days": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "endDate": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "label": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "startDate": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "items": {
+ "anyOf": [
+ {
+ "type": [
+ "string",
+ "number"
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "name": {
+ "type": [
+ "string",
+ "number"
+ ]
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "operator": {
+ "enum": [
+ "AND",
+ "OR"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "operator",
+ "match"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "operator": {
+ "enum": [
+ "AND",
+ "OR"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "operator",
+ "match"
+ ],
+ "type": "object"
+ }
+]