HLR Lookup · Schema

ValidateResponse

CompanyTelecommunicationsPhone ValidationData Services

Properties

Name Type Description
results array
View JSON Schema on GitHub

JSON Schema

hlr-lookup-validate-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hlr-lookup/json-schema/hlr-lookup-validate-response-schema.json",
  "title": "ValidateResponse",
  "x-generated": "2026-11-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hlr-lookup-openapi.yml#/components/schemas/ValidateResponse",
  "type": "object",
  "required": [
    "results"
  ],
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "#/$defs/ValidateResultItemSuccess"
          },
          {
            "$ref": "#/$defs/ResultItemError"
          }
        ]
      }
    }
  },
  "$defs": {
    "NetworkAvailability": {
      "type": "string",
      "enum": [
        "AVAILABLE",
        "NOT_AVAILABLE",
        "NOT_APPLICABLE"
      ]
    },
    "OriginalNetworkDetails": {
      "title": "OriginalNetworkDetails",
      "type": "object",
      "description": "Network that originally issued the range containing this number.",
      "properties": {
        "name": {
          "type": "string"
        },
        "mccmnc": {
          "type": "string"
        },
        "country_name": {
          "type": "string"
        },
        "country_iso3": {
          "type": "string"
        },
        "area": {
          "type": "string",
          "description": "Geographic area (may be empty for mobile ranges)."
        },
        "country_prefix": {
          "type": "string"
        }
      }
    },
    "ResultItemError": {
      "title": "ResultItemError",
      "type": "object",
      "required": [
        "error"
      ],
      "properties": {
        "error": {
          "type": "string",
          "enum": [
            "INSUFFICIENT_CREDIT",
            "INTERNAL_ERROR",
            "TOO_MANY_REQUESTS",
            "NULL_RESULT"
          ]
        }
      }
    },
    "TelephoneNumberType": {
      "type": "string",
      "enum": [
        "MOBILE",
        "LANDLINE",
        "VOIP",
        "PAGER",
        "PREMIUM",
        "TOLL_FREE",
        "SHARED_COST",
        "PERSONAL_NUMBER",
        "UNIVERSAL_ACCESS_NUMBER",
        "VOICEMAIL_ONLY",
        "STAGE_AND_SCREEN",
        "MACHINE_TO_MACHINE",
        "MSRN",
        "MOBILE_OR_LANDLINE",
        "UNKNOWN",
        "BAD_FORMAT"
      ]
    },
    "ValidateResultItemSuccess": {
      "title": "ValidateResultItemSuccess",
      "type": "object",
      "description": "Format-only result. Omits live_status, current_network*, is_ported, caching fields, ported_date, landline_status and email gateways.",
      "required": [
        "error",
        "uuid",
        "request_parameters",
        "credits_spent",
        "detected_telephone_number",
        "formatted_telephone_number",
        "telephone_number_type",
        "original_network",
        "original_network_details",
        "timestamp"
      ],
      "properties": {
        "error": {
          "type": "string",
          "const": "NONE"
        },
        "uuid": {
          "type": "string",
          "format": "uuid"
        },
        "request_parameters": {
          "type": "object",
          "properties": {
            "telephone_number": {
              "type": "string"
            },
            "input_format": {
              "type": "string"
            },
            "output_format": {
              "type": "string"
            }
          }
        },
        "credits_spent": {
          "type": "number"
        },
        "detected_telephone_number": {
          "type": "string"
        },
        "formatted_telephone_number": {
          "type": "string"
        },
        "telephone_number_type": {
          "$ref": "#/$defs/TelephoneNumberType"
        },
        "original_network": {
          "$ref": "#/$defs/NetworkAvailability"
        },
        "original_network_details": {
          "$ref": "#/$defs/OriginalNetworkDetails"
        },
        "timestamp": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/hlr-lookup-validate-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.