Files
stimmwerk/schemas/song-analysis-v2/meta.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
580 B
JSON

{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Song analysis meta v2","type":"object","required":["title","bpm","bpm_source","key","duration","source_offset_s","schema_version","errors"],"properties":{"title":{"type":"string"},"bpm":{"type":["number","null"],"exclusiveMinimum":0},"bpm_source":{"enum":["automatic","manual"]},"key":{"type":["string","null"]},"duration":{"type":"number","minimum":0},"source_offset_s":{"const":0.0},"schema_version":{"const":2},"errors":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false}