RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Peter Meier
2026-02-16 09:30:30 +01:00
commit aad93d145f
224 changed files with 19225 additions and 0 deletions

39
schemas/img.schema.json Normal file
View File

@@ -0,0 +1,39 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": true,
"properties": {
"_slug": {
"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"]
}
},
"required": ["_slug", "title", "file"],
"type": "object"
}