{
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "pattern": "^[^\\s]+$"
    },
    "filePath": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1024,
      "pattern": "^(?!/)(?!.*(?:^|/)\\.\\.?(?:/|$))[^\\\\\\u0000]+$"
    },
    "sourceAnchor": {
      "$ref": "#/components/schemas/ProjectAgentSourceReviewAnchor"
    },
    "sourceVersion": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "status": {
      "type": "string",
      "enum": [
        "open",
        "resolved"
      ]
    },
    "syncMode": {
      "const": "app_only"
    },
    "comments": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "maxItems": 100,
      "minItems": 0
    }
  },
  "required": [
    "id",
    "filePath",
    "sourceAnchor",
    "sourceVersion",
    "status",
    "syncMode",
    "comments"
  ]
}