# GenericExtension

- [JSON representation](https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/GenericExtension#SCHEMA_REPRESENTATION)
- [OrderLocation](https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/GenericExtension#OrderLocation)
  - [JSON representation](https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/GenericExtension#OrderLocation.SCHEMA_REPRESENTATION)
- [Time](https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/GenericExtension#Time)
  - [JSON representation](https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/GenericExtension#Time.SCHEMA_REPRESENTATION)

> [!WARNING]
> This item is deprecated!

Deprecated: Use V3 Proto instead. Extension for generic orders that are not tied to a semantic type.

| JSON representation ||
|---|---|
| ``` { "locations": [ { object (`https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/GenericExtension#OrderLocation`) } ], "time": { object (`https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/GenericExtension#Time`) } } ``` |

| Fields ||
|---|---|
| `locations[]` | ``object (`https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/GenericExtension#OrderLocation`)`` Locations associated with the order. Up to 2 locations. |
| `time` | ``object (`https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/GenericExtension#Time`)`` time indicator associated with the proposed order. |

## OrderLocation

> [!WARNING]
> This item is deprecated!

Deprecated: Use V3 Proto instead. Location associated with an order.

| JSON representation ||
|---|---|
| ``` { "type": enum (`https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/OrderLocationType`), "location": { object (`https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/Location`) } } ``` |

| Fields ||
|---|---|
| `type` | ``enum (`https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/OrderLocationType`)`` Address type. Determines icon and placement. Required. |
| `location` | ``object (`https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/Location`)`` Contains actual location info. |

## Time

> [!WARNING]
> This item is deprecated!

Deprecated: Use V3 Proto instead. time associated with an order.

| JSON representation ||
|---|---|
| ``` { "type": enum (`https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/TimeType`), "timeIso8601": string } ``` |

| Fields ||
|---|---|
| `type` | ``enum (`https://developers.google.com/assistant/df-asdk/reference/webhook/rest/Shared.Types/TimeType`)`` type of time indicator. |
| `timeIso8601` | `string` ISO 8601 representation of time indicator: could be a duration, date or exact datetime. |