AgStack Foundation · Schema
AddRawMaterialOperation
AgricultureLinux FoundationOpen SourceGeospatialPrecision AgricultureLinked Data
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| activityType | string | |
| title | string | |
| details | string | |
| hasStartDatetime | string | |
| hasEndDatetime | string | |
| operatedOn | string | |
| responsibleAgent | string | |
| usesAgriculturalMachinery | array | |
| hasCompostMaterial | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://agstack.org/schemas/AddRawMaterialOperation.json",
"title": "AddRawMaterialOperation",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"readOnly": true
},
"activityType": {
"type": "string",
"format": "uuid"
},
"title": {
"type": "string",
"maxLength": 200
},
"details": {
"type": "string",
"nullable": true
},
"hasStartDatetime": {
"type": "string",
"format": "date-time"
},
"hasEndDatetime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"operatedOn": {
"type": "string",
"format": "uuid"
},
"responsibleAgent": {
"type": "string",
"nullable": true
},
"usesAgriculturalMachinery": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"hasCompostMaterial": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AddRawMaterialCompostQuantity"
}
}
},
"required": [
"activityType",
"hasCompostMaterial",
"hasStartDatetime",
"id",
"operatedOn",
"usesAgriculturalMachinery"
]
}