woocommerce/packages/php/remote-specs-validation/schemas/shared/rules/or.json

22 lines
339 B
JSON

{
"type": "object",
"required": ["type", "operands"],
"properties": {
"type": {
"type": "string",
"enum": ["or"]
},
"operands": {
"type": "array",
"items": {
"anyOf": [
{ "$ref": "#/definitions/rules" },
{
"type": "array",
"items": { "$ref": "#/definitions/rules" }
}
]
}
}
}
}