{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pipeliner/json-schema/pipeliner-create-chat-conversation-input-schema.json",
  "title": "createChatConversationInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pipeliner-chat-api-openapi.yml#/components/schemas/createChatConversationInput",
  "properties": {
    "modified": {
      "type": "string",
      "format": "date-time",
      "description": "Last modification time.",
      "readOnly": true
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "Creation time.",
      "readOnly": true
    },
    "owner_id": {
      "type": "string",
      "format": "uuid",
      "description": "Id of the owning user."
    },
    "type": {
      "type": "integer",
      "description": "Field whose values are strictly defined with an enumeration of values.\n\nInteger enum value: 1 - AiChat, 2 - AiRecordDetail",
      "enum": [
        1,
        2
      ]
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uri"
          }
        },
        "description": "Relation to TextMessage, see: 'createTextMessageInput' object for properties."
      },
      "description": "Messages exchanged in the conversation, in chronological order."
    }
  },
  "required": [
    "owner_id"
  ]
}