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

View File

@@ -0,0 +1,54 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": true,
"properties": {
"_slug": {
"description": "Entry identifier (URL slug / filename without extension)",
"type": "string"
},
"author": {
"description": "Author name",
"type": "string"
},
"body": {
"description": "Main content (Markdown)",
"minLength": 1,
"type": "string"
},
"created_at": {
"description": "Creation timestamp (auto-generated)",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"excerpt": {
"description": "Short summary for previews",
"maxLength": 500,
"type": "string"
},
"published": {
"default": false,
"description": "Whether the post is publicly visible",
"type": "boolean"
},
"tags": {
"description": "Categorisation tags",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "Title of the blog post",
"maxLength": 200,
"minLength": 1,
"type": "string"
}
},
"required": [
"_slug",
"title",
"body"
],
"type": "object"
}