{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-list-dialing-permissions-country-response-schema.json",
  "title": "ListDialingPermissionsCountryResponse",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twilio-dialingpermissions-api-openapi.yml#/components/schemas/ListDialingPermissionsCountryResponse",
  "type": "object",
  "properties": {
    "content": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/voice.v1.dialing_permissions.dialing_permissions_country"
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "first_page_url": {
          "type": "string",
          "format": "uri"
        },
        "next_page_url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "page": {
          "type": "integer"
        },
        "page_size": {
          "type": "integer"
        },
        "previous_page_url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "key": {
          "type": "string"
        }
      }
    }
  },
  "$defs": {
    "voice.v1.dialing_permissions.dialing_permissions_country": {
      "type": "object",
      "properties": {
        "iso_code": {
          "type": [
            "string",
            "null"
          ],
          "format": "iso-country-code",
          "description": "The [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)."
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the country."
        },
        "continent": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the continent in which the country is located."
        },
        "country_codes": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          },
          "description": "The E.164 assigned [country codes(s)](https://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html)"
        },
        "low_risk_numbers_enabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Whether dialing to low-risk numbers is enabled."
        },
        "high_risk_special_numbers_enabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Whether dialing to high-risk special services numbers is enabled. These prefixes include number ranges allocated by the country and include premium numbers, special services, shared cost, and others"
        },
        "high_risk_tollfraud_numbers_enabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Whether dialing to high-risk [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html) numbers is enabled. These prefixes include narrow number ranges that have a high-risk of international revenue sharing fraud (IRSF) attacks, also known as [toll fraud](https://www.twilio.com/blog/how-to-protect-your-account-from-toll-fraud-with-voice-dialing-geo-permissions-html). These prefixes are collected from anti-fraud databases and verified by analyzing calls on our network. These prefixes are not available for download and are updated frequently"
        },
        "url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri",
          "description": "The absolute URL of this resource."
        },
        "links": {
          "type": [
            "object",
            "null"
          ],
          "format": "uri-map",
          "description": "A list of URLs related to this resource."
        }
      }
    }
  }
}