{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whoisfreaks/json-schema/whoisfreaks-ip-whois-response-schema.json",
  "title": "IpWhoisResponse",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whoisfreaks-ip-whois-api-openapi.yml#/components/schemas/IpWhoisResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "boolean"
    },
    "ip_address": {
      "type": "string"
    },
    "as_number": {
      "type": "string"
    },
    "query_time": {
      "type": "string"
    },
    "whois_server": {
      "type": "string"
    },
    "whois_raw_response": {
      "type": "string"
    },
    "r_whois_raw_response": {
      "type": "string"
    },
    "inet_nums": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InetNum"
      }
    },
    "organization": {
      "$ref": "#/$defs/WhoisOrganization"
    },
    "irt": {
      "$ref": "#/$defs/Irt"
    },
    "administrative_contacts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/WhoisPerson"
      }
    },
    "technical_contacts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/WhoisPerson"
      }
    },
    "abuse_contacts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/WhoisPerson"
      }
    },
    "routes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Route"
      }
    }
  },
  "additionalProperties": true,
  "$defs": {
    "InetNum": {
      "type": "object",
      "properties": {
        "start_ip": {
          "type": "string"
        },
        "end_ip": {
          "type": "string"
        },
        "cidr": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "net_name": {
          "type": "string"
        },
        "net_handle": {
          "type": "string"
        },
        "description": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "countries": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "geofeed": {
          "type": "string"
        },
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        },
        "city": {
          "type": "string"
        },
        "languages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "status": {
          "type": "string"
        },
        "organization": {
          "type": "string"
        },
        "sponsoring_organization": {
          "type": "string"
        },
        "remarks": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "assignment_size": {
          "type": "string"
        },
        "notify": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mnt_by": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mnt_lower": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mnt_domains": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mnt_routes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mnt_irt": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "date_created": {
          "type": "string"
        },
        "date_updated": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "parents": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": true
    },
    "Irt": {
      "type": "object",
      "properties": {
        "handle": {
          "type": "string"
        },
        "address": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "street": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "district": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "zip_code": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "email": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "abuse_mailbox": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "phone": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "fax_no": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "organizations": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "admin_contacts": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tech_contacts": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "remarks": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "signature": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "encryption": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "auth": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "notify": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "irt_nfy": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mnt_by": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mnt_ref": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": true
    },
    "Route": {
      "type": "object",
      "properties": {
        "route": {
          "type": "string"
        },
        "description": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "origin": {
          "type": "string"
        },
        "pingable": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "ping_hdl": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "holes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "country": {
          "type": "string"
        },
        "organizations": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "member_of": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "inject": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "aggr_mtd": {
          "type": "string"
        },
        "aggr_bndry": {
          "type": "string"
        },
        "export_comps": {
          "type": "string"
        },
        "components": {
          "type": "string"
        },
        "remarks": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "notify": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mnt_lower": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mnt_routes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mnt_by": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "date_created": {
          "type": "string"
        },
        "date_updated": {
          "type": "string"
        },
        "source": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "WhoisOrganization": {
      "type": "object",
      "properties": {
        "handle": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "description": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "address": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "street": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "district": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "zip_code": {
          "type": "string"
        },
        "country": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        },
        "email": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "abuse_mailbox": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "phone": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "fax_no": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "organizations": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "admin_contacts": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tech_contacts": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "abuse_contacts": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "languages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "remarks": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "notify": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "ref_nfy": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mnt_ref": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mnt_by": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "date_created": {
          "type": "string"
        },
        "date_updated": {
          "type": "string"
        },
        "source": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "WhoisPerson": {
      "type": "object",
      "properties": {
        "handle": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "address": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "street": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "district": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "zip_code": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "email": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "abuse_mailbox": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "phone": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "fax_no": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "organizations": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "admin_contacts": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tech_contacts": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "remarks": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "notify": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mnt_by": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mnt_ref": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "date_created": {
          "type": "string"
        },
        "date_updated": {
          "type": "string"
        },
        "source": {
          "type": "string"
        }
      },
      "additionalProperties": true
    }
  }
}