# DraftReview

Fields, types, and constraints for DraftReview.

Canonical: https://commentary.dev/docs/reference/schemas/draft-review

Released API schema for `DraftReview`.

## Fields and constraints

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `collaboration` | [ReviewCollaborationState](/docs/reference/schemas/review-collaboration-state) | No |  |
| `id` | string | No |  |
| `title` | string | No |  |
| `description` | string or null | No |  |
| `sourceType` | string | No |  |
| `status` | `"active"` · `"archived"` | No |  |
| `visibility` | string | No |  |
| `gitBase` | [DraftGitBase](/docs/reference/schemas/draft-git-base) | No |  |
| `reviewUrl` | string | No | Format: uri. |
| `createdAt` | string | No | Format: date-time. |
| `updatedAt` | string | No | Format: date-time. |
| `planOfRecordRevision` | object or null | No |  |
| `files` | array of [DraftReviewFile](/docs/reference/schemas/draft-review-file) | No |  |
| `latestRevision` | [DraftRevision](/docs/reference/schemas/draft-revision) or null | No |  |

## Full schema

[Download this schema](/docs/reference/schemas/draft-review.json) or use the [complete OpenAPI document](/docs/reference/openapi.json) to resolve all references.

## Related reference

[Browse API endpoints](/docs/reference/api-operations).
