{
  "id": "au_geoscape_pid",
  "kind": "datatype",
  "status": "draft",
  "name": "Geoscape (PSMA) persistent identifier",
  "doc": "Persistent identifier of a feature of the national datasets of Geoscape Australia, formerly PSMA Australia: G-NAF addresses (GANSW704411427, GAVIC411711441: GA, the state and digits) and the Administrative Boundaries, whose PIDs are a three-letter prefix of the theme and twelve characters (lga94484cf6e0e2 a local government area, lgp... its polygon, loc... a locality, sa... ABS areas, wad... a ward). They stay the same across releases, so state and council layers keep them beside their own ids (LGA_PID, LG_PLY_PID, ADDRESS_DETAIL_PID).",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "AU"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:GA(?:NSW|VIC|QLD|SA|WA|TAS|NT|ACT|OT)\\d{9,10}|[a-z]{3}[0-9A-Za-z_-]{12})$",
  "examples": [
    {
      "value": "lga94484cf6e0e2",
      "description": "LGA_PID, NSW LGA boundaries",
      "valid": true
    },
    {
      "value": "lgpa9f1f9d86a5e",
      "description": "LG_PLY_PID, the polygon of an LGA",
      "valid": true
    },
    {
      "value": "GANSW704411427",
      "description": "G-NAF address detail PID",
      "valid": true
    },
    {
      "value": "lga94484cf6",
      "description": "too short",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://docs.geoscape.com.au/"
    }
  ],
  "translations": {
    "ru": {
      "name": "Постоянный идентификатор Geoscape (PSMA)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "augeoscapepidbyname",
        "type": "field",
        "match": "regex",
        "file": "au/au_council.yaml"
      },
      {
        "rule": "augeoscapepidvalue",
        "type": "data",
        "match": "func",
        "file": "au/au_council.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/AU/geo/au_geoscape_pid.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/AU/geo/au_geoscape_pid.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/AU/geo/au_geoscape_pid.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/au_geoscape_pid",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/au_geoscape_pid.json"
  }
}