Files
rustycms/schemas/footer.schema.json

114 lines
2.7 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": true,
"properties": {
"_slug": {
"description": "Entry identifier (URL slug / filename without extension)",
"type": "string"
},
"id": {
"description": "Unique footer ID (e.g. for navigation)",
"type": "string"
},
"row1AlignItems": {
"default": "stretch",
"description": "Align items for row 1",
"enum": [
"start",
"end",
"center",
"baseline",
"stretch"
],
"type": "string"
},
"row1Content": {
"description": "Content components for row 1 (Markdown, Post Overview, HTML, Headline, Image, …)",
"items": {
"description": "Reference (slug) to one of: markdown, post_overview, html, headline, image, quote, youtube_video, image_gallery, iframe, searchable_text, fullwidth_banner, list",
"type": "string"
},
"type": "array"
},
"row1JustifyContent": {
"default": "start",
"description": "Justify content for row 1",
"enum": [
"start",
"end",
"center",
"between",
"around",
"evenly"
],
"type": "string"
},
"row2AlignItems": {
"default": "stretch",
"enum": [
"start",
"end",
"center",
"baseline",
"stretch"
],
"type": "string"
},
"row2Content": {
"description": "Content components for row 2",
"items": {
"description": "Reference (slug) to one of: markdown, post_overview, html, headline, image, quote, youtube_video, image_gallery, iframe, searchable_text, fullwidth_banner, list",
"type": "string"
},
"type": "array"
},
"row2JustifyContent": {
"default": "start",
"enum": [
"start",
"end",
"center",
"between",
"around",
"evenly"
],
"type": "string"
},
"row3AlignItems": {
"default": "stretch",
"enum": [
"start",
"end",
"center",
"baseline",
"stretch"
],
"type": "string"
},
"row3Content": {
"description": "Content components for row 3",
"items": {
"description": "Reference (slug) to one of: markdown, post_overview, html, headline, image, quote, youtube_video, image_gallery, iframe, searchable_text, fullwidth_banner, list",
"type": "string"
},
"type": "array"
},
"row3JustifyContent": {
"default": "start",
"enum": [
"start",
"end",
"center",
"between",
"around",
"evenly"
],
"type": "string"
}
},
"required": [
"_slug",
"id"
],
"type": "object"
}