{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://neutrino-api.apievangelist.com/json-schema/neutrino-api-phone-validate-response.json",
"title": "PhoneValidateResponse",
"description": "Structure of phone-validate. Extracted from components.schemas.PhoneValidateResponse in the Neutrino API OpenAPI 3.1 definition (info.version 3.7.2). Property names are kebab-case, matching the API default output-case.",
"required": [
"valid",
"international-calling-code",
"country-code",
"location",
"is-mobile",
"type",
"international-number",
"local-number",
"country",
"country-code3",
"currency-code",
"prefix-network"
],
"type": "object",
"properties": {
"valid": {
"type": "boolean",
"description": "Is this a valid phone number"
},
"international-calling-code": {
"type": "string",
"description": "The international calling code"
},
"country-code": {
"type": "string",
"description": "The phone number country as an ISO 2-letter country code"
},
"location": {
"type": "string",
"description": "The phone number location. Could be the city, region or country depending on the type of number"
},
"is-mobile": {
"type": "boolean",
"description": "True if this is a mobile number. If the number type is unknown this value will be false"
},
"type": {
"type": "string",
"description": "The number type based on the number prefix.
Possible values are: