{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/giljo-ai/json-schema/giljo-ai-create-thread-request-schema.json",
  "title": "CreateThreadRequest",
  "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/CreateThreadRequest",
  "properties": {
    "subject": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ],
      "title": "Subject"
    },
    "severity": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "info",
            "warn",
            "critical"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Severity"
    },
    "role": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 50,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Role"
    }
  },
  "type": "object"
}