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

68
schemas/link.schema.json Normal file
View File

@@ -0,0 +1,68 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": true,
"properties": {
"_slug": {
"description": "Entry identifier (URL slug / filename without extension)",
"type": "string"
},
"name": {
"description": "Internal link name",
"type": "string"
},
"internal": {
"description": "Internal key",
"type": "string"
},
"linkName": {
"description": "Display name (e.g. in navigation)",
"type": "string"
},
"url": {
"description": "Target URL",
"type": "string"
},
"icon": {
"description": "Icon identifier",
"type": "string"
},
"color": {
"description": "Color (e.g. for buttons)",
"type": "string"
},
"newTab": {
"description": "Open in new tab",
"type": "boolean"
},
"external": {
"description": "External link",
"type": "boolean"
},
"description": {
"description": "Description",
"type": "string"
},
"alt": {
"description": "Alt text (e.g. for icon)",
"type": "string"
},
"showText": {
"description": "Show text",
"type": "boolean"
},
"author": {
"description": "Author (e.g. for sources)",
"type": "string"
},
"date": {
"description": "Date (e.g. publication)",
"type": "string"
},
"source": {
"description": "Source",
"type": "string"
}
},
"required": ["_slug", "name", "internal", "linkName", "url", "author", "date", "source"],
"type": "object"
}