Files

70 lines
1.3 KiB
JSON

{
"type": "object",
"properties": {
"matchExpressions": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"operator"
],
"properties": {
"key": {
"type": "string"
},
"operator": {
"type": "string",
"enum": [
"In",
"NotIn",
"Exists",
"DoesNotExist",
"Gt",
"Lt"
]
},
"values": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"matchFields": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"operator"
],
"properties": {
"key": {
"type": "string"
},
"operator": {
"type": "string",
"enum": [
"In",
"NotIn",
"Exists",
"DoesNotExist",
"Gt",
"Lt"
]
},
"values": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}