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:
Peter Meier
2026-03-12 14:21:49 +01:00
parent aad93d145f
commit 7795a238e1
278 changed files with 15551 additions and 4072 deletions

View File

@@ -2,26 +2,128 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": true,
"properties": {
"_slug": { "description": "Entry identifier", "type": "string" },
"internal": { "description": "Internal key", "type": "string" },
"text": { "description": "Headline text", "type": "string" },
"tag": {
"description": "HTML tag",
"enum": ["h1", "h2", "h3", "h4", "h5", "h6"],
"_slug": {
"description": "Entry identifier (URL slug / filename without extension)",
"type": "string"
},
"align": {
"default": "left",
"description": "Text alignment",
"enum": [
"left",
"center",
"right"
],
"type": "string"
},
"internal": {
"description": "Internal key",
"type": "string"
},
"layout": {
"description": "Column width (grid) like CF_ComponentLayout",
"properties": {
"mobile": { "default": "12", "enum": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "type": "string" },
"tablet": { "enum": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "type": "string" },
"desktop": { "enum": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "type": "string" },
"spaceBottom": { "enum": [0, 0.5, 1, 1.5, 2], "type": "number" }
"breakout": {
"default": false,
"description": "Breakout layout (full width)",
"type": "boolean"
},
"desktop": {
"description": "Width on desktop (optional)",
"enum": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12"
],
"type": "string"
},
"mobile": {
"default": "12",
"description": "Width on mobile (112)",
"enum": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12"
],
"type": "string"
},
"spaceBottom": {
"default": 0,
"description": "Space below (rem)",
"enum": [
0,
0.5,
1,
1.5,
2
],
"type": "number"
},
"tablet": {
"description": "Width on tablet (optional)",
"enum": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12"
],
"type": "string"
}
},
"required": ["mobile"],
"required": [
"mobile"
],
"type": "object"
},
"align": { "enum": ["left", "center", "right"], "type": "string" }
"tag": {
"default": "h2",
"description": "HTML tag for headline",
"enum": [
"h1",
"h2",
"h3",
"h4",
"h5",
"h6"
],
"type": "string"
},
"text": {
"description": "Headline text",
"type": "string"
}
},
"required": ["_slug", "internal", "text", "tag"],
"required": [
"_slug",
"internal",
"text",
"tag"
],
"type": "object"
}
}