29 lines
906 B
Plaintext
29 lines
906 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": "http-declaration.jsonschema" },
|
|
{ "$ref": "user-declaration.jsonschema" },
|
|
{ "$ref": "exec-declaration.jsonschema" },
|
|
{ "$ref": "network-route-declaration.schema.json" },
|
|
{ "$ref": "iptable-declaration.jsonschema" },
|
|
{ "$ref": "container-declaration.jsonschema" },
|
|
{ "$ref": "container-network-declaration.schema.json" },
|
|
{ "$ref": "container-image-declaration.schema.json" }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|