Table of Contents

spatialResourceType

Description

Base class for spatial resources that have a geometry

The spatialResourceType schema inherits from resourceType.

Properties

Name Description Required Type
TotalArea If the feature is a polygon, the total area (default is in square metres - MTK) No areaMeasureType
TotalLength If the feature is linear, the total length. If a polygon, the perimeter (default is in metres - MTR) No lengthMeasureType
ParentFeature Identifies the parent of this spatial resource by name, identifier and uri. No featureReferenceType
Id Unique identifier (UUID) used within the current server to identify the resource. Yes string
Identifiers Identifiers for the resource (see well-known/schemes... for example identity schemes). No Array of  identifierType
Links Linked resources that are related to the current resource. No Array of  relationType
Meta Meta-data for the resource. Mandatory if you wish to support synchronisation. Yes metaDataType
Name A user-readable name for the resource. No string
Self Uniform resource identifier (URI) of the resource (rel=self). No string

Examples

Example 1

{
  "resourceType": "PlotZoneResource",
  "id": "87866d1c-e291-434f-8cca-20a17c6e35a7",
  "identifiers": [
    {
      "scheme": "nz.landco.paddockzone",
      "id": "77345.101.A"
    }
  ],
  "name": "Fodder Beet",
  "meta": {
    "sourceId": {
      "id": "123456789",
      "scheme": "someFarmMapSystem"
    },
    "modified": "2022-11-29T12:30:00Z"
  },
  "totalArea": {
    "measurement": 23000,
    "units": "MTK"
  },
  "totalLength": {
    "measurement": 630,
    "units": "MTR"
  },
  "parentFeature": {
    "name": "Long Close",
    "identifier": {
      "id": "77345.101",
      "scheme": "nz.landco.paddock"
    }
  }
}