# ContextGroupDataModel

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

ContextGroupDataModel represents a context group.

| JSON representation |
|---|
| ``` { "groupName": string, "items": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ContextGroupDataModel#ContextStringItemDataModel`) } ], "key": string, "value": string, "isHighlight": boolean, "hideOptions": boolean } ``` |

| Fields ||
|---|---|
| `groupName` | `string` Required. GroupName is the name of the group. |
| `items[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ContextGroupDataModel#ContextStringItemDataModel`)`` Optional. Items is a list of items in the group. |
| `key` | `string` Optional. Key is the key of the context group. |
| `value` | `string` Optional. Value is the value of the context group. |
| `isHighlight` | `boolean` Optional. IsHighlight indicates if the group should be highlighted. |
| `hideOptions` | `boolean` Optional. HideOptions indicates if the options should be hidden. |

## ContextStringItemDataModel

ContextStringItemDataModel represents a context string item.

| JSON representation |
|---|
| ``` { "originalName": string, "name": string, "value": string } ``` |

| Fields ||
|---|---|
| `originalName` | `string` Required. OriginalName is the original name of the item. |
| `name` | `string` Required. Name is the name of the item. |
| `value` | `string` Required. Value is the value of the item. |