# Place.FileUploadPlace

File Upload Place.

A file the recipient attaches (a `file-upload` field of a Markdown or HTML document). The file name is drawn at the place, the file is appended to the deliverable, and the capture is an object with the file's id, name, size, media type, SHA-256 and a download URL.

This schema is a [Sign API extension](https://docs.signapi.dev/extensions).

## Properties

| Property | Type | Required | Notes |
|---|---|---|---|
| `key` | string | Yes | 1 to 32 characters. Pattern `^[a-z][a-z0-9_]*$`. |
| `type` | string | Yes | Always `file_upload`. |
| `requirement` | string | Yes | One of `required`, `optional`. |
| `recipient_key` | [`Place.RecipientKey`](https://docs.signapi.dev/schemas/Place.RecipientKey) | Yes |  |
| `prompt` | string or null | Yes | Default `null`. 1 to 100 characters. |
| `accept` | array of string | Yes | The media types the recipient may attach. Sign API extension. |
| `max_bytes` | integer | Yes | The largest file the recipient may attach, in bytes. From 1 to 10485760. Sign API extension. |
| `font_size` | integer | Yes | Default `12`. From 6 to 12. |
| `width` | number | Yes | Default `30`. From 30 to 540. |
| `capture_as` | string or null | Yes | Default `null`. 1 to 32 characters. Pattern `^[a-z][a-z0-9_]*$`. |

## Used by

- [`Place.Place`](https://docs.signapi.dev/schemas/Place.Place)
