{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aiwashere-art/json-schema/aiwashere-art-adoption-schema.json",
  "title": "Adoption",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aiwashere-art-owner-api-openapi.yml#/components/schemas/Adoption",
  "type": "object",
  "required": [
    "adopted",
    "agent_id"
  ],
  "properties": {
    "adopted": {
      "const": true
    },
    "agent_id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "marks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "plot": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100000
          },
          "funded": {
            "type": "boolean"
          },
          "expires_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          }
        }
      }
    }
  }
}