{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/waspytech-com/json-schema/waspytech-com-get-messages-id-response-schema.json",
  "title": "GetMessagesIdResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/waspytech-com-openapi-generated.yml#/components/schemas/GetMessagesIdResponse",
  "type": "object",
  "properties": {
    "data.id": {
      "type": "string",
      "description": "UUID interno del mensaje"
    },
    "data.conversationId": {
      "type": "string",
      "description": "UUID de la conversación"
    },
    "data.direction": {
      "type": "string",
      "description": "`outbound`"
    },
    "data.type": {
      "type": "string",
      "description": "Tipo del mensaje"
    },
    "data.content": {
      "type": "object",
      "description": "Contenido del mensaje (ej. `{ \"text\": \"Hola!\" }`)"
    },
    "data.status": {
      "type": "string",
      "description": "Estado del mensaje (ej. `delivered`)"
    },
    "data.waMessageId": {
      "type": "string",
      "description": "ID de WhatsApp asignado por Meta"
    },
    "data.errorCode": {
      "type": "string",
      "description": "Código de error si lo hubo"
    },
    "data.errorMessage": {
      "type": "string",
      "description": "Mensaje de error si lo hubo"
    },
    "data.createdAt": {
      "type": "string",
      "description": "Timestamp ISO8601"
    },
    "meta.requestId": {
      "type": "string",
      "description": "ID de la request"
    }
  }
}