CWR two-way conversion
NWR / REV — Work Registration Header
The NWR and REV records are the root of every CWR transaction.
Mapping
| CWR EDI Field | JSON Path | Notes |
|---|---|---|
| Record type | work.messages.type | Lowercased: "nwr" or "rev" |
Title / WorkTitle | work.titles[] | { value, type: "TT" } |
ISWC | work.identifiers[] | { source: "iswc", value } |
SubmitterWorkNumber | work.identifiers[] | { source: "submitterWorkNumber", value } |
RevocationIndicator | work.messages.revocation.indicator | |
RevocationReason | work.messages.revocation.reason | |
AnomalousWorkIndicator | work.flags.anomalous | "Y" → true |
AnomalousWorkReason | work.flags.anomalousReason | |
AIIndicator | work.flags.aiUsage | Raw value preserved |
Notes
- For
REV: all work fields must be re-submitted in full. Structure is identical toNWR. - For
REVwithRevocationIndicator = "Y": the work is being revoked.