{
  "id": "es_referenciacatastral",
  "kind": "datatype",
  "status": "draft",
  "name": "Spanish cadastral reference (referencia catastral)",
  "doc": "Referencia catastral, the 20-character identifier that the Spanish Directorate General for Cadastre gives to a real estate property. It holds 14 characters for the parcel, 4 for the property within the parcel and 2 check letters; digits and letters, including Ñ, are used.",
  "is_pii": false,
  "categories": [
    "realestate"
  ],
  "country": [
    "ES"
  ],
  "langs": [
    "es"
  ],
  "classification": "identifier",
  "regexp": "^[0-9A-ZÑ]{7} ?[0-9A-ZÑ]{7} ?[0-9A-ZÑ]{4} ?[A-Z]{2}$",
  "examples": [
    {
      "value": "10118A004030320000PY",
      "description": "Real-world value published online",
      "valid": true
    },
    {
      "value": "9872023 VH5797S 0001 WX",
      "description": "Real-world value published online",
      "valid": true
    },
    {
      "value": "10118A0 0403032 0000 PY",
      "description": "The first example in its printed form",
      "valid": true
    },
    {
      "value": "10118A004030320000PY7",
      "description": "One character too many",
      "valid": false
    }
  ],
  "mappings": {
    "stdnum": "es.referenciacatastral"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://es.wikipedia.org/wiki/Catastro#Referencia_catastral"
    },
    {
      "type": "other",
      "url": "https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.es.referenciacatastral.html"
    },
    {
      "type": "other",
      "url": "https://docs.dataprep.ai/user_guide/clean/clean_es_referenciacatastral.html"
    }
  ],
  "translations": {
    "es": {
      "name": "Referencia catastral"
    }
  },
  "detected_by": {
    "tools": [
      "dataprep",
      "pythonstdnum"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/ES/realestate/es_referenciacatastral.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/ES/realestate/es_referenciacatastral.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/ES/realestate/es_referenciacatastral.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/es_referenciacatastral",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/es_referenciacatastral.json"
  }
}