jx/internal/folio/schemas/declaration.schema.json

24 lines
496 B
JSON
Raw Normal View History

2024-08-18 01:19:56 +00:00
{
"$id": "foo-declaration.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "foo-declaration",
"type": "object",
"required": [ "type", "attributes" ],
"properties": {
"type": {
"type": "string",
"description": "Resource type name.",
"enum": [ "foo" ]
},
"config": {
"type": "string",
"description": "Config name"
},
"attributes": {
"oneOf": [
{ "$ref": "bar.schema.json" }
]
}
}
}