plotResource
Description
A resource type for a plot
The plotResource schema inherits from croppedResourceType.
Properties
Name | Description | Required | Type |
---|---|---|---|
SpatialFeature | The geojson feature, with its geometry | No | geoJsonFeature |
Centroid | The centroid of the spatial resource. If the spatial feature is not convex, the centroid may lie outside the bounds of the spatial feature | No | geoJsonPoint |
Crops | One or more crops grown in the plot. May also be used to define the species in a multi-species pasture. | No | Array of cropType |
HistoricCrops | Used where a record of historic crops must be kept for compliance purposes. | No | Array of cropType |
Classifications | A set of hierarchical classifications for the Site. | No | Array of classificationType |
Activities | A set of land use activities for this Site. | No | Array of landUseActivityType |
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": "/core/plot",
"id": "e616caee-869d-40aa-82e9-38f9ed8a56bb",
"identifiers": [
{
"scheme": "nz.milkco.plot",
"id": "77345.pdk54"
}
],
"name": "Far flats",
"meta": {
"sourceId": {
"id": "123456789",
"scheme": "someFarmMapSystem"
},
"modified": "2022-11-29T12:30:00Z"
},
"totalArea": {
"measurement": 23000,
"units": "MTK"
},
"spatialFeature": {
"geometry": {
"coordinates": [
[
[
175.3059575024784,
-37.779497288615744
],
[
175.3059575024784,
-37.77961300783813
],
[
175.31101680818904,
-37.77961300783813
],
[
175.31101680818904,
-37.779497288615744
],
[
175.3059575024784,
-37.779497288615744
]
]
]
}
},
"activities": [
{
"id": {
"id": "98765",
"scheme": "nz.rural.activities"
},
"isPrimary": true,
"name": "Maize",
"productiveArea": {
"measurement": 14100,
"units": "MTK"
}
},
{
"id": {
"id": "75492",
"scheme": "nz.rural.activities"
},
"isPrimary": false,
"name": "Grazing",
"productiveArea": {
"measurement": 8300,
"units": "MTK"
}
}
],
"classifications": [
{
"scheme": "nz.rural.classification",
"primary": "rural",
"secondary": "cropping"
},
{
"scheme": "nz.rural.classification",
"primary": "rural",
"secondary": "grazing"
}
],
"crops": [
{
"name": "Maize",
"taxonomicName": "Zea mays",
"variety": "Jason J4956",
"identifiers": [
{
"id": "J4956",
"scheme": "nz.jason.maize"
}
],
"establishmentDate": "2022-08-03T00:00:00Z",
"maturityDate": "2023-03-03T00:00:00Z",
"harvestDate": "2023-03-14T00:00:00Z"
}
],
"historicCrops": [
{
"name": "Maize",
"taxonomicName": "Zea mays",
"variety": "Jason J9766",
"identifiers": [
{
"id": "J9766",
"scheme": "nz.jason.maize"
}
],
"establishmentDate": "2021-08-08T00:00:00Z",
"maturityDate": "2022-02-22T00:00:00Z",
"harvestDate": "2022-02-28T00:00:00Z"
},
{
"name": "Maize",
"taxonomicName": "Zea mays",
"variety": "Jason J3140",
"identifiers": [
{
"id": "J3140",
"scheme": "nz.jason.maize"
}
],
"establishmentDate": "2020-08-08T00:00:00Z",
"maturityDate": "2021-03-01T00:00:00Z",
"harvestDate": "2021-03-06T00:00:00Z"
}
]
}