---
id: "us_nyc_borough"
kind: "datatype"
status: "draft"
is_pii: false
name: "New York City borough"
regexp: "^(?i:Manhattan|(?:The )?Bronx|Brooklyn|Queens|Staten Island)$"
categories: ["geo", "government"]
country: ["US"]
langs: ["en"]
quality: 90
url: "https://registry.apicrafter.io/datatype/us_nyc_borough"
---

# New York City borough (`us_nyc_borough`)

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

Name of one of the five boroughs of New York City: Manhattan, Bronx, Brooklyn, Queens, Staten Island. City datasets also write the one-letter abbreviations M, X, K, Q and R (B for the Bronx in some tables).

- Parent datatype: [`admin_area_2`](https://registry.apicrafter.io/datatype/admin_area_2.md)
- Personal data (PII): no
- Categories: Geographic identifiers (geo), Government related (government)
- Countries: United States (US)
- Languages: English (en)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?i:Manhattan|(?:The )?Bronx|Brooklyn|Queens|Staten Island)$
```

## Examples

- `Manhattan`
- `Staten Island`
- `BROOKLYN` — in capitals
- `Harlem` (invalid example) — A neighborhood, not a borough

## Metacrafter rules

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

- `usnycboroughbyname` (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/Boroughs_of_New_York_City>

## Quality

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

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