{
  "id": "us_nyc_borough",
  "kind": "datatype",
  "status": "draft",
  "name": "New York City borough",
  "doc": "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": "admin_area_2",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "US"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "regexp": "^(?i:Manhattan|(?:The )?Bronx|Brooklyn|Queens|Staten Island)$",
  "examples": [
    {
      "value": "Manhattan",
      "valid": true
    },
    {
      "value": "Staten Island",
      "valid": true
    },
    {
      "value": "BROOKLYN",
      "description": "in capitals",
      "valid": true
    },
    {
      "value": "Harlem",
      "description": "A neighborhood, not a borough",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Boroughs_of_New_York_City"
    }
  ],
  "translations": {
    "ru": {
      "name": "Боро Нью-Йорка"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "usnycboroughbyname",
        "type": "field",
        "match": "regex",
        "file": "us/us_nyc.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/US/geo/us_nyc_borough.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/US/geo/us_nyc_borough.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/US/geo/us_nyc_borough.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/us_nyc_borough",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/us_nyc_borough.json"
  }
}