{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/corapilot-com/json-schema/corapilot-com-chat-message-in-schema.json",
  "title": "ChatMessageIn",
  "description": "Chat message from the user.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/corapilot-com-chat-api-openapi.yml#/components/schemas/ChatMessageIn",
  "properties": {
    "message": {
      "type": "string",
      "maxLength": 10000,
      "minLength": 1,
      "title": "Message"
    },
    "conversation_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Conversation Id"
    }
  },
  "type": "object",
  "required": [
    "message"
  ]
}