typescript-json-schema
Version:
typescript-json-schema generates JSON Schema files from your Typescript sources
35 lines • 693 B
JSON
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"B.B": {
"properties": {
"b": {
}
},
"required": [
"b"
],
"type": "object"
},
"C.C": {
"properties": {
"c": {
"$ref": "#/definitions/B.B"
}
},
"required": [
"c"
],
"type": "object"
}
},
"properties": {
"d": {
"$ref": "#/definitions/C.C"
}
},
"required": [
"d"
],
"type": "object"
}