themes-y2k/blocks/waveform_player.schema.json
Alex Dunmow a86a54639a feat: convert to codeless .bnp — templates + manifest, Go/templ deleted (WO-WZ-021)
Convert the Y2K theme from a Go+templ wasm plugin to a fully codeless .bnp:
blocks/blocks.yaml + .ninjatpl, page/system templates, template overrides,
email wrapper, master pages and CSS declared in manifest.yaml. All *.go, *.templ,
*_templ.go, go.mod and go.sum deleted; schemas moved schemas/ -> blocks/.

Static parity proven 48/48 identical against the templ baseline (10 blocks x
full+empty+variant branches, 4 overrides incl. heading L1-6, email full+empty).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 15:10:52 +08:00

35 lines
841 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Waveform Player",
"description": "Soundcloud-style audio block with a canvas waveform.",
"type": "object",
"properties": {
"trackTitle": {
"type": "string",
"title": "Track Title",
"x-editor": "text",
"default": ""
},
"audioUrl": {
"type": "string",
"title": "Audio URL",
"description": "Direct URL to the audio file (mp3 / m4a / ogg).",
"x-editor": "text",
"default": ""
},
"artist": {
"type": "string",
"title": "Artist",
"x-editor": "text",
"default": ""
},
"coverImage": {
"type": "string",
"title": "Cover Image",
"description": "Square cover art shown next to the waveform.",
"x-editor": "media",
"default": ""
}
}
}