themes-corporate-modernist/blocks/footer.schema.json
Alex Dunmow 3207394c38 feat: convert to codeless .bnp — templates + manifest, Go/templ deleted (WO-WZ-021)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 15:26:48 +08:00

53 lines
1.4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Footer",
"description": "Multi-column footer with legal line, available in compact and full variants.",
"type": "object",
"properties": {
"columns": {
"type": "array",
"title": "Columns",
"description": "Each column lists a title and a set of links",
"default": [],
"x-editor": "collection",
"items": {
"type": "object",
"properties": {
"title": { "type": "string", "title": "Title", "x-editor": "text" },
"links": {
"type": "array",
"title": "Links",
"x-editor": "collection",
"items": {
"type": "object",
"properties": {
"label": { "type": "string", "title": "Label", "x-editor": "text" },
"href": { "type": "string", "title": "Href", "x-editor": "link" }
}
}
}
}
}
},
"legalLine": {
"type": "string",
"title": "Legal line",
"description": "Copyright or compliance statement",
"x-editor": "text"
},
"showLegal": {
"type": "boolean",
"title": "Show legal line",
"default": true,
"x-editor": "select"
},
"variant": {
"type": "string",
"title": "Variant",
"x-editor": "select",
"enum": ["compact", "full"],
"default": "compact"
}
}
}