{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chatinbox-net/json-schema/chatinbox-net-aichat-analysis-model-schema.json",
  "title": "AIChatAnalysisModel",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chatinbox-net-ai-api-openapi.yml#/components/schemas/AIChatAnalysisModel",
  "type": "object",
  "properties": {
    "chatID": {
      "type": "integer",
      "format": "int32"
    },
    "instanceID": {
      "type": "integer",
      "format": "int32"
    },
    "userID": {
      "type": "integer",
      "format": "int32"
    },
    "requestID": {
      "type": [
        "string",
        "null"
      ]
    },
    "chatServerURL": {
      "type": [
        "string",
        "null"
      ]
    },
    "messageList": {
      "uniqueItems": true,
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "messageListObject": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/AIChatAnalysisModelMessage"
      }
    },
    "labelSearchText": {
      "type": [
        "string",
        "null"
      ]
    },
    "labelIDList": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "integer",
        "format": "int32"
      }
    },
    "lang": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false,
  "$defs": {
    "AIChatAnalysisModelMessage": {
      "type": "object",
      "properties": {
        "source": {
          "type": [
            "string",
            "null"
          ]
        },
        "message": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    }
  }
}