# ValidityRange

- [JSON representation](https://developers.google.com/maps-booking/reference/maps-booking-api/rest/v1alpha/ValidityRange#SCHEMA_REPRESENTATION)

\[START validity_range_definition\] A closed-open timestamp range.

| JSON representation |
|---|
| ``` { "validFromTime": string, "validThroughTime": string } ``` |

| Fields ||
|---|---|
| `validFromTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The beginning time of the range (inclusive). Required. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `validThroughTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The ending time of the range (exclusive). If not set, it means that this period is never ending. Optional. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |