blob: a6f8f36c771cf57e09cab7a5f62ef0179bc41f32 [file] [log] [blame]
-- unsupported.json --
{
"$schema": "http://json-schema.org/draft-07/schema",
"definitions": {
"ref": {
"properties": {
"branches": {
"type": "object"
},
"branches-ignore": {
"type": "object"
}
},
"oneOf": [
{
"type": "object",
"allOf": [
{
"not": {
"required": [
"branches",
"branches-ignore"
]
}
}
]
},
{
"type": "null"
}
]
}
}
}
-- out.cue --
@jsonschema(schema="http://json-schema.org/draft-07/schema")
_
#ref: null | {
branches?: {
...
}
"branches-ignore"?: {
...
}
...
}