Changelog
Version history for CWR-JSON.
CWR-JSON format version 1.0.1 is the current interchange schema. The schema file stays cwr-json-schema-v1.0.schema.json. Further field-shape changes are frozen unless this changelog records an explicit format bump.
| Change type | Affects your integration? |
|---|---|
Format (new works[] fields, renamed properties, new required fields) | Yes — plan migration; we will announce here in advance |
| Documentation (terminology, pipeline description, examples) | No — same JSON output |
| Validation (stricter JSON Schema, lookup tables, semantic rules) | Maybe — same field shapes; hand-edited JSON may fail where it previously passed |
Integrators (including downstream export pipelines) should treat this page as the source of truth for format and validation changes. Contact the SPF committee for advance notice of any planned format revision.
Version governance
Societies implement the format version MAJOR.MINOR.PATCH. Current value: 1.0.1, status Published. A changelog release entry on this page assigns the format number and the status Published.
These rules apply to every release after format 1.0.1. Format 1.0.1 stays as published.
- MAJOR (
2.0.0): a previous reader cannot accept the new file, or a new reader cannot accept the previous file, without a migration. Field removed or renamed, type changed, new required field, meaning change. New schema filecwr-json-schema-v{MAJOR}.0.schema.json. The previous major stays available. At most two format versions stay in active circulation; the oldest is retired when a third would ship. - MINOR (
1.1.0): additive and optional only. New optional field or optional enum value. Files from the previous minor still validate. Schema filename bumps tocwr-json-schema-v{MAJOR}.{MINOR}.schema.json. - PATCH (
1.0.2): same JSON shape. Errata, examples, wording. Schema filename staysv{MAJOR}.{MINOR}.
Record the following on their own lines. They leave the format version unchanged:
- Implementations: releases of converters or tools (including the reference implementation) are not format releases and are not listed here.
- Validation (
1.x.y): stricter schema, lookup checks, or semantic rules on the same shapes. Hand-edited JSON may start failing. Lookup file revision suffix_rNbumps only when lookup content changes (cwr_lookup_data_types_v{MAJOR}.{MINOR}_r{N}.json). - Document revision in the Introduction identity table tracks spec-text revision of the current format. Wording-only edits bump that revision. Format MAJOR, MINOR, and PATCH stay put.
The format number is public when the changelog entry for that number is the release entry.
2026-11-27 — Documentation errata (no format bump)
Format
1.0.1. Schema filename stayscwr-json-schema-v1.0.schema.json. No change to the schema or lookup table. Specification text only. Document revision2.
- The current schema file is on Overview, Introduction, and CWR-JSON Schema. CWR-JSON Schema is the last page in the Docs menu.
2026-11-12 — Documentation errata (no format bump)
Format
1.0.1. Schema filename stayscwr-json-schema-v1.0.schema.json. No change to the schema or lookup table. Specification text only. Document revision1.
- Introduction: the identity table separates the technical format status (
1.0.1, Published) from the SPF formal approval status, and lists the schema and lookup files. - Examples: complete documents for real CWR EDI files: an
NWRwithXRF, a CWR 2.2REVwith publisher chains, and anACKwithMSG. A fourth example adds sender-suppliedconventionsandtags. Every block passes the published schema and the strict semantic rules. - Getting Started: the steps a converter follows, and a minimal complete document for a real
NWR.submitterWorkIdsource.valuematchesheader.senderIdentifier. flags.aiUsage: use the CISAC CWR 2.2 Rev. 3 codesM(music),T(text),A(all).- Root
$schemais not allowed in data files. The format1.0.1schema rejects extra root properties, including$schema. - Schema Validation:
- One lookup file:
cwr_lookup_data_types_v1.0_r0.json. - Identifier section (
oneOfISWC entry or{ type, value, source? }). - Exact
ID_UNIQUE_SUBMITTERfield mapping. - AJV example tested with Ajv 8 (
strict: false).
- One lookup file:
- Header Metadata: table of fields populated from CWR EDI vs supplied by the sender. Documented that
conventionsis omitted for mixed representations. - Role codes and title types:
- Role and title-type descriptions aligned with the CISAC lookup (
ESSubstituted Publisher,TEFirst Line of Text,RTRestricted Title, …). - Missing writer codes
AD,SR,SA,TRadded.
- Role and title-type descriptions aligned with the CISAC lookup (
- Relinquishment trigger now lists its two conditions.
releaseDate"00000000"is documented. messages.revocation.reasonandflags.anomalousReasontake CISAC codes (NE/NM/NC/AN,IPS/UNA), not free text.- Interested Parties:
- Writer
nameorder defined as first name + last name. - Only unlinked
Epublishers may appear at the top level ofparties[].SE/AM/PAare always nested under anE. - An empty
ipimust be omitted. roleName, party-levelagreementNumberand party-levelsharesmarked as reserved (no CWR EDI source in format1.0.1).
- Writer
- Territories & Shares:
territory.excludeis mandatory (the schema requires both arrays).- An
ownentry holds exactly one share type. collshares carry nosociety; examples corrected.- Rule for merging collection rows with equal shares, and both TIS code forms (
"0276"/"276").
messages.relinquishmentmarked as reserved; relinquishment comes fromPWRon the publisher.messages.revocationandflags.anomalousdefine the value for"N"indicators.messages.schemaandmessages.schemaDescriptionare free-text labels set by the converter.- Every
jsoncode block in the specification parses as JSON and validates against the published schema. - Entries below dated before 2026-10-19 describe the format
1.0.0identifier model (identifiers[].sourceas a string, ISWC/ISRC as identifier rows). Format1.0.1supersedes that model.
2026-10-23 — Optional tags on header and messages
tags on header and messagesFormat
1.0.1. Schema filename stayscwr-json-schema-v1.0.schema.json. Not mapped from CWR EDI. The sender sets the tags on the JSON file.
- Optional
tagsonheader(file level) andworks[].messages(work level). - Each tag is
{ "name": "custom", "value": ["example"] }.nameis required.valueis a string array with at least one string. - Same object already used on recordings and releases.
2026-10-19 — Identifier placement clarification
Format
1.0.1. Schema filename stayscwr-json-schema-v1.0.schema.json. Supersedes theworks[].iswcandworks[].isrcplacement in the "Format 1.0.1 identifiers" entry below.
- ISWC is one
identifiers[]entry,{ "iswc": ["T-034.524.680-1"] }. It is not a{ type, value, source }triple.works[].iswcis removed. works[].isrcis removed.XRF.IdentifierTypechooses the node.Wuses the org code.ISWappends to theiswcentry. Digits aresocietyWorkId/cisacSociety. 2–3 letters arepublisherWorkId/cwrSubmitter. Any other org is{ "type": "proprietary", "value" }with nosource.Rwith a valid ISRC stays onrecordings[].isrcwhen it already matches. Each unmatched code is its own recording,{ "isrc": ["..."] }.Pwith a 13-digit EAN is its own recording,{ "releases": [{ "ean": ["..."] }] }. It is not attached to other recordings.Vis not mapped.
2026-10-19 — Format 1.0.1 identifiers
Format bump. Schema filename stays
cwr-json-schema-v1.0.schema.json. ISWC and unmatched ISRC placement is superseded by the "Identifier placement clarification" entry above.
works[].iswc,works[].isrc,recordings[].isrc, andrecordings[].releases[].eanare string arrays. ISWC, ISRC, and EAN leaveidentifiers[].identifiers[]is a triple:type,value, and optionalsource(type,value, optionalname).source.typeisipiNameNumber,cisacSociety,cwrSubmitter, ordpid.NWR.SubmitterWorkNumberissubmitterWorkIdwithsource.typecwrSubmitterfrom theHDRsender.XRFsociety codes aresocietyWorkId/cisacSociety.XRF2–3 letter codes arepublisherWorkId/cwrSubmitter. A missing org is{ "type": "proprietary", "value" }with nosource.- An
XRFISRthat matches a recording ISRC is not copied again. One that matches no recording is kept onworks[].isrc. - Release catalog number stays on
catnoonly. - Schema accepts dotted
T-NNN.NNN.NNN-C, compactTNNNNNNNNNC, and intermediateT-NNNNNNNNN-C. Converters should write dotted ISO. - Optional
tagson recordings and releases:{ "name": "mood", "value": ["happy", "fun"] }. Not mapped from CWR EDI.
2026-10-14 — Optional header.conventions
header.conventionsAdditive optional field on CWR-JSON v1.0. Files without
conventionsstay valid. A validator that has not picked up this schema rejects files that include it.
header.conventionsdeclares how the file represents writers and publisher shares.writerControl:swrOnlyorswrOwr.publisherShare:summedorperWriterChain.- When
conventionsis present, both fields are required. - Not mapped from the CWR
HDRrecord. The sender sets it on the JSON file.
2026-07-26 — ACK support (format additive)
Additive only. Existing
nwr/revshapes unchanged.MessageTypegains"ack"; optional ACK fields and richermsgs[]properties documented.
Mapping
- In a GRH group with
TransactionType=ACK, eachACKrecord starts a new work (nestedNWR/REVbelong to the same work). - Flat ACK fields on
works[].messages(type: "ack",transactionStatus, dates, creation numbers, …). MSG→messages.msgs[]withstatus,message, plusoriginalRecordSequence,recordType,messageLevel,validationNumber.- A nested
NWRafterACKdoes not changemessages.type; it stays"ack".
Validation
MessageTypeenum includes"ack".msgs[]allows the extra MSG columns listed above.
2026-06-30 — XRF identifiers (superseded)
XRF identifiers (superseded)No change to CWR-JSON format
1.0.0object shapes.works[].identifiers[]gains rows fromXRFrecords; JSON SchemaidentifierSourcesenum widened.Superseded by format
1.0.1. The{ source, value }identifier rows below are no longer valid. See the 2026-10-19 "Format 1.0.1 identifiers" entry above.
Mapping
XRF(Work ID Cross Reference) →works[].identifiers[]:OrganisationCodebecomessource,Identifierbecomesvalue.- Special org codes:
ISW→source: "iswc";ISR→source: "isrc". - Society codes (e.g.
035) and CWR submitter IDs (e.g.EMI) are validsourcevalues; org000/099rows are skipped. - Duplicate
{source, value}pairs are deduplicated (including overlap withNWRISWC).
Validation
identifierSourceslookup set merges canonical sources with CISAC society codes andisrc.identifiers[].sourceaccepts the enum or^[A-Z]{2,3}$for publisher submitter codes.- ISRC format enforced on
identifiers[]whensourceisisrc.
2026-06-22 — Collection territory merging rules (no format bump)
No change to CWR-JSON format
1.0.0field shapes. Rules for collection territories and sub-publisher chains.
- Zero-share
SPT/SWTrecords merge TISinclude/excludeinto the activecollterritory instead of creating a separate territory with zero-value shares. - Share arrays omit
value: 0entries (see Territories & Shares). - A repeated
SPUfor the same sub-publisher under oneEchain appears once; the samepartyIdunder differentEparents stays separate.
2026-06-17 — Society code normalization (no format bump)
No change to CWR-JSON format
1.0.0field shapes.
Validation 1.1.2 (patch)
- Optional normalization strips empty and
000society codes on shares before validation. - Blank/
000society codes are omitted from shares (matches CWR EDI semantics).
2026-06-15 — Validation 1.1.2 (no format bump)
No change to CWR-JSON format
1.0.0field shapes.
Validation 1.1.2
- Lookup revision r1: CISAC society, character set, language, revocation, and anomalous-work enums in published lookup + JSON Schema.
- JSON Schema validates
shares[].society,header.characterSet,revocation.reason,flags.anomalousReason.
2026-06-03 — Validation UX & normalization (no format bump)
No change to CWR-JSON format
1.0.0field shapes. Validation ergonomics and optional pre-validation cleanup.
Validation 1.1.1
- Optional normalization before validation: compact ISWC →
T-NNNNNNNNN-C, split combinedown/collterritory rows, strip invalidownon sub-publishers. - Strict checks on a sender's own output should skip normalization.
- Semantic rules identified by rule codes (see Schema Validation).
- TIS lookup sourced from CISAC TIS export (see TIS Territory Codes and the published lookup table).
2026-06-03 — Validation 1.1.0 (no format bump)
No change to CWR-JSON format
1.0.0field shapes. Stricter JSON Schema and semantic validation only.
Validation 1.1.0
- Published lookup table (
cwr_lookup_data_types_v1.0_r0.json): role codes, title types, identifier sources, full TIS table (CISAC groups + ISO 3166-1 numeric). - JSON Schema (
cwr-json-schema-v1.0.schema.json) injects lookup enums and field patterns. - Semantic rules in strict mode: TIS include/exclude overlap, sub-publisher no
own, publisherownonly forE, uniquesubmitterWorkNumberper file. - See Schema Validation and TIS Territory Codes.
2026-06-03 — Documentation errata (no format bump)
No change to CWR-JSON format
1.0.0output. Specification and validation documentation only.
- There is no separate CWR 3.x EDI format; features such as publisher relinquishment come from CWR 2.2 Revision 3 (
PWRrecords). - Schema Validation updated: published schema and lookup URLs, structural vs semantic validation rules.
Ownership vs collection territory placement (see Territories & Shares)
shareTypes[].type: "own"(fromSWR/OWR/SPU/OPU) is not scoped to TIS codes. It is stored in aterritories[]entry withterritory.include: []andterritory.exclude: [].shareTypes[].type: "coll"(fromSWT/OWT/SPT/OPT) is scoped to TIS include/exclude on the same or separateterritories[]entries.- Sub-publishers (
SE,AM,PA) do not carry ownership shares in JSON — only original publishers (E) carryown. Sub-publishers may havecollterritories only. - Integrators must not assume
ownandcollshare the sameterritory.includearray, or that sub-publishers mirrorSPUownership percentages.
Format 1.0.0 — Initial Release
First public specification release for CWR-JSON (format
1.0.0).The identifier model and the "optional root
$schema" note in this entry are superseded by format1.0.1and the 2026-11-12 errata.
Format
- JSON encoding of CWR 2.x work-registration records (primary target: CWR 2.2 Revision 3 EDI)
- JSON Schema: cwr-json-schema-v1.0.schema.json — published JSON Schema for format 1.0
- Lookup table: cwr_lookup_data_types_v1.0_r0.json
- Optional root
$schema(since removed)
Supported CWR record types (→ JSON)
HDR NWR REV ACK ALT NAT NWN NOW NPN SPU OPU SWR OWR PWR SWT OWT SPT OPT REC ARI XRF MSG
Data model
parties: writers at top level; publishers inrepresentedBy[]; unlinkedEpublishers may appear at top levelparties[].territories[]:shareTypesown/collrecordings[]with ISRC dedupe andreleases[].identifiers(ean,catalogNumber)identifiers[]fromNWR/REVandXRF(society, submitter, ISWC, ISRC cross-refs)- GEMA
ARI(035/GW) →roleSplitM/roleSplitTonCAwriters NWN/NOW/NPN→nameDomestic/nameScript- CWR 2.2 Rev3
PWRrelinquishment on publisher participants
HDR → header (mapped fields)
senderIdentifier, senderName, creationDate, creationTime, version (CWR EDI version, e.g. "2.1"), softwarePackage
Updated 5 days ago