flow2schema/tests/samples/declare/schema.json

21 lines
594 B
JSON

{
"$schema": "http://json-schema.org/draft-06/schema#",
"definitions": {
"declare::Type": {
"type": "object",
"properties": {"a": {"type": "string"}},
"required": ["a"]
},
"declare::Interface": {
"type": "object",
"properties": {"a": {"$ref": "#/definitions/declare::Type"}},
"required": ["a"]
},
"declare::Class": {
"type": "object",
"properties": {"a": {"$ref": "#/definitions/declare::Interface"}},
"required": ["a"]
}
}
}