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:
@@ -10,11 +10,29 @@
|
||||
"type": "string"
|
||||
},
|
||||
"image": {
|
||||
"description": "Image URLs",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
"description": "Banner image",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "Reference (slug) to collection 'img'",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"description": {
|
||||
"description": "Alt text / description",
|
||||
"type": "string"
|
||||
},
|
||||
"src": {
|
||||
"description": "Image URL",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"src"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"description": "Internal name",
|
||||
@@ -28,6 +46,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"variant": {
|
||||
"default": "light",
|
||||
"description": "Color variant",
|
||||
"enum": [
|
||||
"dark",
|
||||
|
||||
Reference in New Issue
Block a user