{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "epochs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Stored epoch row identifier."
          },
          "workspace_id": {
            "type": "string",
            "description": "Workspace that owns this row."
          },
          "project_id": {
            "type": "string",
            "description": "Project that owns this row."
          },
          "watch_id": {
            "type": "string",
            "description": "Citation watch associated with this cell."
          },
          "epoch_id": {
            "type": "string",
            "description": "Source epoch identifier."
          },
          "cell_id": {
            "type": "string",
            "description": "Engine, prompt and target cell identity."
          },
          "k": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "Successful samples citing the target."
          },
          "n": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "Samples with a known outcome."
          },
          "unknowns": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991,
            "description": "Samples excluded because their outcome is unknown."
          },
          "rate": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "ci_low": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "ci_high": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "classification": {
            "type": "string",
            "description": "Recorded epoch comparison classification."
          },
          "at": {
            "type": "string",
            "description": "Source observation time."
          }
        },
        "required": [
          "id",
          "workspace_id",
          "project_id",
          "watch_id",
          "epoch_id",
          "cell_id",
          "k",
          "n",
          "unknowns",
          "rate",
          "ci_low",
          "ci_high",
          "classification",
          "at"
        ],
        "additionalProperties": {}
      }
    },
    "cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "epochs",
    "cursor"
  ],
  "additionalProperties": {}
}
