---
id: "iptc_media_topic"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["texts", "media"]
langs: ["common"]
quality: 80
url: "https://registry.apicrafter.io/datatype/iptc_media_topic"
---

# IPTC Media Topic code (`iptc_media_topic`)

> **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.

Code of a subject in IPTC Media Topics, the taxonomy of about 1400 news subjects that the International Press Telecommunications Council maintains and that news agencies use to tag articles, photos and video. Each code has eight digits. It is written as a QCode with the scheme alias medtop (medtop:15000000 is sport) or as a URI under http://cv.iptc.org/newscodes/mediatopic/. Top-level codes coincide with the older IPTC Subject Codes (alias subj). A bare eight-digit code is not accepted by the regexp, because it looks like a date or a Subject Code. Wikidata property P5429 holds all NewsCodes in the form mediatopic/15000000.

- Personal data (PII): no
- Categories: Texts and  articles (texts), Media and entertainment (media)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:(?:medtop|mediatopic):|https?://cv\.iptc\.org/newscodes/mediatopic/)\d{8}$
```

## Examples

- `medtop:15000000` — sport
- `medtop:20000022` — classical music
- `http://cv.iptc.org/newscodes/mediatopic/04000000` — economy, business and finance
- `subj:15000000` (invalid example) — IPTC Subject Code, the older vocabulary

## Translations

- ru: Код темы IPTC Media Topics: Восьмизначный код темы из таксономии IPTC Media Topics, которой информационные агентства размечают новости, например medtop:15000000 — спорт.

## Sources

- doc: <https://iptc.org/standards/media-topics/>
- doc: <https://cv.iptc.org/newscodes/mediatopic/>
- wikidata: <https://www.wikidata.org/wiki/Property:P5429>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

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