---
id: "us_nyc_community_district"
kind: "datatype"
status: "draft"
is_pii: false
name: "New York City community district number"
regexp: "^(?:1(?:0[1-9]|1[0-2]|64)|2(?:0[1-9]|1[0-2]|2[6-8])|3(?:0[1-9]|1[0-8]|5[56])|4(?:0[1-9]|1[0-4]|8[0-4])|5(?:0[1-3]|95))$"
categories: ["geo", "government"]
country: ["US"]
langs: ["en"]
quality: 90
url: "https://registry.apicrafter.io/datatype/us_nyc_community_district"
---

# New York City community district number (`us_nyc_community_district`)

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

Three-digit number of one of the 59 community districts of New York City: the borough code (1 to 5) and the number of the community board in the borough, such as 310 for Brooklyn Community District 10. Numbers such as 164, 226 to 228, 355, 356, 480 to 484 and 595 mark parks and airports outside any district. Tables with a borough column write the board number alone (1 to 18).

- Personal data (PII): no
- Categories: Geographic identifiers (geo), Government related (government)
- Countries: United States (US)
- Languages: English (en)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:1(?:0[1-9]|1[0-2]|64)|2(?:0[1-9]|1[0-2]|2[6-8])|3(?:0[1-9]|1[0-8]|5[56])|4(?:0[1-9]|1[0-4]|8[0-4])|5(?:0[1-3]|95))$
```

## Examples

- `310` — Brooklyn Community District 10
- `101` — Manhattan Community District 1
- `164` — Central Park
- `319` (invalid example) — Brooklyn has 18 districts
- `601` (invalid example) — No borough 6

## Metacrafter rules

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

- `usnyccommunitydistrictbyname` (field, `us/us_nyc.yaml`)

## Supported by tools

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

## Translations

- ru: Номер общинного округа Нью-Йорка

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Community_boards_of_New_York_City>

## Quality

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

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