{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-create-conversation-request-schema.json",
  "title": "CreateConversationRequest",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sinch-conversations-api-openapi.yml#/components/schemas/CreateConversationRequest",
  "type": "object",
  "required": [
    "app_id",
    "contact_id"
  ],
  "properties": {
    "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",
      "default": true
    },
    "active_channel": {
      "type": "string",
      "description": "The active channel"
    },
    "metadata": {
      "type": "string",
      "description": "Conversation metadata"
    }
  }
}