プレイアブル ロケーションのタイプ

すべての PlayableLocation オブジェクトには types プロパティがあります。このプロパティは、キュレート済みプレイアブル ロケーションが表す場所、または生成されたプレイアブル ロケーションが配置されている地域に関する詳細情報を保持します。 types プロパティは、個々のエントリで場所に関する詳細情報を順次提供する文字列の配列として実装され、配列の最初のエントリはメインのタイプを表します。

タイプには、地理的対象物タイプ(アミューズメント パーク、町の広場、動物園など)と構造物タイプ(病院やスタジアムなど)があります。たとえば、公園内の遊歩道沿いにある生成されたプレイアブル ロケーションは、メインのタイプが Road、予備のタイプが Park になります。

有効なタイプ

次の表に、有効なプレイアブル ロケーションのタイプをアルファベット順に示します。

メインのタイプ予備のタイプ
airport
amusement
arts
atm
bank
bar
beach
boating
book_store
bridge
cafe
campground
car_rental
casino
cemetery
convenience_store
embassy
event_space
farm
fire_station
fishing
florist
garden
gas_station
golf_course
government
grocery_store
historic
hospital
hot_spring
indoor
industrial
library
lighthouse
lodging
military
movie
museum
park
parking_lot
pharmacy
place_of_worship
buddhist_temple
church
gurdwara
hindu_temple
jain_temple
mormon_temple
mosque
shinto_shrine
synagogue
police_station
post_office
restaurant
restroom
rest_stop
road
school
shopping
sports
stadium
tourist_attraction
town_square
trailhead
transit
university
winery
zoo