{
  "id": "au_lga_code",
  "kind": "datatype",
  "status": "draft",
  "name": "ABS local government area (LGA) code",
  "doc": "Five-digit code that the ABS gives to a local government area (a council area: city, shire, municipality, regional council) in the Australian Statistical Geography Standard: the state or territory digit (1 NSW, 2 Vic., 3 Qld, 4 SA, 5 WA, 6 Tas., 7 NT, 8 ACT, 9 Other Territories) and four digits, for example 10050 Albury (C) and 24600 Melbourne (C). The ABS updates the LGAs every year, so a table gives the edition (LGA_Code_2020). States and councils have numbering of their own (Victorian council numbers 301 to 381), which are not these codes.",
  "parent": "admin_area_2",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "AU"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^[1-9]\\d{4}$",
  "examples": [
    {
      "value": "10050",
      "description": "Albury (C), NSW (DSS payment demographic data)",
      "valid": true
    },
    {
      "value": "16900",
      "description": "Shellharbour (C), NSW",
      "valid": true
    },
    {
      "value": "24600",
      "description": "Melbourne (C), Vic.",
      "valid": true
    },
    {
      "value": "357",
      "description": "a council number of Victoria",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.abs.gov.au/statistics/standards/australian-statistical-geography-standard-asgs-edition-3/jul2021-jun2026/non-abs-structures/local-government-areas"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Local_government_areas_of_Australia"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код района местного самоуправления (LGA) Австралии"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "aulgacodebarebyname",
        "type": "field",
        "match": "regex",
        "file": "au/au_geo.yaml"
      },
      {
        "rule": "aulgacodebyname",
        "type": "field",
        "match": "regex",
        "file": "au/au_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/AU/geo/au_lga_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/AU/geo/au_lga_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/AU/geo/au_lga_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/au_lga_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/au_lga_code.json"
  }
}