---
id: "iswc"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["objectids", "publishing", "media"]
langs: ["common"]
quality: 100
url: "http://registry.apicrafter.io/datatype/iswc"
---

# International Standard Musical Work Code (ISWC) (`iswc`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

ISO 15707 identifier of a musical work as a composition, apart from its recordings (which have ISRC codes) and editions. It is the letter T, a nine-digit work number and a check digit, usually printed as T-123.456.789-C; the dots and hyphens are optional. Collecting societies issue the numbers in sequence under CISAC, the registration authority, and the number says nothing about the work. The check digit is a weighted sum of the digits modulo 10, which the registry does not verify.

- Personal data (PII): no
- Categories: Objects identifiers (objectids), Publishing and print (publishing), Media and entertainment (media)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^T-?\d{3}\.?\d{3}\.?\d{3}-?\d$
```

## Examples

- `T-034.524.680-1` — Example from the Wikipedia article
- `T-000.000.001-0` — The first ISWC
- `T0000000010` — The first ISWC in compact form, as Wikidata stores it
- `T-034.524.680` (invalid example) — No check digit

## Mappings

- autotype: `iswc`
- schema_org: `iswcCode`
- wikidata: `P1827`

## Supported by tools

- `autotype`

## Translations

- ru: Международный стандартный код музыкального произведения (ISWC): Идентификатор музыкального произведения по ISO 15707: буква T, девять цифр и контрольная цифра.

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/International_Standard_Musical_Work_Code>
- wikidata: <https://www.wikidata.org/wiki/Property:P1827>
- doc: <https://www.iswc.org/>
- other: <https://github.com/congy/AutoType/blob/master/data_release/iswc.txt>

## Quality

Score 100/100.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/iswc.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/objectids/iswc.yaml>
