---
id: "pl_znak_sprawy"
kind: "datatype"
status: "draft"
is_pii: false
name: "Polish case reference (znak sprawy)"
regexp: "^(?:[A-ZĄĆĘŁŃÓŚŹŻ]{1,8}(?:[.-][A-ZĄĆĘŁŃÓŚŹŻ]{1,8}){0,3}\\.)?\\d{3,4}\\.\\d{1,5}(?:\\.\\d{1,4})?\\.(?:19|20)\\d{2}(?:\\.[A-ZĄĆĘŁŃÓŚŹŻ]{1,6})?$"
categories: ["government", "legal", "identifiers"]
country: ["PL"]
langs: ["pl"]
quality: 90
url: "https://registry.apicrafter.io/datatype/pl_znak_sprawy"
---

# Polish case reference (znak sprawy) (`pl_znak_sprawy`)

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

Reference of a case file of a Polish public office under the office instruction of 2011: the symbol of the organisational unit, the class of the uniform file classification (JRWA), the number of the case in the year and the year, joined with dots, such as AB.6730.26.2016. Registers of decisions often drop the unit symbol (6730.26.2016).

- Personal data (PII): no
- Categories: Government related (government), Legal and compliance (legal), Universal unique identifiers (identifiers)
- Countries: Poland (PL)
- Languages: Polish (pl)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:[A-ZĄĆĘŁŃÓŚŹŻ]{1,8}(?:[.-][A-ZĄĆĘŁŃÓŚŹŻ]{1,8}){0,3}\.)?\d{3,4}\.\d{1,5}(?:\.\d{1,4})?\.(?:19|20)\d{2}(?:\.[A-ZĄĆĘŁŃÓŚŹŻ]{1,6})?$
```

## Examples

- `6730.26.2016` — Decision on development conditions, case 26 of 2016
- `AB.6730.26.2016` — With the unit symbol
- `WGN.6840.1.12.2020.MK` — With a sub-number and the initials of the clerk
- `6730/26/2016` (invalid example) — Slashes instead of dots
- `26.2016` (invalid example) — No JRWA class

## Metacrafter rules

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

- `plznaksprawybyname` (field, `pl/pl_topo.yaml`)

## Supported by tools

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

## Translations

- ru: Знак дела (Польша)

## Sources

- wikipedia: <https://pl.wikipedia.org/wiki/Znak_sprawy>

## Quality

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

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