{
  "id": "us_nyc_bin",
  "kind": "datatype",
  "status": "draft",
  "name": "New York City building identification number (BIN)",
  "doc": "Seven-digit number of a building in New York City from the Department of City Planning; the first digit is the borough (1-5). Numbers like 1000000 or 3000000, a borough digit followed by zeros, are placeholders for buildings without a BIN.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "realestate",
    "geo"
  ],
  "country": [
    "US"
  ],
  "langs": [
    "en"
  ],
  "classification": "identifier",
  "regexp": "^[1-5]\\d{6}(?:\\.0+)?$",
  "examples": [
    {
      "value": "1086341",
      "description": "Building in Manhattan",
      "valid": true
    },
    {
      "value": "3388736",
      "description": "Building in Brooklyn",
      "valid": true
    },
    {
      "value": "4268835.00000000000",
      "description": "Stored as a decimal number",
      "valid": true
    },
    {
      "value": "6086341",
      "description": "No borough 6",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P6082"
  },
  "links": [
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P6082"
    }
  ],
  "quality": {
    "score": 85,
    "missing": [
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/US/realestate/us_nyc_bin.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/US/realestate/us_nyc_bin.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/US/realestate/us_nyc_bin.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/us_nyc_bin",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/us_nyc_bin.json"
  }
}