{
  "kind": "database",
  "tables": [
    {
      "name": "address_detail",
      "title": "ADDRESS_DETAIL",
      "description": "One row per address: its building, lot, flat, level and street numbers, the street and locality it sits in, its postcode and confidence, and the dates it was created, last changed and retired.",
      "fields": [
        {
          "name": "address_detail_pid",
          "type": "string",
          "title": "ADDRESS_DETAIL_PID",
          "description": "The persistent identifier of the address, which never changes."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_last_modified",
          "type": "date",
          "title": "DATE_LAST_MODIFIED",
          "description": "The date the row last changed."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "building_name",
          "type": "string",
          "title": "BUILDING_NAME",
          "description": "The building's name, where it has one."
        },
        {
          "name": "lot_number_prefix",
          "type": "string",
          "title": "LOT_NUMBER_PREFIX",
          "description": "The prefix of the lot number."
        },
        {
          "name": "lot_number",
          "type": "string",
          "title": "LOT_NUMBER",
          "description": "The lot number, for an address with no street number."
        },
        {
          "name": "lot_number_suffix",
          "type": "string",
          "title": "LOT_NUMBER_SUFFIX",
          "description": "The suffix of the lot number."
        },
        {
          "name": "flat_type_code",
          "type": "string",
          "title": "FLAT_TYPE_CODE",
          "description": "The kind of flat, from flat_type_aut."
        },
        {
          "name": "flat_number_prefix",
          "type": "string",
          "title": "FLAT_NUMBER_PREFIX",
          "description": "The prefix of the flat number."
        },
        {
          "name": "flat_number",
          "type": "integer",
          "title": "FLAT_NUMBER",
          "description": "The flat, unit, apartment or shop number."
        },
        {
          "name": "flat_number_suffix",
          "type": "string",
          "title": "FLAT_NUMBER_SUFFIX",
          "description": "The suffix of the flat number."
        },
        {
          "name": "level_type_code",
          "type": "string",
          "title": "LEVEL_TYPE_CODE",
          "description": "The kind of level, from level_type_aut."
        },
        {
          "name": "level_number_prefix",
          "type": "string",
          "title": "LEVEL_NUMBER_PREFIX",
          "description": "The prefix of the level number."
        },
        {
          "name": "level_number",
          "type": "integer",
          "title": "LEVEL_NUMBER",
          "description": "The level number within the building."
        },
        {
          "name": "level_number_suffix",
          "type": "string",
          "title": "LEVEL_NUMBER_SUFFIX",
          "description": "The suffix of the level number."
        },
        {
          "name": "number_first_prefix",
          "type": "string",
          "title": "NUMBER_FIRST_PREFIX",
          "description": "The prefix of the first street number."
        },
        {
          "name": "number_first",
          "type": "integer",
          "title": "NUMBER_FIRST",
          "description": "The street number, or the first of a range."
        },
        {
          "name": "number_first_suffix",
          "type": "string",
          "title": "NUMBER_FIRST_SUFFIX",
          "description": "The suffix of the first street number."
        },
        {
          "name": "number_last_prefix",
          "type": "string",
          "title": "NUMBER_LAST_PREFIX",
          "description": "The prefix of the last street number."
        },
        {
          "name": "number_last",
          "type": "integer",
          "title": "NUMBER_LAST",
          "description": "The last street number of a range."
        },
        {
          "name": "number_last_suffix",
          "type": "string",
          "title": "NUMBER_LAST_SUFFIX",
          "description": "The suffix of the last street number."
        },
        {
          "name": "street_locality_pid",
          "type": "string",
          "title": "STREET_LOCALITY_PID",
          "description": "The street within a locality, from street_locality."
        },
        {
          "name": "location_description",
          "type": "string",
          "title": "LOCATION_DESCRIPTION",
          "description": "A description of the location, for an address with no street."
        },
        {
          "name": "locality_pid",
          "type": "string",
          "title": "LOCALITY_PID",
          "description": "The locality, from locality."
        },
        {
          "name": "alias_principal",
          "type": "string",
          "title": "ALIAS_PRINCIPAL",
          "description": "P for a principal address, A for an alias."
        },
        {
          "name": "postcode",
          "type": "string",
          "title": "POSTCODE",
          "description": "The postcode, as text."
        },
        {
          "name": "private_street",
          "type": "string",
          "title": "PRIVATE_STREET",
          "description": "The private street name, for an address on one."
        },
        {
          "name": "legal_parcel_id",
          "type": "string",
          "title": "LEGAL_PARCEL_ID",
          "description": "The legal parcel identifier of the land, where known."
        },
        {
          "name": "confidence",
          "type": "integer",
          "title": "CONFIDENCE",
          "description": "How many of the contributors hold the address, less one. A value below 0 means the address was retired by every contributor."
        },
        {
          "name": "address_site_pid",
          "type": "string",
          "title": "ADDRESS_SITE_PID",
          "description": "The address site, from address_site."
        },
        {
          "name": "level_geocoded_code",
          "type": "integer",
          "title": "LEVEL_GEOCODED_CODE",
          "description": "The level the address is geocoded to, from geocoded_level_type_aut."
        },
        {
          "name": "property_pid",
          "type": "string",
          "title": "PROPERTY_PID",
          "description": "The property the address belongs to, where known."
        },
        {
          "name": "gnaf_property_pid",
          "type": "string",
          "title": "GNAF_PROPERTY_PID",
          "description": "The G-NAF property identifier, where known."
        },
        {
          "name": "primary_secondary",
          "type": "string",
          "title": "PRIMARY_SECONDARY",
          "description": "P for a primary address, S for a secondary one such as a flat, blank where neither."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 16970406,
      "primaryKey": [
        "address_detail_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "flat_type_code"
          ],
          "reference": {
            "resource": "flat_type_aut",
            "fields": [
              "code"
            ]
          }
        },
        {
          "fields": [
            "level_type_code"
          ],
          "reference": {
            "resource": "level_type_aut",
            "fields": [
              "code"
            ]
          }
        },
        {
          "fields": [
            "street_locality_pid"
          ],
          "reference": {
            "resource": "street_locality",
            "fields": [
              "street_locality_pid"
            ]
          }
        },
        {
          "fields": [
            "locality_pid"
          ],
          "reference": {
            "resource": "locality",
            "fields": [
              "locality_pid"
            ]
          }
        },
        {
          "fields": [
            "address_site_pid"
          ],
          "reference": {
            "resource": "address_site",
            "fields": [
              "address_site_pid"
            ]
          }
        },
        {
          "fields": [
            "level_geocoded_code"
          ],
          "reference": {
            "resource": "geocoded_level_type_aut",
            "fields": [
              "code"
            ]
          }
        }
      ]
    },
    {
      "name": "address_default_geocode",
      "title": "ADDRESS_DEFAULT_GEOCODE",
      "description": "The default geocode of each address: the longitude and latitude Geoscape recommends for it and the type of feature the point sits on.",
      "fields": [
        {
          "name": "address_default_geocode_pid",
          "type": "string",
          "title": "ADDRESS_DEFAULT_GEOCODE_PID",
          "description": "The persistent identifier of the default geocode."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "address_detail_pid",
          "type": "string",
          "title": "ADDRESS_DETAIL_PID",
          "description": "The persistent identifier of the address."
        },
        {
          "name": "geocode_type_code",
          "type": "string",
          "title": "GEOCODE_TYPE_CODE",
          "description": "What the point sits on, from geocode_type_aut."
        },
        {
          "name": "longitude",
          "type": "number",
          "title": "LONGITUDE",
          "description": "Longitude in decimal degrees, GDA2020."
        },
        {
          "name": "latitude",
          "type": "number",
          "title": "LATITUDE",
          "description": "Latitude in decimal degrees, GDA2020."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 16970406,
      "primaryKey": [
        "address_default_geocode_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "address_detail_pid"
          ],
          "reference": {
            "resource": "address_detail",
            "fields": [
              "address_detail_pid"
            ]
          }
        },
        {
          "fields": [
            "geocode_type_code"
          ],
          "reference": {
            "resource": "geocode_type_aut",
            "fields": [
              "code"
            ]
          }
        }
      ]
    },
    {
      "name": "address_site",
      "title": "ADDRESS_SITE",
      "description": "The site an address refers to, with its type and name. Several addresses can share one site.",
      "fields": [
        {
          "name": "address_site_pid",
          "type": "string",
          "title": "ADDRESS_SITE_PID",
          "description": "The address site, from address_site."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "address_type",
          "type": "string",
          "title": "ADDRESS_TYPE",
          "description": "The kind of site, from address_type_aut."
        },
        {
          "name": "address_site_name",
          "type": "string",
          "title": "ADDRESS_SITE_NAME",
          "description": "The name of the site, where it has one."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 16970406,
      "primaryKey": [
        "address_site_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "address_type"
          ],
          "reference": {
            "resource": "address_type_aut",
            "fields": [
              "code"
            ]
          }
        }
      ]
    },
    {
      "name": "address_site_geocode",
      "title": "ADDRESS_SITE_GEOCODE",
      "description": "Every geocode held for an address site, with its type, reliability and the elevation and boundary extent where known.",
      "fields": [
        {
          "name": "address_site_geocode_pid",
          "type": "string",
          "title": "ADDRESS_SITE_GEOCODE_PID",
          "description": "The persistent identifier of the geocode."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "address_site_pid",
          "type": "string",
          "title": "ADDRESS_SITE_PID",
          "description": "The address site, from address_site."
        },
        {
          "name": "geocode_site_name",
          "type": "string",
          "title": "GEOCODE_SITE_NAME",
          "description": "The name of the feature the geocode sits on."
        },
        {
          "name": "geocode_site_description",
          "type": "string",
          "title": "GEOCODE_SITE_DESCRIPTION",
          "description": "A description of the feature the geocode sits on."
        },
        {
          "name": "geocode_type_code",
          "type": "string",
          "title": "GEOCODE_TYPE_CODE",
          "description": "What the point sits on, from geocode_type_aut."
        },
        {
          "name": "reliability_code",
          "type": "integer",
          "title": "RELIABILITY_CODE",
          "description": "How reliable the geocode is, from geocode_reliability_aut."
        },
        {
          "name": "boundary_extent",
          "type": "integer",
          "title": "BOUNDARY_EXTENT",
          "description": "The extent of the boundary the geocode was derived from, in metres, where known."
        },
        {
          "name": "planimetric_accuracy",
          "type": "integer",
          "title": "PLANIMETRIC_ACCURACY",
          "description": "The planimetric accuracy of the point, in metres, where known."
        },
        {
          "name": "elevation",
          "type": "integer",
          "title": "ELEVATION",
          "description": "The elevation of the point, in metres, where known."
        },
        {
          "name": "longitude",
          "type": "number",
          "title": "LONGITUDE",
          "description": "Longitude in decimal degrees, GDA2020."
        },
        {
          "name": "latitude",
          "type": "number",
          "title": "LATITUDE",
          "description": "Latitude in decimal degrees, GDA2020."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 20754564,
      "primaryKey": [
        "address_site_geocode_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "address_site_pid"
          ],
          "reference": {
            "resource": "address_site",
            "fields": [
              "address_site_pid"
            ]
          }
        },
        {
          "fields": [
            "geocode_type_code"
          ],
          "reference": {
            "resource": "geocode_type_aut",
            "fields": [
              "code"
            ]
          }
        },
        {
          "fields": [
            "reliability_code"
          ],
          "reference": {
            "resource": "geocode_reliability_aut",
            "fields": [
              "code"
            ]
          }
        }
      ]
    },
    {
      "name": "address_alias",
      "title": "ADDRESS_ALIAS",
      "description": "Pairs of addresses where one is an alias of the other, with the type of alias.",
      "fields": [
        {
          "name": "address_alias_pid",
          "type": "string",
          "title": "ADDRESS_ALIAS_PID",
          "description": "The persistent identifier of the alias pair."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "principal_pid",
          "type": "string",
          "title": "PRINCIPAL_PID",
          "description": "The principal address, from address_detail."
        },
        {
          "name": "alias_pid",
          "type": "string",
          "title": "ALIAS_PID",
          "description": "The alias address, from address_detail."
        },
        {
          "name": "alias_type_code",
          "type": "string",
          "title": "ALIAS_TYPE_CODE",
          "description": "The kind of alias, from the lookup table."
        },
        {
          "name": "alias_comment",
          "type": "string",
          "title": "ALIAS_COMMENT",
          "description": "A note on the alias."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 878895,
      "primaryKey": [
        "address_alias_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "principal_pid"
          ],
          "reference": {
            "resource": "address_detail",
            "fields": [
              "address_detail_pid"
            ]
          }
        },
        {
          "fields": [
            "alias_pid"
          ],
          "reference": {
            "resource": "address_detail",
            "fields": [
              "address_detail_pid"
            ]
          }
        },
        {
          "fields": [
            "alias_type_code"
          ],
          "reference": {
            "resource": "address_alias_type_aut",
            "fields": [
              "code"
            ]
          }
        }
      ]
    },
    {
      "name": "address_feature",
      "title": "ADDRESS_FEATURE",
      "description": "Address features: a record per address of the change that created it, kept so a release can be compared with the one before.",
      "fields": [
        {
          "name": "address_feature_id",
          "type": "string",
          "title": "ADDRESS_FEATURE_ID",
          "description": "The identifier of the feature row."
        },
        {
          "name": "address_feature_pid",
          "type": "string",
          "title": "ADDRESS_FEATURE_PID",
          "description": "The persistent identifier of the feature."
        },
        {
          "name": "address_detail_pid",
          "type": "string",
          "title": "ADDRESS_DETAIL_PID",
          "description": "The persistent identifier of the address."
        },
        {
          "name": "date_address_detail_created",
          "type": "date",
          "title": "DATE_ADDRESS_DETAIL_CREATED",
          "description": "The date the address was created."
        },
        {
          "name": "date_address_detail_retired",
          "type": "date",
          "title": "DATE_ADDRESS_DETAIL_RETIRED",
          "description": "The date the address was retired, where it has been."
        },
        {
          "name": "address_change_type_code",
          "type": "string",
          "title": "ADDRESS_CHANGE_TYPE_CODE",
          "description": "The kind of change, from address_change_type_aut."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 234311,
      "primaryKey": [
        "address_feature_id"
      ],
      "foreignKeys": [
        {
          "fields": [
            "address_detail_pid"
          ],
          "reference": {
            "resource": "address_detail",
            "fields": [
              "address_detail_pid"
            ]
          }
        },
        {
          "fields": [
            "address_change_type_code"
          ],
          "reference": {
            "resource": "address_change_type_aut",
            "fields": [
              "code"
            ]
          }
        }
      ]
    },
    {
      "name": "primary_secondary",
      "title": "PRIMARY_SECONDARY",
      "description": "Links a secondary address, such as a flat, to its primary address.",
      "fields": [
        {
          "name": "primary_secondary_pid",
          "type": "string",
          "title": "PRIMARY_SECONDARY_PID",
          "description": "The persistent identifier of the link."
        },
        {
          "name": "primary_pid",
          "type": "string",
          "title": "PRIMARY_PID"
        },
        {
          "name": "secondary_pid",
          "type": "string",
          "title": "SECONDARY_PID",
          "description": "The secondary address, from address_detail."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "ps_join_type_code",
          "type": "integer",
          "title": "PS_JOIN_TYPE_CODE",
          "description": "The kind of link, from ps_join_type_aut."
        },
        {
          "name": "ps_join_comment",
          "type": "string",
          "title": "PS_JOIN_COMMENT",
          "description": "A note on the link."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 4966622,
      "primaryKey": [
        "primary_secondary_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "primary_pid"
          ],
          "reference": {
            "resource": "address_detail",
            "fields": [
              "address_detail_pid"
            ]
          }
        },
        {
          "fields": [
            "secondary_pid"
          ],
          "reference": {
            "resource": "address_detail",
            "fields": [
              "address_detail_pid"
            ]
          }
        },
        {
          "fields": [
            "ps_join_type_code"
          ],
          "reference": {
            "resource": "ps_join_type_aut",
            "fields": [
              "code"
            ]
          }
        }
      ]
    },
    {
      "name": "street_locality",
      "title": "STREET_LOCALITY",
      "description": "One row per street within a locality, with the street's name, type, suffix and class.",
      "fields": [
        {
          "name": "street_locality_pid",
          "type": "string",
          "title": "STREET_LOCALITY_PID",
          "description": "The street within a locality, from street_locality."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "street_class_code",
          "type": "string",
          "title": "STREET_CLASS_CODE",
          "description": "The class of street, from street_class_aut."
        },
        {
          "name": "street_name",
          "type": "string",
          "title": "STREET_NAME",
          "description": "The street's name without its type."
        },
        {
          "name": "street_type_code",
          "type": "string",
          "title": "STREET_TYPE_CODE",
          "description": "The street type, from street_type_aut."
        },
        {
          "name": "street_suffix_code",
          "type": "string",
          "title": "STREET_SUFFIX_CODE",
          "description": "The street suffix, from street_suffix_aut."
        },
        {
          "name": "locality_pid",
          "type": "string",
          "title": "LOCALITY_PID",
          "description": "The locality, from locality."
        },
        {
          "name": "gnaf_street_pid",
          "type": "string",
          "title": "GNAF_STREET_PID"
        },
        {
          "name": "gnaf_street_confidence",
          "type": "integer",
          "title": "GNAF_STREET_CONFIDENCE"
        },
        {
          "name": "gnaf_reliability_code",
          "type": "integer",
          "title": "GNAF_RELIABILITY_CODE",
          "description": "How reliable the locality's point is, from geocode_reliability_aut."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 767239,
      "primaryKey": [
        "street_locality_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "street_class_code"
          ],
          "reference": {
            "resource": "street_class_aut",
            "fields": [
              "code"
            ]
          }
        },
        {
          "fields": [
            "street_type_code"
          ],
          "reference": {
            "resource": "street_type_aut",
            "fields": [
              "code"
            ]
          }
        },
        {
          "fields": [
            "street_suffix_code"
          ],
          "reference": {
            "resource": "street_suffix_aut",
            "fields": [
              "code"
            ]
          }
        },
        {
          "fields": [
            "locality_pid"
          ],
          "reference": {
            "resource": "locality",
            "fields": [
              "locality_pid"
            ]
          }
        },
        {
          "fields": [
            "gnaf_reliability_code"
          ],
          "reference": {
            "resource": "geocode_reliability_aut",
            "fields": [
              "code"
            ]
          }
        }
      ]
    },
    {
      "name": "street_locality_alias",
      "title": "STREET_LOCALITY_ALIAS",
      "description": "Alternative names for a street within a locality.",
      "fields": [
        {
          "name": "street_locality_alias_pid",
          "type": "string",
          "title": "STREET_LOCALITY_ALIAS_PID",
          "description": "The persistent identifier of the alias."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "street_locality_pid",
          "type": "string",
          "title": "STREET_LOCALITY_PID",
          "description": "The street within a locality, from street_locality."
        },
        {
          "name": "street_name",
          "type": "string",
          "title": "STREET_NAME",
          "description": "The street's name without its type."
        },
        {
          "name": "street_type_code",
          "type": "string",
          "title": "STREET_TYPE_CODE",
          "description": "The street type, from street_type_aut."
        },
        {
          "name": "street_suffix_code",
          "type": "string",
          "title": "STREET_SUFFIX_CODE",
          "description": "The street suffix, from street_suffix_aut."
        },
        {
          "name": "alias_type_code",
          "type": "string",
          "title": "ALIAS_TYPE_CODE",
          "description": "The kind of alias, from the lookup table."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 41100,
      "primaryKey": [
        "street_locality_alias_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "street_locality_pid"
          ],
          "reference": {
            "resource": "street_locality",
            "fields": [
              "street_locality_pid"
            ]
          }
        },
        {
          "fields": [
            "street_type_code"
          ],
          "reference": {
            "resource": "street_type_aut",
            "fields": [
              "code"
            ]
          }
        },
        {
          "fields": [
            "street_suffix_code"
          ],
          "reference": {
            "resource": "street_suffix_aut",
            "fields": [
              "code"
            ]
          }
        },
        {
          "fields": [
            "alias_type_code"
          ],
          "reference": {
            "resource": "street_locality_alias_type_aut",
            "fields": [
              "code"
            ]
          }
        }
      ]
    },
    {
      "name": "street_locality_point",
      "title": "STREET_LOCALITY_POINT",
      "description": "A representative point for each street within a locality.",
      "fields": [
        {
          "name": "street_locality_point_pid",
          "type": "string",
          "title": "STREET_LOCALITY_POINT_PID",
          "description": "The persistent identifier of the point."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "street_locality_pid",
          "type": "string",
          "title": "STREET_LOCALITY_PID",
          "description": "The street within a locality, from street_locality."
        },
        {
          "name": "boundary_extent",
          "type": "integer",
          "title": "BOUNDARY_EXTENT",
          "description": "The extent of the boundary the geocode was derived from, in metres, where known."
        },
        {
          "name": "planimetric_accuracy",
          "type": "integer",
          "title": "PLANIMETRIC_ACCURACY",
          "description": "The planimetric accuracy of the point, in metres, where known."
        },
        {
          "name": "longitude",
          "type": "number",
          "title": "LONGITUDE",
          "description": "Longitude in decimal degrees, GDA2020."
        },
        {
          "name": "latitude",
          "type": "number",
          "title": "LATITUDE",
          "description": "Latitude in decimal degrees, GDA2020."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 719651,
      "primaryKey": [
        "street_locality_point_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "street_locality_pid"
          ],
          "reference": {
            "resource": "street_locality",
            "fields": [
              "street_locality_pid"
            ]
          }
        }
      ]
    },
    {
      "name": "locality",
      "title": "LOCALITY",
      "description": "One row per locality, which is a suburb, town or district, with its name, class, state and primary postcode.",
      "fields": [
        {
          "name": "locality_pid",
          "type": "string",
          "title": "LOCALITY_PID",
          "description": "The locality, from locality."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "locality_name",
          "type": "string",
          "title": "LOCALITY_NAME",
          "description": "The locality's name."
        },
        {
          "name": "primary_postcode",
          "type": "string",
          "title": "PRIMARY_POSTCODE",
          "description": "The locality's primary postcode."
        },
        {
          "name": "locality_class_code",
          "type": "string",
          "title": "LOCALITY_CLASS_CODE",
          "description": "The class of locality, from locality_class_aut."
        },
        {
          "name": "state_pid",
          "type": "string",
          "title": "STATE_PID",
          "description": "The state or territory, from state."
        },
        {
          "name": "gnaf_locality_pid",
          "type": "string",
          "title": "GNAF_LOCALITY_PID",
          "description": "The G-NAF locality identifier."
        },
        {
          "name": "gnaf_reliability_code",
          "type": "integer",
          "title": "GNAF_RELIABILITY_CODE",
          "description": "How reliable the locality's point is, from geocode_reliability_aut."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 17581,
      "primaryKey": [
        "locality_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "locality_class_code"
          ],
          "reference": {
            "resource": "locality_class_aut",
            "fields": [
              "code"
            ]
          }
        },
        {
          "fields": [
            "state_pid"
          ],
          "reference": {
            "resource": "state",
            "fields": [
              "state_pid"
            ]
          }
        },
        {
          "fields": [
            "gnaf_reliability_code"
          ],
          "reference": {
            "resource": "geocode_reliability_aut",
            "fields": [
              "code"
            ]
          }
        }
      ]
    },
    {
      "name": "locality_alias",
      "title": "LOCALITY_ALIAS",
      "description": "Alternative names for a locality.",
      "fields": [
        {
          "name": "locality_alias_pid",
          "type": "string",
          "title": "LOCALITY_ALIAS_PID",
          "description": "The persistent identifier of the alias."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "locality_pid",
          "type": "string",
          "title": "LOCALITY_PID",
          "description": "The locality, from locality."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "postcode",
          "type": "string",
          "title": "POSTCODE",
          "description": "The postcode, as text."
        },
        {
          "name": "alias_type_code",
          "type": "string",
          "title": "ALIAS_TYPE_CODE",
          "description": "The kind of alias, from the lookup table."
        },
        {
          "name": "state_pid",
          "type": "string",
          "title": "STATE_PID",
          "description": "The state or territory, from state."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 29577,
      "primaryKey": [
        "locality_alias_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "locality_pid"
          ],
          "reference": {
            "resource": "locality",
            "fields": [
              "locality_pid"
            ]
          }
        },
        {
          "fields": [
            "alias_type_code"
          ],
          "reference": {
            "resource": "locality_alias_type_aut",
            "fields": [
              "code"
            ]
          }
        }
      ]
    },
    {
      "name": "locality_neighbour",
      "title": "LOCALITY_NEIGHBOUR",
      "description": "Pairs of localities that share a boundary.",
      "fields": [
        {
          "name": "locality_neighbour_pid",
          "type": "string",
          "title": "LOCALITY_NEIGHBOUR_PID",
          "description": "The persistent identifier of the pair."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "locality_pid",
          "type": "string",
          "title": "LOCALITY_PID",
          "description": "The locality, from locality."
        },
        {
          "name": "neighbour_locality_pid",
          "type": "string",
          "title": "NEIGHBOUR_LOCALITY_PID",
          "description": "The neighbouring locality, from locality."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 89438,
      "primaryKey": [
        "locality_neighbour_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "locality_pid"
          ],
          "reference": {
            "resource": "locality",
            "fields": [
              "locality_pid"
            ]
          }
        },
        {
          "fields": [
            "neighbour_locality_pid"
          ],
          "reference": {
            "resource": "locality",
            "fields": [
              "locality_pid"
            ]
          }
        }
      ]
    },
    {
      "name": "locality_point",
      "title": "LOCALITY_POINT",
      "description": "A representative point for each locality.",
      "fields": [
        {
          "name": "locality_point_pid",
          "type": "string",
          "title": "LOCALITY_POINT_PID",
          "description": "The persistent identifier of the point."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "locality_pid",
          "type": "string",
          "title": "LOCALITY_PID",
          "description": "The locality, from locality."
        },
        {
          "name": "planimetric_accuracy",
          "type": "integer",
          "title": "PLANIMETRIC_ACCURACY",
          "description": "The planimetric accuracy of the point, in metres, where known."
        },
        {
          "name": "longitude",
          "type": "number",
          "title": "LONGITUDE",
          "description": "Longitude in decimal degrees, GDA2020."
        },
        {
          "name": "latitude",
          "type": "number",
          "title": "LATITUDE",
          "description": "Latitude in decimal degrees, GDA2020."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 17581,
      "primaryKey": [
        "locality_point_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "locality_pid"
          ],
          "reference": {
            "resource": "locality",
            "fields": [
              "locality_pid"
            ]
          }
        }
      ]
    },
    {
      "name": "state",
      "title": "STATE",
      "description": "The states and territories, by name and abbreviation.",
      "fields": [
        {
          "name": "state_pid",
          "type": "string",
          "title": "STATE_PID",
          "description": "The state or territory, from state."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "state_name",
          "type": "string",
          "title": "STATE_NAME",
          "description": "The state or territory's name."
        },
        {
          "name": "state_abbreviation",
          "type": "string",
          "title": "STATE_ABBREVIATION",
          "description": "The state or territory's abbreviation, such as QLD."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 9,
      "primaryKey": [
        "state_pid"
      ]
    },
    {
      "name": "address_mesh_block_2026",
      "title": "ADDRESS_MESH_BLOCK_2026",
      "description": "The ABS 2026 mesh block each address falls in, with how the match was made.",
      "fields": [
        {
          "name": "address_mesh_block_pid_2026",
          "type": "string",
          "title": "ADDRESS_MESH_BLOCK_PID_2026",
          "description": "The persistent identifier of the match."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "address_detail_pid",
          "type": "string",
          "title": "ADDRESS_DETAIL_PID",
          "description": "The persistent identifier of the address."
        },
        {
          "name": "mb_match_code",
          "type": "string",
          "title": "MB_MATCH_CODE",
          "description": "How the address was matched to the mesh block, from mb_match_code_aut."
        },
        {
          "name": "mb_pid_2026",
          "type": "string",
          "title": "MB_PID_2026",
          "description": "The mesh block, from mb_2026."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 16970406,
      "primaryKey": [
        "address_mesh_block_pid_2026"
      ],
      "foreignKeys": [
        {
          "fields": [
            "address_detail_pid"
          ],
          "reference": {
            "resource": "address_detail",
            "fields": [
              "address_detail_pid"
            ]
          }
        },
        {
          "fields": [
            "mb_match_code"
          ],
          "reference": {
            "resource": "mb_match_code_aut",
            "fields": [
              "code"
            ]
          }
        },
        {
          "fields": [
            "mb_pid_2026"
          ],
          "reference": {
            "resource": "mb_2026",
            "fields": [
              "mb_pid_2026"
            ]
          }
        }
      ]
    },
    {
      "name": "mb_2026",
      "title": "MB_2026",
      "description": "The ABS 2026 mesh block codes referred to by address_mesh_block_2026.",
      "fields": [
        {
          "name": "mb_pid_2026",
          "type": "string",
          "title": "MB_PID_2026",
          "description": "The mesh block, from mb_2026."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "mb_code_2026",
          "type": "string",
          "title": "MB_CODE_2026",
          "description": "The ABS 2026 mesh block code."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 374916,
      "primaryKey": [
        "mb_pid_2026"
      ]
    },
    {
      "name": "address_mesh_block_2021",
      "title": "ADDRESS_MESH_BLOCK_2021",
      "description": "The ABS 2021 mesh block each address falls in, with how the match was made.",
      "fields": [
        {
          "name": "address_mesh_block_2021_pid",
          "type": "string",
          "title": "ADDRESS_MESH_BLOCK_2021_PID",
          "description": "The persistent identifier of the match."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "address_detail_pid",
          "type": "string",
          "title": "ADDRESS_DETAIL_PID",
          "description": "The persistent identifier of the address."
        },
        {
          "name": "mb_match_code",
          "type": "string",
          "title": "MB_MATCH_CODE",
          "description": "How the address was matched to the mesh block, from mb_match_code_aut."
        },
        {
          "name": "mb_2021_pid",
          "type": "string",
          "title": "MB_2021_PID",
          "description": "The mesh block, from mb_2021."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 16970406,
      "primaryKey": [
        "address_mesh_block_2021_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "address_detail_pid"
          ],
          "reference": {
            "resource": "address_detail",
            "fields": [
              "address_detail_pid"
            ]
          }
        },
        {
          "fields": [
            "mb_match_code"
          ],
          "reference": {
            "resource": "mb_match_code_aut",
            "fields": [
              "code"
            ]
          }
        },
        {
          "fields": [
            "mb_2021_pid"
          ],
          "reference": {
            "resource": "mb_2021",
            "fields": [
              "mb_2021_pid"
            ]
          }
        }
      ]
    },
    {
      "name": "mb_2021",
      "title": "MB_2021",
      "description": "The ABS 2021 mesh block codes referred to by address_mesh_block_2021.",
      "fields": [
        {
          "name": "mb_2021_pid",
          "type": "string",
          "title": "MB_2021_PID",
          "description": "The mesh block, from mb_2021."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "mb_2021_code",
          "type": "string",
          "title": "MB_2021_CODE",
          "description": "The ABS 2021 mesh block code."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 368285,
      "primaryKey": [
        "mb_2021_pid"
      ]
    },
    {
      "name": "address_mesh_block_2016",
      "title": "ADDRESS_MESH_BLOCK_2016",
      "description": "The ABS 2016 mesh block each address falls in, with how the match was made.",
      "fields": [
        {
          "name": "address_mesh_block_2016_pid",
          "type": "string",
          "title": "ADDRESS_MESH_BLOCK_2016_PID",
          "description": "The persistent identifier of the match."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "address_detail_pid",
          "type": "string",
          "title": "ADDRESS_DETAIL_PID",
          "description": "The persistent identifier of the address."
        },
        {
          "name": "mb_match_code",
          "type": "string",
          "title": "MB_MATCH_CODE",
          "description": "How the address was matched to the mesh block, from mb_match_code_aut."
        },
        {
          "name": "mb_2016_pid",
          "type": "string",
          "title": "MB_2016_PID",
          "description": "The mesh block, from mb_2016."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 16970406,
      "primaryKey": [
        "address_mesh_block_2016_pid"
      ],
      "foreignKeys": [
        {
          "fields": [
            "address_detail_pid"
          ],
          "reference": {
            "resource": "address_detail",
            "fields": [
              "address_detail_pid"
            ]
          }
        },
        {
          "fields": [
            "mb_match_code"
          ],
          "reference": {
            "resource": "mb_match_code_aut",
            "fields": [
              "code"
            ]
          }
        },
        {
          "fields": [
            "mb_2016_pid"
          ],
          "reference": {
            "resource": "mb_2016",
            "fields": [
              "mb_2016_pid"
            ]
          }
        }
      ]
    },
    {
      "name": "mb_2016",
      "title": "MB_2016",
      "description": "The ABS 2016 mesh block codes referred to by address_mesh_block_2016.",
      "fields": [
        {
          "name": "mb_2016_pid",
          "type": "string",
          "title": "MB_2016_PID",
          "description": "The mesh block, from mb_2016."
        },
        {
          "name": "date_created",
          "type": "date",
          "title": "DATE_CREATED",
          "description": "The date the row was created in G-NAF."
        },
        {
          "name": "date_retired",
          "type": "date",
          "title": "DATE_RETIRED",
          "description": "The date the row was retired. Blank for a current row."
        },
        {
          "name": "mb_2016_code",
          "type": "string",
          "title": "MB_2016_CODE",
          "description": "The ABS 2016 mesh block code."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 358122,
      "primaryKey": [
        "mb_2016_pid"
      ]
    },
    {
      "name": "address_alias_type_aut",
      "title": "ADDRESS_ALIAS_TYPE_AUT",
      "description": "Lookup: the kinds of address alias.",
      "fields": [
        {
          "name": "code",
          "type": "string",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 8,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "address_change_type_aut",
      "title": "ADDRESS_CHANGE_TYPE_AUT",
      "description": "Lookup: the kinds of change recorded in address_feature.",
      "fields": [
        {
          "name": "code",
          "type": "string",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 511,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "address_type_aut",
      "title": "ADDRESS_TYPE_AUT",
      "description": "Lookup: the kinds of address site.",
      "fields": [
        {
          "name": "code",
          "type": "string",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 3,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "flat_type_aut",
      "title": "FLAT_TYPE_AUT",
      "description": "Lookup: the kinds of flat, unit, apartment, shop and so on.",
      "fields": [
        {
          "name": "code",
          "type": "string",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 54,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "geocoded_level_type_aut",
      "title": "GEOCODED_LEVEL_TYPE_AUT",
      "description": "Lookup: the level an address is geocoded to, from locality down to the property.",
      "fields": [
        {
          "name": "code",
          "type": "integer",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 8,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "geocode_reliability_aut",
      "title": "GEOCODE_RELIABILITY_AUT",
      "description": "Lookup: how reliable a geocode is, as a code and a description.",
      "fields": [
        {
          "name": "code",
          "type": "integer",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 6,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "geocode_type_aut",
      "title": "GEOCODE_TYPE_AUT",
      "description": "Lookup: what feature a geocode point sits on, such as the building centroid, the frontage or the property centroid.",
      "fields": [
        {
          "name": "code",
          "type": "string",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 30,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "level_type_aut",
      "title": "LEVEL_TYPE_AUT",
      "description": "Lookup: the kinds of level within a building.",
      "fields": [
        {
          "name": "code",
          "type": "string",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 16,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "locality_alias_type_aut",
      "title": "LOCALITY_ALIAS_TYPE_AUT",
      "description": "Lookup: the kinds of locality alias.",
      "fields": [
        {
          "name": "code",
          "type": "string",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 2,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "locality_class_aut",
      "title": "LOCALITY_CLASS_AUT",
      "description": "Lookup: the classes of locality.",
      "fields": [
        {
          "name": "code",
          "type": "string",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 9,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "mb_match_code_aut",
      "title": "MB_MATCH_CODE_AUT",
      "description": "Lookup: how an address was matched to its mesh block.",
      "fields": [
        {
          "name": "code",
          "type": "string",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 5,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "ps_join_type_aut",
      "title": "PS_JOIN_TYPE_AUT",
      "description": "Lookup: the kinds of link between a primary and a secondary address.",
      "fields": [
        {
          "name": "code",
          "type": "integer",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 2,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "street_class_aut",
      "title": "STREET_CLASS_AUT",
      "description": "Lookup: the classes of street.",
      "fields": [
        {
          "name": "code",
          "type": "string",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 2,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "street_locality_alias_type_aut",
      "title": "STREET_LOCALITY_ALIAS_TYPE_AUT",
      "description": "Lookup: the kinds of street alias.",
      "fields": [
        {
          "name": "code",
          "type": "string",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 2,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "street_suffix_aut",
      "title": "STREET_SUFFIX_AUT",
      "description": "Lookup: the street suffixes, such as North or Extension.",
      "fields": [
        {
          "name": "code",
          "type": "string",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 19,
      "primaryKey": [
        "code"
      ]
    },
    {
      "name": "street_type_aut",
      "title": "STREET_TYPE_AUT",
      "description": "Lookup: the street types, such as Road, Street and Avenue.",
      "fields": [
        {
          "name": "code",
          "type": "string",
          "title": "CODE",
          "description": "The code."
        },
        {
          "name": "name",
          "type": "string",
          "title": "NAME",
          "description": "The alias name, or the lookup value's name."
        },
        {
          "name": "description",
          "type": "string",
          "title": "DESCRIPTION",
          "description": "What the code means."
        }
      ],
      "missingValues": [
        ""
      ],
      "rows": 276,
      "primaryKey": [
        "code"
      ]
    }
  ],
  "views": [
    {
      "name": "address_view",
      "description": "One row per address with its street, locality, state, postcode and default geocode joined, from Geoscape's address_view.sql script. Addresses with a confidence below 0 are left out, as the script does.",
      "sql": "SELECT\nAD.ADDRESS_DETAIL_PID as ADDRESS_DETAIL_PID,\nAD.STREET_LOCALITY_PID as STREET_LOCALITY_PID,\nAD.LOCALITY_PID as LOCALITY_PID,\nAD.BUILDING_NAME as BUILDING_NAME,\nAD.LOT_NUMBER_PREFIX as LOT_NUMBER_PREFIX,\nAD.LOT_NUMBER as LOT_NUMBER,\nAD.LOT_NUMBER_SUFFIX as LOT_NUMBER_SUFFIX,\nFTA.NAME as FLAT_TYPE,\nAD.FLAT_NUMBER_PREFIX as FLAT_NUMBER_PREFIX,\nAD.FLAT_NUMBER as FLAT_NUMBER,\nAD.FLAT_NUMBER_SUFFIX as FLAT_NUMBER_SUFFIX,\nLTA.NAME as LEVEL_TYPE,\nAD.LEVEL_NUMBER_PREFIX as LEVEL_NUMBER_PREFIX,\nAD.LEVEL_NUMBER as LEVEL_NUMBER,\nAD.LEVEL_NUMBER_SUFFIX as LEVEL_NUMBER_SUFFIX,\nAD.NUMBER_FIRST_PREFIX as NUMBER_FIRST_PREFIX,\nAD.NUMBER_FIRST as NUMBER_FIRST,\nAD.NUMBER_FIRST_SUFFIX as NUMBER_FIRST_SUFFIX,\nAD.NUMBER_LAST_PREFIX as NUMBER_LAST_PREFIX,\nAD.NUMBER_LAST as NUMBER_LAST,\nAD.NUMBER_LAST_SUFFIX as NUMBER_LAST_SUFFIX,\nSL.STREET_NAME as STREET_NAME,\nSL.STREET_CLASS_CODE as STREET_CLASS_CODE,\nSCA.NAME as STREET_CLASS_TYPE,\nSL.STREET_TYPE_CODE as STREET_TYPE_CODE,\nSL.STREET_SUFFIX_CODE as STREET_SUFFIX_CODE,\nSSA.NAME as STREET_SUFFIX_TYPE,\nL.LOCALITY_NAME as LOCALITY_NAME,\nST.STATE_ABBREVIATION as STATE_ABBREVIATION,\nAD.POSTCODE as POSTCODE,\nADG.LATITUDE as LATITUDE,\nADG.LONGITUDE as LONGITUDE,\nGTA.NAME as GEOCODE_TYPE,\nAD.CONFIDENCE as CONFIDENCE,\nAD.ALIAS_PRINCIPAL as ALIAS_PRINCIPAL,\nAD.PRIMARY_SECONDARY as PRIMARY_SECONDARY,\nAD.LEGAL_PARCEL_ID as LEGAL_PARCEL_ID,\nAD.DATE_CREATED as DATE_CREATED\nFROM\nADDRESS_DETAIL AD\nLEFT JOIN FLAT_TYPE_AUT FTA ON AD.FLAT_TYPE_CODE=FTA.CODE\nLEFT JOIN LEVEL_TYPE_AUT LTA ON AD.LEVEL_TYPE_CODE=LTA.CODE\nJOIN STREET_LOCALITY SL ON AD.STREET_LOCALITY_PID=SL.STREET_LOCALITY_PID\nLEFT JOIN STREET_SUFFIX_AUT SSA ON SL.STREET_SUFFIX_CODE=SSA.CODE\nLEFT JOIN STREET_CLASS_AUT SCA ON SL.STREET_CLASS_CODE=SCA.CODE\nLEFT JOIN STREET_TYPE_AUT STA ON SL.STREET_TYPE_CODE=STA.CODE\nJOIN LOCALITY L ON AD.LOCALITY_PID = L.LOCALITY_PID\nJOIN ADDRESS_DEFAULT_GEOCODE ADG ON AD.ADDRESS_DETAIL_PID=ADG.ADDRESS_DETAIL_PID\nLEFT JOIN GEOCODE_TYPE_AUT GTA ON ADG.GEOCODE_TYPE_CODE=GTA.CODE\nLEFT JOIN GEOCODED_LEVEL_TYPE_AUT GLTA ON AD.LEVEL_GEOCODED_CODE=GLTA.CODE\nJOIN STATE ST ON L.STATE_PID=ST.STATE_PID\nWHERE\nAD.CONFIDENCE > -1"
    }
  ]
}
