jx/internal/folio/schemas/document.schema.json

39 lines
829 B
JSON
Raw Normal View History

2024-08-18 01:19:56 +00:00
{
"$id": "document.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "document",
"type": "object",
2024-09-19 07:57:26 +00:00
"required": [],
2024-08-18 01:19:56 +00:00
"properties": {
2024-09-19 07:57:26 +00:00
"source": {
"type": "string",
"description": "Document URI"
},
"format": {
"$ref": "codec.schema.json"
},
"requires": {
"$ref": "dependencies.schema.json"
},
"configurations": {
"type": "array",
"description": "Configurations list",
"items": {
"oneOf": [
{ "$ref": "config/block.schema.json" }
]
}
},
2024-08-18 01:19:56 +00:00
"resources": {
"type": "array",
"description": "Resources list",
"items": {
"oneOf": [
{ "$ref": "foo-declaration.schema.json" },
{ "$ref": "bar-declaration.schema.json" }
]
}
}
}
}