- [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/ProcessedDocument#SCHEMA_REPRESENTATION)

Document captures all raw metadata information of items to be recommended or searched.

| JSON representation |
|---|
| ``` { "document": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "jsonData": string // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `document` | `string` Required. Full resource name of the referenced document, in the format `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. |
| Output format of the processed document. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `jsonData` | `string` The JSON string representation of the processed document. |
| End of mutually exclusive fields. ||