dokytree/samples/it_v1/schemas/_index.json
2023-03-09 00:38:30 +01:00

74 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "YAML Schema for computer",
"type": "object",
"additionalProperties": false,
"properties": {
"index": { "type": "integer" },
"title": {
"anyOf": [
{"type": "string"},
{"enum": [
"''"
]}
]
},
"book": { "type": "boolean" },
"toc": { "type": "boolean" },
"templates": {
"type": "object",
"properties": {
"node": {
"anyOf": [
{"type": "string"},
{"enum": [
"''"
]}
]
},
"items": {
"anyOf": [
{"type": "string"},
{"enum": [
"''"
]}
]
}
}
},
"headfiles": {
"type": "array",
"items": {
"anyOf": [
{ "type": "string" },
{ "enum": [
"''"
]}
]
}
},
"files": {
"type": "array",
"items": {
"anyOf": [
{ "type": "string" },
{ "enum": [
"''"
]}
]
}
},
"footfiles": {
"type": "array",
"items": {
"anyOf": [
{ "type": "string" },
{ "enum": [
"''"
]}
]
}
}
}
}