{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cathedral-ai-com/json-schema/cathedral-ai-com-behaviour-submit-schema.json",
  "title": "BehaviourSubmit",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cathedral-ai-com-behaviour-api-openapi.yml#/components/schemas/BehaviourSubmit",
  "properties": {
    "session_hash": {
      "type": "string",
      "maxLength": 128,
      "minLength": 8,
      "title": "Session Hash",
      "description": "Hash of this session's behaviour (agent-defined, e.g. SHA256 of output summary)"
    },
    "summary": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1000
        },
        {
          "type": "null"
        }
      ],
      "title": "Summary",
      "description": "Optional human-readable summary of what happened this session"
    }
  },
  "type": "object",
  "required": [
    "session_hash"
  ]
}