{"$id":"https://cumulativewebinc.github.io/cwi-learn/all-clear/allclear-schema.json","$schema":"https://json-schema.org/draft/2020-12/schema","description":"Machine-readable clearance verdicts for a catalog: any agent can ask 'can I use this track for X?' and read the verdict — clear, conditional, or denied — with terms, territory, and contact. Static, cacheable, no login.","format":"cwi-allclear/v1","properties":{"catalog":{"properties":{"artist":{"type":"string"},"base_location":{"type":"string"},"contact":{"format":"email","type":"string"},"genre":{"items":{"type":"string"},"type":"array"},"label":{"type":"string"},"notes":{"type":"string"},"seed_dataset":{"format":"uri","type":"string"},"updated":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"}},"required":["label","contact","updated"],"type":"object"},"example_query":{"type":"object"},"format":{"const":"cwi-allclear/v1","type":"string"},"tracks":{"items":{"properties":{"artist":{"type":"string"},"catalog_ref":{"format":"uri","type":"string"},"notes":{"type":"string"},"owner_contact":{"format":"email","type":"string"},"title":{"type":"string"},"uses":{"items":{"properties":{"expires":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":["string","null"]},"terms":{"type":"string"},"territory":{"type":"string"},"use_type":{"enum":["stream","vod","clips","ad","sync-game","derivative","reupload"],"type":"string"},"verdict":{"enum":["clear","conditional","denied"],"type":"string"}},"required":["use_type","verdict","terms","territory"],"type":"object"},"minItems":1,"type":"array"},"verified_placements":{"items":{"properties":{"observed":{"pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"playlist":{"type":"string"},"position":{"minimum":1,"type":"integer"}},"required":["playlist","position","observed"],"type":"object"},"type":"array"}},"required":["title","catalog_ref","uses","owner_contact"],"type":"object"},"minItems":1,"type":"array"},"verdicts":{"properties":{"clear":{"type":"string"},"conditional":{"type":"string"},"denied":{"type":"string"}},"type":"object"}},"required":["format","catalog","tracks"],"title":"THE ALL-CLEAR rights-clearance verdict file","type":"object"}