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

47 lines
1023 B
JSON
Raw Permalink 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"
},
2024-09-24 19:22:49 +00:00
"imports": {
"type": "array",
"description": "List of other documents to import",
"items": {
"type": "string",
"description": "Document URI"
}
},
2024-09-19 07:57:26 +00:00
"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" }
]
}
}
}
}