{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dns-coffee/json-schema/dns-coffee-home-stats-schema.json",
  "title": "HomeStats",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dns-coffee-stats-api-openapi.yml#/components/schemas/HomeStats",
  "additionalProperties": false,
  "properties": {
    "$schema": {
      "description": "A URL to the JSON Schema for this object.",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    },
    "days": {
      "description": "Whole days of data collected since the first import.",
      "format": "int64",
      "type": "integer"
    },
    "domains": {
      "description": "Distinct domain names ever observed, current and former (fast estimate, accurate to about 1%). The newest /stats/internet point gives the number currently in zones.",
      "format": "int64",
      "type": "integer"
    },
    "first_import": {
      "description": "Date of the earliest zone-file import in the collection.",
      "format": "date-time",
      "type": "string"
    },
    "imports": {
      "description": "Total number of zone-file imports (exact).",
      "format": "int64",
      "type": "integer"
    },
    "ipv4s": {
      "description": "Distinct IPv4 glue addresses ever observed, current and former (exact as of the last refresh, about hourly).",
      "format": "int64",
      "type": "integer"
    },
    "ipv6s": {
      "description": "Distinct IPv6 glue addresses ever observed, current and former (exact as of the last refresh, about hourly).",
      "format": "int64",
      "type": "integer"
    },
    "name_servers": {
      "description": "Distinct nameservers ever observed, current and former (exact as of the last refresh, about hourly).",
      "format": "int64",
      "type": "integer"
    },
    "zones": {
      "description": "Number of zones tracked (exact).",
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "domains",
    "name_servers",
    "ipv4s",
    "ipv6s",
    "zones",
    "imports",
    "first_import",
    "days"
  ],
  "type": "object"
}