Files
rustycms/schemas/text_fragment.schema.json

37 lines
806 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": true,
"properties": {
"_slug": {
"description": "Entry identifier (URL slug / filename without extension)",
"type": "string"
},
"id": {
"description": "Unique fragment ID",
"type": "string"
},
"tags": {
"description": "Optional tags for categorisation",
"items": {
"description": "Reference (slug) to collection 'tag'",
"type": "string"
},
"type": "array"
},
"text": {
"description": "Searchable text content",
"type": "string"
},
"title": {
"description": "Text fragment title",
"type": "string"
}
},
"required": [
"_slug",
"id",
"title",
"text"
],
"type": "object"
}