23 lines
544 B
Plaintext
23 lines
544 B
Plaintext
{
|
|
"$id": "document.jsonschema",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "document",
|
|
"type": "object",
|
|
"required": [ "resources" ],
|
|
"properties": {
|
|
"resources": {
|
|
"type": "array",
|
|
"description": "Resources list",
|
|
"items": {
|
|
"oneOf": [
|
|
{ "$ref": "package-declaration.jsonschema" },
|
|
{ "$ref": "file-declaration.jsonschema" },
|
|
{ "$ref": "user-declaration.jsonschema" },
|
|
{ "$ref": "exec-declaration.jsonschema" }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|