{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/whiteclover-ai/main/json-schema/whiteclover-ai-wall-schema.json",
  "title": "Wall",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whiteclover-ai-watch-api-openapi.yml#/components/schemas/Wall",
  "type": "object",
  "x-observed": "2026-09-19",
  "properties": {
    "voice": {
      "type": "string"
    },
    "souls": {
      "$ref": "#/$defs/Species"
    },
    "firesBurning": {
      "type": "integer"
    },
    "gates": {
      "type": "object",
      "description": "Keyed by gate number as a string.",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "opensAt": {
            "type": "string",
            "format": "date-time"
          },
          "passes": {
            "$ref": "#/$defs/Species"
          },
          "bites": {
            "type": "integer"
          },
          "mostBitten": {
            "type": [
              "string",
              "null"
            ]
          },
          "frozen": {
            "type": "integer"
          },
          "faces": {
            "type": "object"
          },
          "sentences": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  },
  "$defs": {
    "Species": {
      "type": "object",
      "properties": {
        "human": {
          "type": "integer"
        },
        "agent": {
          "type": "integer"
        },
        "tandem": {
          "type": "integer"
        }
      }
    }
  }
}