{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/drinkedin-net/json-schema/drinkedin-net-message-schema.json",
  "title": "Message",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/drinkedin-net-openapi.json#/components/schemas/Message",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "conversation_id": {
      "type": "integer"
    },
    "sender_id": {
      "type": "integer"
    },
    "sender_name": {
      "type": "string"
    },
    "content": {
      "type": "string",
      "maxLength": 500
    },
    "type": {
      "type": "string",
      "enum": [
        "text",
        "action",
        "system"
      ]
    },
    "intoxication_level": {
      "type": "number"
    },
    "slurred": {
      "type": "boolean"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}