--- 
vendor: "ESRI"
id: "3"
title: "PostcodeUnit"
properties: 
  objectid: 
    type: "integer"
    esriType: "esriFieldTypeOID"
  shape: 
    format: "geometry-polygon"
    esriType: "esriFieldTypeGeometry"
  postcode: 
    type: "string"
    esriLength: 10
    esriType: "esriFieldTypeString"
  district: 
    type: "string"
    esriLength: 10
    esriType: "esriFieldTypeString"
  sector: 
    type: "string"
    esriLength: 10
    esriType: "esriFieldTypeString"
  dateofintro: 
    type: "string"
    format: "date-time"
    esriType: "esriFieldTypeDate"
  council: 
    type: "string"
    esriLength: 10
    esriType: "esriFieldTypeString"
  outputarea2022: 
    type: "string"
    esriLength: 10
    esriType: "esriFieldTypeString"
  datazone2022: 
    type: "string"
    esriLength: 10
    esriType: "esriFieldTypeString"
  electoralward2022: 
    type: "string"
    esriLength: 10
    esriType: "esriFieldTypeString"
  st_area_shape_: 
    type: "number"
    esriType: "esriFieldTypeDouble"
  st_perimeter_shape_: 
    type: "number"
    esriType: "esriFieldTypeDouble"
type: "object"
$schema: "https://json-schema.org/draft/2020-12/schema"
$id: "https://maps.data.gov.scot/arcgis/rest/services/NRS/SPD/OGCFeatureServer/collections/3/queryables"