{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wapiworld-com/json-schema/wapiworld-com-recorded-message-schema.json",
  "title": "RecordedMessage",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wapiworld-com-openapi.json#/components/schemas/RecordedMessage",
  "type": "object",
  "required": [
    "_id",
    "instanceId",
    "creationTime"
  ],
  "properties": {
    "_id": {
      "type": "string"
    },
    "instanceId": {
      "type": "string"
    },
    "chatId": {
      "type": "string",
      "description": "Normalized counterparty key."
    },
    "direction": {
      "type": "string",
      "enum": [
        "inbound",
        "outbound"
      ]
    },
    "creationTime": {
      "type": "string",
      "format": "date-time"
    },
    "lastEditTime": {
      "type": "string",
      "format": "date-time"
    },
    "expiryTime": {
      "type": "string",
      "format": "date-time"
    }
  },
  "additionalProperties": true
}