著作権表示

場合によっては、輸送機関によって提供されたデータをエンド ユーザーに著作権表示を表示せずに使用することはできません。 ルーティング応答にこのタイプのデータが含まれている場合、 Intermodal Routing API V8 によって、ルート応答にオペレータ属性情報が追加されます。 オペレータ属性は、ルートと一緒に表示する必要があります。 この要件は、 Intermodal Routing API V8 の利用規約の一部です。

メモ

attributions 要素は輸送セクション内でのみ使用できます。

ルートレスポンスのオペレータ属性の例

著作権情報が利用可能な場合、応答に attributions は通過 sections 要素内の要素が含まれており、エンドユーザーに完全に表示される必要があります。

次に、著作権情報を含む応答の例を示します。

{
  "routes": [
    {
      "id": "R00370b-C0",
      "sections": [
        {
          "id": "R00370b-C0-S0",
          "type": "vehicle",
          "postActions": [
            {
              "action": "park",
              "duration": 300
            }
          ],
          "departure": {
            "time": "2020-04-23T14:11:18+02:00",
            "place": {
              "type": "place",
              "location": {
                "lat": 43.7726748,
                "lng": 11.2553751
              }
            }
          },
          "arrival": {
            "time": "2020-04-23T17:26:39+02:00",
            "place": {
              "name": "Metro-Rebibbia",
              "waypoint": 0,
              "type": "parkingLot",
              "location": {
                "lat": 41.9254,
                "lng": 12.57344
              },
              "id": "380sr2yw-05fe801f47dd48599084eff4ec7a66f8",
              "attributes": [
                "parkAndRide"
              ]
            }
          },
          "transport": {
            "mode": "car"
          }
        },
        {
          "id": "R00370b-C0-S1",
          "type": "pedestrian",
          "departure": {
            "time": "2020-04-23T17:31:39+02:00",
            "place": {
              "type": "place",
              "location": {
                "lat": 41.9254,
                "lng": 12.57344
              }
            }
          },
          "arrival": {
            "time": "2020-04-23T17:37:39+02:00",
            "place": {
              "name": "Rebibbia",
              "type": "station",
              "location": {
                "lat": 41.925726,
                "lng": 12.572617
              },
              "id": "415712603"
            }
          }
        },
        {
          "id": "R00370b-C0-S2",
          "type": "transit",
          "departure": {
            "time": "2020-04-23T17:39:00+02:00",
            "place": {
              "name": "Rebibbia",
              "type": "station",
              "location": {
                "lat": 41.925726,
                "lng": 12.572617
              },
              "id": "415712603"
            }
          },
          "arrival": {
            "time": "2020-04-23T17:57:00+02:00",
            "place": {
              "name": "Colosseo",
              "type": "station",
              "location": {
                "lat": 41.89129,
                "lng": 12.491474
              },
              "id": "415712607"
            }
          },
          "transport": {
            "mode": "subway",
            "name": "Metro B",
            "category": "Train",
            "color": "#0000FF",
            "textColor": "#FFFFFF",
            "headsign": "Laurentina"
          },
          "intermediateStops": [
            {
              "departure": {
                "time": "2020-04-23T17:40:00+02:00",
                "place": {
                  "name": "Ponte Mammolo",
                  "type": "station",
                  "location": {
                    "lat": 41.920976,
                    "lng": 12.565083
                  },
                  "id": "415712614"
                }
              }
            },
            {
              "departure": {
                "time": "2020-04-23T17:42:00+02:00",
                "place": {
                  "name": "S.M. Del Soccorso",
                  "type": "station",
                  "location": {
                    "lat": 41.916183,
                    "lng": 12.561243
                  },
                  "id": "415712622"
                }
              }
            },
            {
              "departure": {
                "time": "2020-04-23T17:43:00+02:00",
                "place": {
                  "name": "Pietralata",
                  "type": "station",
                  "location": {
                    "lat": 41.914133,
                    "lng": 12.555642
                  },
                  "id": "415712623"
                }
              }
            },
            {
              "departure": {
                "time": "2020-04-23T17:44:00+02:00",
                "place": {
                  "name": "Monti Tiburtini",
                  "type": "station",
                  "location": {
                    "lat": 41.916109,
                    "lng": 12.547616
                  },
                  "id": "415712624"
                }
              }
            },
            {
              "departure": {
                "time": "2020-04-23T17:46:00+02:00",
                "place": {
                  "name": "Quintiliani",
                  "type": "station",
                  "location": {
                    "lat": 41.914934,
                    "lng": 12.538864
                  },
                  "id": "415712625"
                }
              }
            },
            {
              "departure": {
                "time": "2020-04-23T17:48:00+02:00",
                "place": {
                  "name": "Tiburtina F.s.",
                  "type": "station",
                  "location": {
                    "lat": 41.910247,
                    "lng": 12.530286
                  },
                  "id": "415712626"
                }
              }
            },
            {
              "departure": {
                "time": "2020-04-23T17:50:00+02:00",
                "place": {
                  "name": "Bologna",
                  "type": "station",
                  "location": {
                    "lat": 41.913665,
                    "lng": 12.52081
                  },
                  "id": "415712627"
                }
              }
            },
            {
              "departure": {
                "time": "2020-04-23T17:51:00+02:00",
                "place": {
                  "name": "Policlinico",
                  "type": "station",
                  "location": {
                    "lat": 41.908876,
                    "lng": 12.512187
                  },
                  "id": "415712628"
                }
              }
            },
            {
              "departure": {
                "time": "2020-04-23T17:53:00+02:00",
                "place": {
                  "name": "Castro Pretorio",
                  "type": "station",
                  "location": {
                    "lat": 41.906264,
                    "lng": 12.505364
                  },
                  "id": "415712604"
                }
              }
            },
            {
              "departure": {
                "time": "2020-04-23T17:54:00+02:00",
                "place": {
                  "name": "Termini",
                  "type": "station",
                  "location": {
                    "lat": 41.900965,
                    "lng": 12.499871
                  },
                  "id": "415712552"
                }
              }
            },
            {
              "departure": {
                "time": "2020-04-23T17:56:00+02:00",
                "place": {
                  "name": "Cavour",
                  "type": "station",
                  "location": {
                    "lat": 41.895137,
                    "lng": 12.493609
                  },
                  "id": "415712606"
                }
              }
            }
          ],
          "agency": {
            "id": "aDmata00",
            "name": "Atac",
            "website": "http://www.atac.roma.it"
          },
          "attributions": [
            {
              "id": "R00370b-C0-S2-link-0",
              "href": "http://creativecommons.org/licenses/by/3.0/it/",
              "text": "Some line names used in this product or service were edited to align with official transportation maps.",
              "type": "disclaimer"
            }
          ]
        }
      ]
    }
  ]
}

」に一致する結果は 件です

    」に一致する結果はありません