# DraftReviewFileInput

Fields, types, and constraints for DraftReviewFileInput.

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

Released API schema for `DraftReviewFileInput`.

## Fields and constraints

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `path` | string | No |  |
| `fileId` | string | No |  |
| `content` | string | No |  |
| `assetUploadId` | string | No | Single-use raster upload id returned by the asset preparation endpoint. Mutually exclusive with content. |
| `contentType` | `"markdown"` · `"html"` · `"plain_text"` · `"image"` · `"svg"` · `"mermaid"` · `"auto"` | No |  |

## Full schema

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

## Related reference

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