{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ip2location/json-schema/ip2location-hosted-domain-response-schema.json",
  "title": "HostedDomainResponse",
  "description": "One page of domain names hosted on the requested address.",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ip2location-hosted-domain-openapi.yml#/components/schemas/HostedDomainResponse",
  "type": "object",
  "required": [
    "ip",
    "domains"
  ],
  "properties": {
    "ip": {
      "type": "string",
      "format": "ip",
      "description": "IP address that was looked up."
    },
    "total_domains": {
      "type": "integer",
      "description": "Total number of hosted domains found for the address."
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "description": "Current page number."
    },
    "per_page": {
      "type": "integer",
      "description": "Number of domains returned per page. Free: 1, Starter: 5, Plus: 20, Security: 100."
    },
    "total_pages": {
      "type": "integer",
      "description": "Total number of pages for the address."
    },
    "domains": {
      "type": "array",
      "description": "Domain names hosted on the address, one page at a time.",
      "items": {
        "type": "string"
      }
    }
  }
}