Search Response Schema

Ip Geolocation Number Result Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "criteria": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "sources": {
      "type": "array",
      "items": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            }
          },
          "required": [
            "name"
          ]
        }
      ]
    },
    "data": {
      "type": "array",
      "items": [
        {
          "type": "object",
          "properties": {
            "web_collection": {
              "type": "object",
              "properties": {
                "phone": {
                  "type": "string"
                },
                "phoneCountry": {
                  "type": "string"
                },
                "phoneCountryCode": {
                  "type": "string"
                },
                "ip": {
                  "type": "string"
                },
                "ipCountry": {
                  "type": "string"
                },
                "ipCountryCode": {
                  "type": "string"
                },
                "status": {
                  "type": "boolean"
                }
              },
              "required": [
                "phone",
                "phoneCountry",
                "phoneCountryCode",
                "ip",
                "ipCountry",
                "ipCountryCode",
                "status"
              ]
            }
          },
          "required": [
            "web_collection"
          ]
        }
      ]
    }
  },
  "required": [
    "criteria",
    "type",
    "status",
    "sources",
    "data"
  ]
}

Email Domain Validator Schema
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "criteria": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "sources": {
      "type": "array",
      "items": [
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            }
          },
          "required": [
            "name"
          ]
        }
      ]
    },
    "data": {
      "type": "array",
      "items": [
        {
          "type": "object",
          "properties": {
            "email_validator": {
              "type": "object",
              "properties": {
                "status": {
                  "type": "boolean"
                }
              },
              "required": [
                "status"
              ]
            }
          },
          "required": [
            "email_validator"
          ]
        }
      ]
    }
  },
  "required": [
    "criteria",
    "type",
    "status",
    "sources",
    "data"
  ]
}

Last updated