Copyright Notices

In certain cases, data provided by transit agencies cannot be used without displaying copyright notices to the end user. If a routing response contains this type of data, the Intermodal Routing API v8 adds operator attribution information to the route response. Operator attribution must be displayed together with a route. This requirement is part of the terms and conditions for The Intermodal Routing API v8.

Note

attributions element is only available inside transit sections.

Operator Attribution in Route Response Example

If copyright information is available, the response contains an attributions element inside the transit sections element that must be fully displayed to the end-users.

The following is an example of a response with copyright information.

{
  "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"
            }
          ]
        }
      ]
    }
  ]
}

results matching ""

    No results matching ""