Ramp: Fetch a trip — response body — locations item location
Fetch a trip: response body, field locations / item / location. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Fetch a trip — response body — locations item location
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
city | JSON | Required within parent | |
city (anyOf 1) | string | Alternative | |
city (anyOf 2) | null | Alternative | |
country | JSON | Required within parent | |
country (anyOf 1) | string | Alternative | |
country (anyOf 2) | null | Alternative | |
latitude | JSON | Required within parent | |
latitude (anyOf 1) | JSON | Alternative | |
latitude (anyOf 1) (anyOf 1) | number | Alternative | |
latitude (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
latitude (anyOf 2) | null | Alternative | |
longitude | JSON | Required within parent | |
longitude (anyOf 1) | JSON | Alternative | |
longitude (anyOf 1) (anyOf 1) | number | Alternative | |
longitude (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
longitude (anyOf 2) | null | Alternative | |
state | JSON | Required within parent | |
state (anyOf 1) | string | Alternative | |
state (anyOf 2) | null | Alternative |