{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dns-coffee/json-schema/dns-coffee-feed-history-body-schema.json",
  "title": "FeedHistoryBody",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dns-coffee-openapi.yml#/components/schemas/FeedHistoryBody",
  "additionalProperties": false,
  "properties": {
    "$schema": {
      "description": "A URL to the JSON Schema for this object.",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    },
    "catch_up_zones": {
      "description": "Number of zones whose import on the matching date was a catch-up: their previous import was more than one day earlier, so their entries carry several days of changes (the length of coverage.catch_up_zones on /feeds/domains/counts/{date}).",
      "items": {
        "format": "int64",
        "type": "integer"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "dates": {
      "description": "YYYY-MM-DD dates of the series, ascending. Every other array in the response is parallel to it.",
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "moved": {
      "description": "Number of moved domains on the matching date.",
      "items": {
        "format": "int64",
        "type": "integer"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "new": {
      "description": "Number of new domains on the matching date.",
      "items": {
        "format": "int64",
        "type": "integer"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "not_imported_zones": {
      "description": "Number of zones with no import on the matching date that were imported at least once in the 35 days before it and not removed from the root by then; any changes they had arrive with their next import (the length of coverage.not_imported_zones on /feeds/domains/counts/{date}).",
      "items": {
        "format": "int64",
        "type": "integer"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "old": {
      "description": "Number of removed domains on the matching date.",
      "items": {
        "format": "int64",
        "type": "integer"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "unchanged_zones": {
      "description": "Number of zones imported on the matching date with the same SOA serial as their previous import, which usually contribute no changes that day (the length of coverage.unchanged_zones on /feeds/domains/counts/{date}).",
      "items": {
        "format": "int64",
        "type": "integer"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "zones_imported": {
      "description": "Number of zones imported on the matching date (coverage.zones_imported on /feeds/domains/counts/{date}).",
      "items": {
        "format": "int64",
        "type": "integer"
      },
      "type": [
        "array",
        "null"
      ]
    }
  },
  "required": [
    "zones_imported",
    "catch_up_zones",
    "unchanged_zones",
    "not_imported_zones",
    "dates",
    "new",
    "old",
    "moved"
  ],
  "type": "object"
}