{
  "service": "realphonevalidation",
  "displayName": "RealPhoneValidation",
  "categories": [
    "Communication",
    "Data"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Token",
      "placeholder": "REALPHONEVALIDATION_API_TOKEN",
      "description": "RealPhoneValidation API token passed as the token query parameter. Get or regenerate it from the validation page inside your RealValidation account: https://my.realvalidation.com/."
    }
  ],
  "homepageUrl": "https://realphonevalidation.com",
  "actions": [
    {
      "id": "realphonevalidation.validate_phone_standard",
      "service": "realphonevalidation",
      "name": "validate_phone_standard",
      "description": "Validate one 10-digit phone number with the RealPhoneValidation Turbo Standard endpoint.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "phone": {
            "type": "string",
            "description": "The 10-digit US phone number to validate, using numeric digits only.",
            "pattern": "^\\d{10}$"
          }
        },
        "additionalProperties": false,
        "description": "The input payload for the Turbo Standard phone validation request."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "The line status returned by RealPhoneValidation, such as connected, disconnected, busy, or pending."
          },
          "error_text": {
            "anyOf": [
              {
                "type": "string",
                "description": "The upstream error text returned by RealPhoneValidation when the request was not a normal validation success."
              },
              {
                "type": "null"
              }
            ]
          },
          "phone_type": {
            "anyOf": [
              {
                "type": "string",
                "description": "The detected phone type returned by RealPhoneValidation, such as Mobile, Landline, or VoIP."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "description": "The normalized Turbo Standard validation result returned by RealPhoneValidation."
      }
    },
    {
      "id": "realphonevalidation.validate_phone_v3",
      "service": "realphonevalidation",
      "name": "validate_phone_v3",
      "description": "Validate one 10-digit phone number with the RealPhoneValidation Turbo v3 endpoint and return caller enrichment fields when available.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "phone": {
            "type": "string",
            "description": "The 10-digit US phone number to validate, using numeric digits only.",
            "pattern": "^\\d{10}$"
          }
        },
        "additionalProperties": false,
        "description": "The input payload for the Turbo v3 phone validation request."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "The line status returned by RealPhoneValidation, such as connected, disconnected, busy, or pending."
          },
          "error_text": {
            "anyOf": [
              {
                "type": "string",
                "description": "The upstream error text returned by RealPhoneValidation when the request was not a normal validation success."
              },
              {
                "type": "null"
              }
            ]
          },
          "phone_type": {
            "anyOf": [
              {
                "type": "string",
                "description": "The detected phone type returned by RealPhoneValidation, such as Mobile, Landline, or VoIP."
              },
              {
                "type": "null"
              }
            ]
          },
          "caller_name": {
            "anyOf": [
              {
                "type": "string",
                "description": "The subscriber name returned by RealPhoneValidation when available."
              },
              {
                "type": "null"
              }
            ]
          },
          "carrier": {
            "anyOf": [
              {
                "type": "string",
                "description": "The carrier or service provider returned by RealPhoneValidation when available."
              },
              {
                "type": "null"
              }
            ]
          },
          "caller_type": {
            "anyOf": [
              {
                "type": "string",
                "description": "The caller type returned by RealPhoneValidation, such as Consumer or Business."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "description": "The normalized Turbo v3 validation result returned by RealPhoneValidation."
      }
    }
  ]
}
