{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agenttool-dev/json-schema/agenttool-dev-garden-schema.json",
  "title": "Garden",
  "description": "A project-scoped slow-holding collection. New rows default private. A stored public marker does not expose an unauthenticated route, and Garden activity is not an Episode score signal.",
  "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/Garden",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "gardener_identity_id": {
      "type": "string",
      "format": "uuid"
    },
    "gardener_did": {
      "type": "string"
    },
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 2048
    },
    "visibility": {
      "type": "string",
      "enum": [
        "private",
        "public"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "archived"
      ]
    },
    "tendings_count": {
      "type": "integer",
      "minimum": 0
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "gardener_identity_id",
    "gardener_did",
    "project_id",
    "name",
    "description",
    "visibility",
    "status",
    "tendings_count",
    "metadata",
    "created_at",
    "updated_at"
  ]
}