---
id: "ipc_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "International Patent Classification (IPC) symbol"
regexp: "^[A-HY]\\d{2}[A-Z](?: *\\d{1,4} */ *\\d{2,6})?$"
categories: ["legal", "science"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/ipc_code"
---

# International Patent Classification (IPC) symbol (`ipc_code`)

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

Symbol of the International Patent Classification of WIPO (Strasbourg Agreement, 1971), which patent offices give to every patent document by its technical field: a section letter A to H, a two-digit class and a subclass letter (A47G, tableware), then the main group of one to four digits, a slash and the subgroup of two or more digits (A47G 23/02; /00 is the main group itself). Office databases pad the main group with spaces to a fixed width (A47G  23/02, F21M    3/04) or drop the spaces (A47G23/02). The Cooperative Patent Classification (CPC) of the EPO and the USPTO uses the same form with more subgroups and a section Y. A bare subclass (H04L) is a symbol too.

- Personal data (PII): no
- Categories: Legal and compliance (legal), Scientific (science)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^[A-HY]\d{2}[A-Z](?: *\d{1,4} */ *\d{2,6})?$
```

## Examples

- `A47G  23/02` — As IP Australia's IPGOD tables write it (ipc_mark_value)
- `A47G23/02` — The same symbol without spaces (edited_ipc_mark_value)
- `G06Q 90/00` — A main group
- `H04L` — A subclass
- `I01B 1/00` (invalid example) — There is no section I
- `A47G 23` (invalid example) — A main group needs its subgroup

## Metacrafter rules

2 rules: 1 match the field name, 1 match values.

- `ipccodebyname` (field, `common/legal.yaml`)
- `ipccodevalue` (data, `common/legal.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- ru: Индекс Международной патентной классификации (МПК)

## Sources

- doc: <https://www.wipo.int/classifications/ipc/en/>
- wikipedia: <https://en.wikipedia.org/wiki/International_Patent_Classification>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

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