{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Identifier of the project returned by its create or list operation."
    },
    "epochs": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "workspace_id": {
            "type": "string"
          },
          "project_id": {
            "type": "string"
          },
          "epoch_id": {
            "type": "string"
          },
          "cell_id": {
            "type": "string"
          },
          "k": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "n": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "unknowns": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "mentioned": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "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"
          },
          "baseline_epoch_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "baseline_rate": {
            "type": [
              "number",
              "null"
            ]
          },
          "baseline_ci_low": {
            "type": [
              "number",
              "null"
            ]
          },
          "baseline_ci_high": {
            "type": [
              "number",
              "null"
            ]
          },
          "spent_estimate_usd": {
            "type": "number",
            "minimum": 0
          },
          "at": {
            "type": "string"
          }
        },
        "required": [
          "workspace_id",
          "project_id",
          "epoch_id",
          "cell_id",
          "k",
          "n",
          "rate",
          "ci_low",
          "ci_high",
          "classification",
          "at"
        ],
        "additionalProperties": false
      },
      "description": "The epochs value; allowed values and bounds are specified in this schema."
    }
  },
  "required": [
    "projectId",
    "epochs"
  ],
  "additionalProperties": false
}
