Ruben Cagnie
10/09/2025, 4:15 PManyOf with multiple values. My concrete example is a filter that can have multiple type of objects. Running through the code, I'm getting stuck here.
Anyone any thought?
{
"type": "array",
"description": "A list of filters",
"items": {
"type": "object",
"properties": {
"dimension": {
"description": "The dimension to filter on",
"type": "string"
},
"operator": {
"description": "The operator to use for the filter. Supported operators: '==', 'IN'",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "number"
},
{
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"type": "array"
},
{
"type": "string"
}
],
"description": "The value(s) to filter by"
}
},
"required": [
"dimension",
"operator",
"value"
]
}
}Ruben Cagnie
10/10/2025, 6:51 PMRuben Cagnie
10/10/2025, 10:10 PMAndrey Bragin
10/14/2025, 11:02 AMRuben Cagnie
10/14/2025, 4:34 PMRuben Cagnie
10/16/2025, 8:06 AM