Files
plexruby/docs/models/operations/geodata.md

20 lines
4.5 KiB
Markdown

# GeoData
Geo location data
## Fields
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- |
| `code` | *::String* | :heavy_check_mark: | The ISO 3166-1 alpha-2 code of the country. | VI |
| `continent_code` | *::String* | :heavy_check_mark: | The continent code where the country is located. | NA |
| `country` | *::String* | :heavy_check_mark: | The official name of the country. | United States Virgin Islands |
| `city` | *::String* | :heavy_check_mark: | The name of the city. | Amsterdam |
| `european_union_member` | *T::Boolean* | :heavy_check_mark: | Indicates if the country is a member of the European Union. | true |
| `time_zone` | *::String* | :heavy_check_mark: | The time zone of the country. | America/St_Thomas |
| `postal_code` | *::String* | :heavy_check_mark: | The postal code of the location. | 802 |
| `in_privacy_restricted_country` | *T::Boolean* | :heavy_check_mark: | Indicates if the country has privacy restrictions. | true |
| `in_privacy_restricted_region` | *T::Boolean* | :heavy_check_mark: | Indicates if the region has privacy restrictions. | true |
| `subdivisions` | *::String* | :heavy_check_mark: | The name of the primary administrative subdivision. | Saint Thomas |
| `coordinates` | *::String* | :heavy_check_mark: | The geographical coordinates (latitude, longitude) of the location. | 18.3381, -64.8941 |