{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsapp/json-schema/whatsapp-calling-settings-request-schema.json",
  "title": "CallingSettingsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whatsapp-settings-api-openapi.yml#/components/schemas/CallingSettingsRequest",
  "type": "object",
  "properties": {
    "calling": {
      "$ref": "#/$defs/CallingSettings"
    }
  },
  "required": [
    "calling"
  ],
  "$defs": {
    "CallingSettings": {
      "type": "object",
      "required": [
        "status"
      ],
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "enabled",
            "disabled"
          ],
          "description": "Enable or disable calling feature"
        },
        "call_icon_visibility": {
          "type": "string",
          "enum": [
            "visible",
            "hidden"
          ],
          "description": "Control visibility of the call icon"
        }
      }
    }
  }
}