2024-07-17 08:34:57 +00:00
|
|
|
{
|
|
|
|
"$id": "document.schema.json",
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
|
|
"title": "document",
|
|
|
|
"type": "object",
|
2024-09-19 08:11:57 +00:00
|
|
|
"required": [
|
|
|
|
],
|
2024-07-17 08:34:57 +00:00
|
|
|
"properties": {
|
2024-09-19 08:11:57 +00:00
|
|
|
"configurations": {
|
|
|
|
"type": "array",
|
|
|
|
"description": "Configurations list",
|
|
|
|
"items": {
|
|
|
|
"oneOf": [
|
|
|
|
{ "$ref": "config/block.schema.json" }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2024-07-17 08:34:57 +00:00
|
|
|
"resources": {
|
|
|
|
"type": "array",
|
|
|
|
"description": "Resources list",
|
|
|
|
"items": {
|
|
|
|
"oneOf": [
|
|
|
|
{ "$ref": "certificate-declaration.schema.json" },
|
|
|
|
{ "$ref": "container-declaration.schema.json" },
|
|
|
|
{ "$ref": "container-network-declaration.schema.json" },
|
|
|
|
{ "$ref": "container-image-declaration.schema.json" },
|
|
|
|
{ "$ref": "exec-declaration.schema.json" },
|
|
|
|
{ "$ref": "file-declaration.schema.json" },
|
|
|
|
{ "$ref": "group-declaration.schema.json" },
|
|
|
|
{ "$ref": "http-declaration.schema.json" },
|
|
|
|
{ "$ref": "iptable-declaration.schema.json" },
|
|
|
|
{ "$ref": "network-route-declaration.schema.json" },
|
2024-11-10 18:24:06 +00:00
|
|
|
{ "$ref": "openpgp-keyring-declaration.schema.json" },
|
2024-07-17 08:34:57 +00:00
|
|
|
{ "$ref": "package-declaration.schema.json" },
|
|
|
|
{ "$ref": "pki-declaration.schema.json" },
|
|
|
|
{ "$ref": "user-declaration.schema.json" }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|