{
  "id": "casgc",
  "kind": "datatype",
  "status": "stable",
  "name": "Standard Geographical Classification (SGC)",
  "doc": "The Standard Geographical Classification (SGC) is a system maintained by Statistics Canada for categorizing and enumerating the census geographic units of Canada. Each geographic area receives a unique numeric code ranging from 1 to 10 digits, which extend telescopically to refer to increasingly small areas.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "CA"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "regexp": "\\d{2}(\\d{2}(\\d{3})?)?",
  "examples": [
    {
      "value": "2410043",
      "description": "Rimouski",
      "valid": true
    },
    {
      "value": "4604040",
      "description": "Municipality of Louise",
      "valid": true
    }
  ],
  "mappings": {
    "wikidata": "P3012"
  },
  "links": [
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P3012"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Standard_Geographical_Classification_code_(Canada)"
    }
  ],
  "quality": {
    "score": 70,
    "missing": [
      "anchored regexp",
      "negative example",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/CA/geo/casgc.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/CA/geo/casgc.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/CA/geo/casgc.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/casgc",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/casgc.json"
  }
}