---
id: "eu_river_basin_district_code"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["environment", "geo"]
country: ["EU"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/eu_river_basin_district_code"
---

# EU river basin district code (WFD) (`eu_river_basin_district_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.

Code of a river basin district, the management unit of the Water Framework Directive, as a Member State reports it to the European Environment Agency (WISE). It is the two-letter country code (EL for Greece) followed by the national code of the district, in the same EU code format as water body codes, for example DE5000 or BESEINE_RW. Codes are short and look like other WISE codes, so recognize them with column context.

- Personal data (PII): no
- Categories: Environment (protected areas, biodiversity, water, weather, emissions, waste) (environment), Geographic identifiers (geo)
- Countries: European Union (EU)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[A-Z]{2}[0-9A-Z](?:[0-9A-Z_-]{0,38}[0-9A-Z])?$
```

## Examples

- `DE9500` — Eider river basin district, Germany; Wikidata example
- `BESEINE_RW` — Seine river basin district, Belgian part; Wikidata example
- `ES030` — Tagus river basin district, Spain; Eionet WISE spatial unit vocabulary
- `de9500` (invalid example) — Lower case; EU codes use upper-case letters only

## Mappings

- wikidata: `P2965`

## Translations

- ru: Код речного бассейнового округа ЕС (ВРД): Код речного бассейнового округа по Водной рамочной директиве ЕС в отчётности WISE. Состоит из двухбуквенного кода страны и национального кода округа.

## Sources

- wikidata: <https://www.wikidata.org/wiki/Property:P2965>
- doc: <https://dd.eionet.europa.eu/schemas/WFD2022/WFDCommon_2022.xsd>
- doc: <https://dd.eionet.europa.eu/vocabulary/wise/SpatialUnit/view>
- doc: <https://eur-lex.europa.eu/eli/dir/2000/60/oj>

## Quality

Score 90/100. Missing: detector coverage.

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