jx/internal/folio/schemas/bar-declaration.schema.json
Matthew Rich 6e0049c4d2
Some checks are pending
Lint / golangci-lint (push) Waiting to run
Declarative Tests / test (push) Waiting to run
Declarative Tests / build-fedora (push) Waiting to run
Declarative Tests / build-ubuntu-focal (push) Waiting to run
add resource and document constraints
2024-09-19 07:57:26 +00:00

33 lines
663 B
JSON

{
"$id": "bar-declaration.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "bar-declaration",
"type": "object",
"required": [ "type", "attributes" ],
"properties": {
"type": {
"type": "string",
"description": "Resource type name.",
"enum": [ "bar" ]
},
"config": {
"type": "string",
"description": "Config name"
},
"onerror": {
"type": "string",
"description": "error handling strategy",
"enum": [
"stop",
"fail",
"skip"
]
},
"attributes": {
"oneOf": [
{ "$ref": "bar.schema.json" }
]
}
}
}