pfHoldingResource
Description
A resource type for a holding
The pfHoldingResource schema inherits from holdingResource.
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 |
FeatureCatalog | URL to a Feature Catalog that filtered to features that relate to the holding. | No | uri-reference |
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
{
"id": "8bfa7aa2-47df-4596-bc83-16071659b098",
"identifiers": [
{
"scheme": "CPH",
"id": "12/345/6789"
}
],
"meta": {
"sourceId": {
"id": "123456789",
"scheme": "someFarmMapSystem"
},
"modified": "2021-09-15T12:34:56Z"
}
}
Example 2
{
"totalArea": {
"measurement": 23000,
"units": "MTK"
},
"spatialFeature": {
"geometry": {
"coordinates": [
[
[
100.0,
0.0
],
[
101.0,
0.0
],
[
101.0,
1.0
],
[
100.0,
1.0
],
[
100.0,
0.0
]
]
]
}
},
"id": "8bfa7aa2-47df-4596-bc83-16071659b098",
"identifiers": [
{
"scheme": "CPH",
"id": "12/345/6789"
}
],
"meta": {
"sourceId": {
"id": "123456789",
"scheme": "someFarmMapSystem"
},
"modified": "2021-09-15T12:34:56Z"
}
}