databricks-cli/libs/jsonschema/testdata/instance-validate/test-schema-anyof.json

32 lines
648 B
JSON

{
"anyOf": [
{
"properties": {
"foo": {
"type": "string",
"const": "abc"
},
"bar": {
"type": "string",
"const": "abc"
}
},
"required": [
"foo",
"bar"
]
},
{
"properties": {
"bar": {
"type": "string",
"const": "def"
}
},
"required": [
"foo"
]
}
]
}