2026-11-27 16:10:23 +00:00
|
|
|
{
|
|
|
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
|
|
|
"$id": "https://forge.maximumdirect.net/eric/narratio-reference-catalog/schemas/glossary-v1.schema.json",
|
|
|
|
|
"title": "Glossary named collections v1",
|
|
|
|
|
"$ref": "#/$defs/document",
|
|
|
|
|
"$defs": {
|
|
|
|
|
"entry": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [
|
|
|
|
|
"id",
|
|
|
|
|
"name",
|
|
|
|
|
"category"
|
|
|
|
|
],
|
|
|
|
|
"properties": {
|
|
|
|
|
"id": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"minLength": 1
|
|
|
|
|
},
|
|
|
|
|
"name": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"minLength": 1
|
|
|
|
|
},
|
|
|
|
|
"category": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"minLength": 1
|
|
|
|
|
},
|
|
|
|
|
"description": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"aliases": {
|
2026-11-27 21:18:00 +00:00
|
|
|
"type": ["array", "null"],
|
2026-11-27 16:10:23 +00:00
|
|
|
"items": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"minLength": 1
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"plural": {
|
|
|
|
|
"anyOf": [
|
|
|
|
|
{
|
|
|
|
|
"type": "string",
|
|
|
|
|
"minLength": 1
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"type": "null"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"additionalProperties": true
|
|
|
|
|
},
|
|
|
|
|
"partialCollection": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
|
|
|
|
"instruction": {
|
|
|
|
|
"type": "string"
|
|
|
|
|
},
|
|
|
|
|
"entries": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
|
|
|
|
"$ref": "#/$defs/entry"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"additionalProperties": false
|
|
|
|
|
},
|
|
|
|
|
"collection": {
|
|
|
|
|
"allOf": [
|
|
|
|
|
{
|
|
|
|
|
"$ref": "#/$defs/partialCollection"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"required": [
|
|
|
|
|
"entries"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"document": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": {
|
|
|
|
|
"$ref": "#/$defs/collection"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|