{
  "id": "au_gccsa_code",
  "kind": "datatype",
  "status": "draft",
  "name": "ABS Greater Capital City Statistical Area (GCCSA) code",
  "doc": "Five-character code of a Greater Capital City Statistical Area of the ABS Australian Statistical Geography Standard, which splits each state into its capital city and the rest of the state: the state digit, G for a greater capital city or R for the rest of the state, and three letters (1GSYD Greater Sydney, 1RNSW Rest of NSW, 2GMEL, 2RVIC, 3GBRI, 3RQLD, 4GADE, 4RSAU, 5GPER, 5RWAU, 6GHOB, 6RTAS, 7GDAR, 7RNTE); the ACT is 8ACTE and the Other Territories 9OTER.",
  "parent": "admin_area_2",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "AU"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^(?:[1-7][GR][A-Z]{3}|8ACTE|9OTER)$",
  "examples": [
    {
      "value": "1GSYD",
      "description": "Greater Sydney",
      "valid": true
    },
    {
      "value": "1RNSW",
      "description": "Rest of NSW",
      "valid": true
    },
    {
      "value": "8ACTE",
      "description": "Australian Capital Territory",
      "valid": true
    },
    {
      "value": "7GDAR",
      "description": "Greater Darwin",
      "valid": true
    },
    {
      "value": "9GSYD",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.abs.gov.au/statistics/standards/australian-statistical-geography-standard-asgs-edition-3/jul2021-jun2026/main-structure-and-greater-capital-city-statistical-areas/greater-capital-city-statistical-areas"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код статистической зоны столичного региона (GCCSA) Австралии"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "augccsacodebyname",
        "type": "field",
        "match": "regex",
        "file": "au/au_geo.yaml"
      },
      {
        "rule": "augccsacodevalue",
        "type": "data",
        "match": "func",
        "file": "au/au_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/AU/geo/au_gccsa_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/AU/geo/au_gccsa_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/AU/geo/au_gccsa_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/au_gccsa_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/au_gccsa_code.json"
  }
}