49 lines
966 B
YAML
49 lines
966 B
YAML
fields:
|
|
- name: country_code
|
|
path: ['country', 'code']
|
|
required: true
|
|
|
|
- name: code # this is city code
|
|
path: ['code']
|
|
required: true
|
|
|
|
- name: id
|
|
path: ['id']
|
|
|
|
- name: country_name
|
|
path: ['country', 'name']
|
|
|
|
- name: name # this is CITY name
|
|
path: ['name']
|
|
|
|
- name: time_zone
|
|
path: ['time_zone', 'code']
|
|
|
|
- name: operator_id
|
|
path: ['operator_id']
|
|
required: true
|
|
|
|
- name: provider_name
|
|
path: ['provider', 'name']
|
|
|
|
- name: is_proxy_capable
|
|
path: ['is_proxy_capable']
|
|
|
|
- name: is_wireguard_capable
|
|
path: ['is_wireguard_capable']
|
|
required: true
|
|
|
|
|
|
# required: true
|
|
|
|
# locations.append((
|
|
# location['country']['code'],
|
|
# location['code'],
|
|
# location['id'],
|
|
# location['country']['name'],
|
|
# location['name'],
|
|
# location['time_zone']['code'],
|
|
# location['operator_id'],
|
|
# location['provider']['name'],
|
|
# location['is_proxy_capable'],
|
|
# location['is_wireguard_capable']))
|