jx/internal/resource/schemas/document.jsonschema
Matthew Rich 11a55e27d0
Some checks failed
Lint / golangci-lint (push) Failing after 9m54s
Declarative Tests / test (push) Successful in 1m21s
add http resource create method
2024-04-10 12:38:12 -07:00

25 lines
659 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.jsonschema" }
]
}
}
}
}