{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://gxplex.com/api/v1/schema/probe-pointer.json",
  "title": "Probe pointer record",
  "description": "The one line /api/v1/probe.jsonl serves. The address carried the whole probe series until 2026-08-12 and now carries no probe; this record names the index and the partitions.",
  "type": "object",
  "properties": {
    "schema_version": {
      "type": "integer",
      "description": "Always 1 under this contract. It increments only when a field is removed or re-typed, which the published contract forbids. Fields have been re-typed with this value unchanged; https://gxplex.com/how/schemas/#history lists each with its commit and its correction."
    },
    "collection": {
      "type": "string",
      "description": "Always `probe`."
    },
    "generated_at": {
      "type": "string",
      "format": "date",
      "description": "The day this record calls today, at day granularity. Not a build clock: the unit of this archive is the day."
    },
    "source": {
      "type": "string",
      "description": "The origin this document was built for."
    },
    "deprecated_on": {
      "type": "string",
      "format": "date",
      "description": "The day the series was partitioned."
    },
    "stopped_carrying_rows_on": {
      "type": "string",
      "format": "date",
      "description": "The first day this address carried no probe."
    },
    "notice": {
      "type": "string",
      "description": "What the address carried and what it carries now."
    },
    "index": {
      "type": "string",
      "description": "The partition index."
    },
    "current_window": {
      "type": [
        "string",
        "null"
      ],
      "description": "The newest partition's ISO week, or null where none exists."
    },
    "current_window_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "The newest partition's address, or null where none exists."
    },
    "windows": {
      "type": "integer",
      "description": "The number of partitions, as the pointer counts them."
    },
    "_record": {
      "const": "pointer"
    }
  },
  "required": [
    "_record",
    "schema_version",
    "collection",
    "generated_at",
    "source",
    "deprecated_on",
    "stopped_carrying_rows_on",
    "notice",
    "index",
    "current_window",
    "current_window_url",
    "windows"
  ],
  "additionalProperties": true
}
