{
  "id": "hasc",
  "kind": "datatype",
  "status": "draft",
  "name": "HASC code (Hierarchical administrative subdivision code)",
  "doc": "Code of a country subdivision in the Statoids system: the ISO 3166-1 alpha-2 country code followed by two-letter codes of the first and second level divisions, separated by dots.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^[A-Z]{2}(?:\\.[A-Z]{2}){0,2}$",
  "examples": [
    {
      "value": "US.CA.LO",
      "description": "Los Angeles County",
      "valid": true
    },
    {
      "value": "FR.NC",
      "description": "Hauts-de-France",
      "valid": true
    },
    {
      "value": "FR.NC.NO",
      "description": "Nord",
      "valid": true
    }
  ],
  "mappings": {
    "wikidata": "P8119"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Hierarchical_administrative_subdivision_codes"
    },
    {
      "type": "doc",
      "url": "https://www.statoids.com/ihasc.html"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P8119"
    }
  ],
  "quality": {
    "score": 80,
    "missing": [
      "negative example",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/geo/hasc.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/geo/hasc.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/hasc.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/hasc",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/hasc.json"
  }
}