flow2schema/tests/samples/exact/schema.json

17 lines
467 B
JSON

{
"$schema": "http://json-schema.org/draft-06/schema#",
"definitions": {
"exact::X": {
"type": "object",
"properties": {"x": {"type": "string"}, "y": {"type": "boolean"}},
"required": ["x", "y"]
},
"exact::Y": {"$ref": "#/definitions/exact::X"},
"exact::Z": {
"type": "object",
"properties": {"z": {"type": "string"}},
"required": ["z"]
}
}
}