{
  "type": "object",
  "properties": {
    "collaboration": {
      "$ref": "#/components/schemas/ReviewCollaborationState"
    },
    "id": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "sourceType": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "archived"
      ]
    },
    "visibility": {
      "type": "string"
    },
    "gitBase": {
      "$ref": "#/components/schemas/DraftGitBase"
    },
    "reviewUrl": {
      "type": "string",
      "format": "uri"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "planOfRecordRevision": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "revisionNumber": {
              "type": "number"
            },
            "summary": {
              "type": [
                "string",
                "null"
              ]
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            }
          },
          "additionalProperties": true
        },
        {
          "type": "null"
        }
      ]
    },
    "files": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/DraftReviewFile"
      }
    },
    "latestRevision": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/DraftRevision"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "additionalProperties": true
}