{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsapp/json-schema/whatsapp-encrypted-message-request-schema.json",
  "title": "EncryptedMessageRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whatsapp-encrypted-messages-api-openapi.yml#/components/schemas/EncryptedMessageRequest",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "messaging_product": {
      "type": "string",
      "description": "Messaging service used for the request. Use whatsapp.",
      "enum": [
        "whatsapp"
      ]
    },
    "encrypted_contents": {
      "type": "string",
      "description": "JWE payload with encrypted messages structure. This should be a valid JWE token containing the encrypted message payload."
    }
  },
  "required": [
    "messaging_product",
    "encrypted_contents"
  ]
}