themes-kindergarten/blocks/numbers_counter.schema.json
Alex Dunmow dccd269ab2 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:17:12 +08:00

33 lines
879 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Numbers Counter",
"description": "Big circular numeral badges for stats (e.g. '12 teachers').",
"type": "object",
"properties": {
"items": {
"type": "array",
"title": "Numbers",
"description": "Collection of (number, label) pairs.",
"default": [],
"x-editor": "collection",
"items": {
"type": "object",
"properties": {
"number": {
"type": "integer",
"title": "Number",
"description": "Numeral rendered as a circular badge.",
"x-editor": "number"
},
"label": {
"type": "string",
"title": "Label",
"description": "Plain-language description (e.g. 'teachers').",
"x-editor": "text"
}
}
}
}
}
}