# FormWidget

- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/FormWidget#SCHEMA_REPRESENTATION)
- [CustomFieldForm](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/FormWidget#CustomFieldForm)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/FormWidget#CustomFieldForm.SCHEMA_REPRESENTATION)

Form widget.

| JSON representation |
|---|
| ``` { "customFieldValues": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/FormWidget#CustomFieldForm`) } ], "title": string, "order": integer, "type": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/WidgetTemplateType`), "gridColumns": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/WidgetTemplateGridColumns`), "description": string, "identifier": string, "jsonData": string, "errorJsonData": string, "resultStatus": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/WidgetResultStatus`) } ``` |

| Fields ||
|---|---|
| `customFieldValues[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/FormWidget#CustomFieldForm`)`` Output only. The custom field form. |
| `title` | `string` Output only. The widget title. |
| `order` | `integer` Output only. The widget order. |
| `type` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/WidgetTemplateType`)`` Output only. The widget template type. |
| `gridColumns` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/WidgetTemplateGridColumns`)`` Output only. The widget template grid columns. |
| `description` | `string` Output only. The widget description. |
| `identifier` | `string` Output only. The widget identifier. |
| `jsonData` | `string` Output only. The widget json data. |
| `errorJsonData` | `string` Output only. The widget error json data. |
| `resultStatus` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/WidgetResultStatus`)`` Output only. The widget result status. |

## CustomFieldForm

Custom field form.

| JSON representation |
|---|
| ``` { "id": integer, "mandatory": boolean, "order": integer, "isTrimmed": boolean, "values": [ string ] } ``` |

| Fields ||
|---|---|
| `id` | `integer` Output only. The unique identifier of the custom field. |
| `mandatory` | `boolean` Output only. Flag that indicates whether the form is mandatory or not. |
| `order` | `integer` Output only. The order in which the custom field appears within the form. Lower values indicate that the field should appear first. |
| `isTrimmed` | `boolean` Output only. Flag that indicates whether the form is trimmed or not. |
| `values[]` | `string` Output only. The values of the form. |