RustyCMS: file-based headless CMS — API, Admin UI (content, types, assets), Docker/Caddy, image transform; only demo type and demo content in version control
Made-with: Cursor
This commit is contained in:
25
schemas/calendar.schema.json
Normal file
25
schemas/calendar.schema.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"_slug": {
|
||||
"description": "Entry identifier (URL slug / filename without extension)",
|
||||
"type": "string"
|
||||
},
|
||||
"items": {
|
||||
"description": "Calendar entries (references to calendar_item)",
|
||||
"items": {
|
||||
"description": "Reference (slug) to collection 'calendar_item'",
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"fromPost": {
|
||||
"default": false,
|
||||
"description": "Include entries from post",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": ["_slug"],
|
||||
"type": "object"
|
||||
}
|
||||
Reference in New Issue
Block a user