RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
29
schemas/text_fragment.schema.json
Normal file
29
schemas/text_fragment.schema.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$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": "References (slugs) to collection 'tag'",
|
||||
"items": { "type": "string" },
|
||||
"type": "array"
|
||||
},
|
||||
"title": {
|
||||
"description": "Text fragment title",
|
||||
"type": "string"
|
||||
},
|
||||
"text": {
|
||||
"description": "Searchable text content",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["_slug", "id", "title", "text"],
|
||||
"type": "object"
|
||||
}
|
||||
Reference in New Issue
Block a user