{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsapp/json-schema/whatsapp-whats-app-business-solution-create-request-schema.json",
  "title": "WhatsAppBusinessSolutionCreateRequest",
  "description": "Request payload for creating a Multi-Partner Solution",
  "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/WhatsAppBusinessSolutionCreateRequest",
  "type": "object",
  "required": [
    "owner_permissions",
    "partner_app_id",
    "partner_permissions",
    "solution_name"
  ],
  "properties": {
    "owner_permissions": {
      "type": "array",
      "description": "Configurable permissions granted to the solution owner app. Currently supports\nonly MESSAGING permission. Use empty array if owner should not have configurable permissions.\n",
      "items": {
        "$ref": "#/$defs/WhatsAppBusinessAccountConfigurablePermissionTask"
      },
      "maxItems": 1
    },
    "partner_app_id": {
      "type": "string",
      "description": "Facebook Application ID of the partner app that will participate in this solution.\nMust be a valid application ID accessible to the requesting entity.\n",
      "pattern": "^[0-9]+$"
    },
    "partner_permissions": {
      "type": "array",
      "description": "Configurable permissions granted to the partner app. Currently supports\nonly MESSAGING permission. Use empty array if partner should not have configurable permissions.\n",
      "items": {
        "$ref": "#/$defs/WhatsAppBusinessAccountConfigurablePermissionTask"
      },
      "maxItems": 1
    },
    "solution_name": {
      "type": "string",
      "description": "Human-readable name for the Multi-Partner Solution. Used for identification\nand management purposes in partner dashboards and solution management interfaces.\n",
      "minLength": 2,
      "maxLength": 75
    }
  },
  "$defs": {
    "WhatsAppBusinessAccountConfigurablePermissionTask": {
      "type": "string",
      "description": "Configurable permission tasks for WhatsApp Business Account access in Multi-Partner Solutions.\nCurrently only MESSAGING permission is configurable through this API.\n",
      "enum": [
        "MESSAGING"
      ]
    }
  }
}