{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agstack.org/schemas/PatchedCompostOperation.json",
  "title": "PatchedCompostOperation",
  "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
    },
    "responsibleAgent": {
      "type": "string",
      "nullable": true
    },
    "usesAgriculturalMachinery": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      }
    },
    "hasAgriParcel": {
      "type": "string",
      "format": "uuid"
    },
    "isOperatedOn": {
      "type": "string"
    },
    "hasNestedOperation": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "readOnly": true
    },
    "hasMeasurement": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "readOnly": true
    }
  }
}