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:
@@ -6,34 +6,18 @@
|
||||
"description": "Entry identifier (URL slug / filename without extension)",
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"description": "Image title",
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"description": "Alt text / description",
|
||||
"type": "string"
|
||||
},
|
||||
"file": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": { "type": "string", "description": "Image URL" },
|
||||
"fileName": { "type": "string" },
|
||||
"contentType": { "type": "string" },
|
||||
"details": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"size": { "type": "number" },
|
||||
"image": {
|
||||
"type": "object",
|
||||
"properties": { "width": { "type": "number" }, "height": { "type": "number" } }
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["url"]
|
||||
"src": {
|
||||
"description": "Image URL",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["_slug", "title", "file"],
|
||||
"required": [
|
||||
"_slug",
|
||||
"src"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user