{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ProjectAgentProgressItem"
      },
      "maxItems": 1000,
      "minItems": 0
    },
    "nextAfter": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 4096,
          "pattern": "^[^\\s]+$"
        },
        {
          "type": "null"
        }
      ]
    },
    "projection": {
      "type": "string",
      "enum": [
        "current",
        "pending",
        "failed"
      ]
    },
    "countsScope": {
      "const": "visible_page"
    },
    "counts": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "visible": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "reportedComplete": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "accepted": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "needsAttention": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "visible",
        "reportedComplete",
        "accepted",
        "needsAttention"
      ]
    }
  },
  "required": [
    "items",
    "nextAfter",
    "projection",
    "countsScope",
    "counts"
  ]
}