jx/internal/resource/schemas/document.jsonschema

29 lines
906 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-05-24 05:11:51 +00:00
{ "$ref": "network-route-declaration.schema.json" },
2024-05-06 00:48:54 +00:00
{ "$ref": "iptable-declaration.jsonschema" },
{ "$ref": "container-declaration.jsonschema" },
2024-05-24 05:11:51 +00:00
{ "$ref": "container-network-declaration.schema.json" },
{ "$ref": "container-image-declaration.schema.json" }
2024-04-09 19:30:05 +00:00
]
2024-04-02 20:33:49 +00:00
}
}
}
}