{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsapp/json-schema/whatsapp-solution-reject-request-schema.json",
  "title": "SolutionRejectRequest",
  "description": "Request payload for rejecting a Multi-Partner Solution request",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whatsapp-multi-partner-solutions-api-openapi.yml#/components/schemas/SolutionRejectRequest",
  "type": "object",
  "required": [
    "request_type"
  ],
  "properties": {
    "request_type": {
      "type": "string",
      "description": "Type of request being rejected",
      "enum": [
        "PARTNERSHIP_REQUEST",
        "DEACTIVATION_REQUEST"
      ]
    },
    "rejection_reason": {
      "type": "string",
      "description": "Optional reason for rejecting the request",
      "maxLength": 500
    },
    "partner_app_id": {
      "type": "string",
      "description": "The app ID of the requesting partner. Required when request_type is PARTNERSHIP_REQUEST, not used for DEACTIVATION_REQUEST",
      "pattern": "^[0-9]+$"
    }
  }
}