{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-conversation-schema.json",
  "title": "Conversation",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sinch-conversations-api-openapi.yml#/components/schemas/Conversation",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique conversation identifier"
    },
    "app_id": {
      "type": "string",
      "description": "The app ID"
    },
    "contact_id": {
      "type": "string",
      "description": "The contact ID"
    },
    "active": {
      "type": "boolean",
      "description": "Whether the conversation is active"
    },
    "active_channel": {
      "type": "string",
      "description": "The currently active channel"
    },
    "metadata": {
      "type": "string",
      "description": "Conversation metadata"
    },
    "metadata_json": {
      "type": "object",
      "description": "Structured conversation metadata"
    }
  }
}