themes-terminal/schemas/footer.schema.json
Alex Dunmow 0a9b177f7c initial: theme plugin terminal
Bootstrapped during the 2026-06-06 BlockNinja consolidation. Was previously
an unversioned directory inside ~/src/blockninja-themes/terminal.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-06 14:11:44 +08:00

47 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "TTY Footer",
"description": "EOF rule + motd + optional newsletter signup",
"type": "object",
"properties": {
"motd": {
"type": "string",
"title": "MOTD",
"description": "Message-of-the-day shown in the footer",
"default": "connection closed.",
"x-editor": "text"
},
"links": {
"type": "array",
"title": "Links",
"description": "Footer links",
"default": [],
"x-editor": "collection",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"title": "Label",
"x-editor": "text"
},
"url": {
"type": "string",
"title": "URL",
"x-editor": "link"
}
},
"required": ["label"]
}
},
"showSignup": {
"type": "string",
"title": "Show newsletter signup",
"description": "Render a minimal email signup row",
"default": "false",
"x-editor": "select",
"enum": ["true", "false"]
}
}
}