themes-scifi-clean/schemas/mission_stat.schema.json
Alex Dunmow 96b87b3e81 initial: theme plugin scifi-clean
Bootstrapped during the 2026-06-06 BlockNinja consolidation. Was previously
an unversioned directory inside ~/src/blockninja-themes/scifi-clean.

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

41 lines
1.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Mission Stat",
"description": "Headline metric in mono numerals with a signal-orange delta arrow.",
"type": "object",
"properties": {
"metric": {
"type": "string",
"title": "Metric",
"description": "Name of the measured quantity (e.g. Apogee).",
"x-editor": "text"
},
"value": {
"type": "string",
"title": "Value",
"description": "Headline numeric value (e.g. 412).",
"x-editor": "text"
},
"unit": {
"type": "string",
"title": "Unit",
"description": "Trailing unit (e.g. km, m/s).",
"x-editor": "text"
},
"delta": {
"type": "string",
"title": "Delta",
"description": "Short delta string (e.g. +12, -0.3%).",
"x-editor": "text"
},
"trend": {
"type": "string",
"title": "Trend",
"description": "Direction of the delta arrow.",
"default": "flat",
"enum": ["up", "down", "flat"],
"x-editor": "select"
}
}
}