{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agstack/json-schema/agstack-patched-compost-operation-schema.json",
  "title": "PatchedCompostOperation",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agstack-compostoperations-api-openapi.yml#/components/schemas/PatchedCompostOperation",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "activityType": {
      "type": "string",
      "format": "uuid"
    },
    "title": {
      "type": "string",
      "maxLength": 200
    },
    "details": {
      "type": [
        "string",
        "null"
      ]
    },
    "hasStartDatetime": {
      "type": "string",
      "format": "date-time"
    },
    "hasEndDatetime": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "responsibleAgent": {
      "type": [
        "string",
        "null"
      ]
    },
    "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
    }
  }
}