AgStack Foundation · Schema
PatchedFarmParcel
AgricultureLinux FoundationOpen SourceGeospatialPrecision AgricultureLinked Data
Properties
| Name | Type | Description |
|---|---|---|
| status | object | |
| deleted_at | string | |
| created_at | string | |
| updated_at | string | |
| id | string | |
| identifier | string | |
| description | string | |
| validFrom | string | |
| validTo | string | |
| area | string | |
| hasIrrigationFlow | string | |
| category | string | |
| inRegion | string | |
| hasToponym | string | |
| isNitroArea | boolean | |
| isNatura2000Area | boolean | |
| isPdopgArea | boolean | |
| isIrrigated | boolean | |
| isCultivatedInLevels | boolean | |
| isGroundSlope | boolean | |
| depiction | string | |
| hasGeometry | object | |
| location | object | |
| hasAgriCrop | array | |
| farm | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://agstack.org/schemas/PatchedFarmParcel.json",
"title": "PatchedFarmParcel",
"type": "object",
"properties": {
"status": {
"allOf": [
{
"$ref": "#/components/schemas/StatusEnum"
}
],
"minimum": -2147483648,
"maximum": 2147483647
},
"deleted_at": {
"type": "string",
"format": "date-time",
"nullable": true
},
"created_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"updated_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"id": {
"type": "string",
"format": "uuid",
"readOnly": true
},
"identifier": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"nullable": true
},
"validFrom": {
"type": "string",
"format": "date-time"
},
"validTo": {
"type": "string",
"format": "date-time"
},
"area": {
"type": "string",
"format": "decimal",
"pattern": "^-?\\d{0,13}(?:\\.\\d{0,2})?$"
},
"hasIrrigationFlow": {
"type": "string",
"format": "decimal",
"pattern": "^-?\\d{0,13}(?:\\.\\d{0,2})?$",
"nullable": true
},
"category": {
"type": "string"
},
"inRegion": {
"type": "string",
"nullable": true
},
"hasToponym": {
"type": "string",
"nullable": true
},
"isNitroArea": {
"type": "boolean"
},
"isNatura2000Area": {
"type": "boolean"
},
"isPdopgArea": {
"type": "boolean"
},
"isIrrigated": {
"type": "boolean"
},
"isCultivatedInLevels": {
"type": "boolean"
},
"isGroundSlope": {
"type": "boolean"
},
"depiction": {
"type": "string",
"format": "uri",
"nullable": true,
"maxLength": 500
},
"hasGeometry": {
"$ref": "#/components/schemas/GeometrySerializerField"
},
"location": {
"$ref": "#/components/schemas/LocationSerializerField"
},
"hasAgriCrop": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"readOnly": true
},
"farm": {
"type": "string",
"format": "uuid"
}
}
}