Files
stimmwerk/schemas/song-analysis-v2/lyrics.schema.json
wlkns-dev 914f9ecfef
All checks were successful
song-analysis-contract / python-contract (push) Successful in 46s
CI / rust (pull_request) Successful in 2m41s
song-analysis-contract / python-contract (pull_request) Successful in 5s
feat: version song analysis contract and preserve lyric lines
2026-11-01 11:24:21 +01:00

2 lines
882 B
JSON

{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Aligned lyrics v2","type":"object","required":["verified","lines"],"properties":{"verified":{"type":"boolean"},"lines":{"type":"array","items":{"type":"object","required":["start","end","words"],"properties":{"start":{"type":["number","null"],"minimum":0},"end":{"type":["number","null"],"minimum":0},"source_line":{"type":"integer","minimum":1},"section":{"type":["string","null"]},"alignment_conf":{"type":["number","null"],"minimum":0,"maximum":1},"words":{"type":"array","items":{"type":"object","required":["w","start","end","conf"],"properties":{"w":{"type":"string","minLength":1},"start":{"type":"number","minimum":0},"end":{"type":"number","minimum":0},"conf":{"type":["number","null"],"minimum":0,"maximum":1}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false}