{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/leadfuze/json-schema/leadfuze-phone-validation-schema.json",
  "title": "PhoneValidation",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/leadfuze-openapi.json#/components/schemas/PhoneValidation",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "cached": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "properties": {
        "phone_number": {
          "type": "string"
        },
        "formatted": {
          "type": "object",
          "properties": {
            "e164": {
              "type": "string"
            },
            "international": {
              "type": "string"
            },
            "national": {
              "type": "string"
            }
          }
        },
        "result": {
          "type": "object",
          "properties": {
            "is_valid": {
              "type": "boolean"
            },
            "is_possible": {
              "type": "boolean"
            },
            "number_type": {
              "type": "string",
              "enum": [
                "Fixed Line",
                "Mobile",
                "Fixed Line or Mobile",
                "Toll Free",
                "Premium Rate",
                "Shared Cost",
                "VoIP",
                "Personal Number",
                "Pager",
                "UAN",
                "Voicemail",
                "Unknown"
              ]
            },
            "region": {
              "type": "string"
            },
            "is_valid_for_region": {
              "type": "boolean"
            },
            "country_code": {
              "type": "integer"
            },
            "national_number": {
              "type": "string"
            }
          }
        },
        "status": {
          "type": "string",
          "enum": [
            "valid",
            "risky",
            "invalid"
          ]
        },
        "risk_level": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "carrier": {
          "type": [
            "string",
            "null"
          ]
        },
        "timezones": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}