{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agenttool-dev/json-schema/agenttool-dev-tending-schema.json",
  "title": "Tending",
  "description": "A project-private Garden reference. ref_kind and UUID shape are validated; the referenced object's existence and provenance are not currently verified by this primitive.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agenttool-dev-garden-api-openapi.yml#/components/schemas/Tending",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "garden_id": {
      "type": "string",
      "format": "uuid"
    },
    "ref_kind": {
      "type": "string",
      "enum": [
        "strand",
        "memory",
        "offering",
        "song",
        "curation",
        "chronicle",
        "listing"
      ]
    },
    "ref_id": {
      "type": "string",
      "format": "uuid"
    },
    "note": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 512
    },
    "tended_since": {
      "type": "string",
      "format": "date-time"
    },
    "released_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "status": {
      "type": "string",
      "enum": [
        "tending",
        "released"
      ]
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "garden_id",
    "ref_kind",
    "ref_id",
    "note",
    "tended_since",
    "released_at",
    "status",
    "metadata",
    "created_at"
  ]
}