{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/giljo-ai/json-schema/giljo-ai-post-to-thread-request-schema.json",
  "title": "PostToThreadRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/giljo-ai-comm-threads-api-openapi.yml#/components/schemas/PostToThreadRequest",
  "properties": {
    "content": {
      "type": "string",
      "maxLength": 20000,
      "minLength": 1,
      "title": "Content"
    },
    "to_participant": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 36,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "To Participant"
    },
    "set_status": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "open",
            "active",
            "resolved",
            "closed"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Set Status"
    },
    "requires_action": {
      "type": "boolean",
      "title": "Requires Action",
      "default": false
    },
    "priority": {
      "type": "string",
      "enum": [
        "low",
        "normal",
        "high",
        "critical"
      ],
      "title": "Priority",
      "default": "normal"
    },
    "pass_baton_to": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 36,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Pass Baton To"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "content"
  ]
}