jx/internal/resource/schemas/document.jsonschema

26 lines
715 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" },
2024-04-10 19:38:12 +00:00
{ "$ref": "http-declaration.jsonschema" },
2024-04-09 19:30:05 +00:00
{ "$ref": "user-declaration.jsonschema" },
2024-04-09 19:51:56 +00:00
{ "$ref": "exec-declaration.jsonschema" },
2024-04-25 07:45:05 +00:00
{ "$ref": "network_route-declaration.jsonschema" },
{ "$ref": "iptable-declaration.jsonschema" }
2024-04-09 19:30:05 +00:00
]
2024-04-02 20:33:49 +00:00
}
}
}
}