jx/internal/resource/schemas/document.jsonschema

23 lines
544 B
Plaintext
Raw Normal View History

2024-04-02 20:33:49 +00:00
{
2024-04-09 19:30:05 +00:00
"$id": "document.jsonschema",
2024-04-02 20:33:49 +00:00
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "document",
"type": "object",
"required": [ "resources" ],
"properties": {
"resources": {
"type": "array",
"description": "Resources list",
"items": {
2024-04-09 19:30:05 +00:00
"oneOf": [
{ "$ref": "package-declaration.jsonschema" },
{ "$ref": "file-declaration.jsonschema" },
{ "$ref": "user-declaration.jsonschema" },
{ "$ref": "exec-declaration.jsonschema" }
]
2024-04-02 20:33:49 +00:00
}
}
}
}