{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "workspaceId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "pattern": "^[^\\s]+$"
    },
    "packageId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "pattern": "^[^\\s]+$"
    },
    "bytes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 262144000
    },
    "sha256": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "manifest": {
      "$ref": "#/components/schemas/ProjectAgentUploadManifest"
    }
  },
  "required": [
    "workspaceId",
    "bytes",
    "sha256",
    "manifest"
  ]
}