---
id: "ch_edid"
kind: "datatype"
status: "draft"
is_pii: false
name: "Swiss federal entrance identifier (EDID)"
regexp: "^(?:\\d|[1-8]\\d|90)$"
categories: ["realestate", "government"]
country: ["CH"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/ch_edid"
---

# Swiss federal entrance identifier (EDID) (`ch_edid`)

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

Number of an entrance of a building in the Swiss Federal Register of Buildings and Dwellings (GWR). It is a whole number from 0 to 90 and identifies an entrance, and so a building address, only together with the EGID of the building.

- Parent datatype: [`id`](https://registry.apicrafter.io/datatype/id.md)
- Personal data (PII): no
- Categories: Real estate (realestate), Government related (government)
- Countries: Switzerland (CH)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:\d|[1-8]\d|90)$
```

## Examples

- `0` — the first entrance of a building
- `2`
- `91` (invalid example) — above the range of the register

## Metacrafter rules

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

- `chedidbyname` (field, `ch/ch_codes.yaml`)

## Supported by tools

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

## Translations

- de: Eidgenössischer Eingangsidentifikator (EDID)
- fr: Identificateur fédéral d'entrée (EDID)
- ru: Федеральный идентификатор входа в здание Швейцарии (EDID)

## Sources

- doc: <https://dam-api.bfs.admin.ch/hub/api/dam/assets/7008785/master>

## Quality

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

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