TransitLayer Data Type

Properties
name data type constraints description
stopIndex StopIndexForRaptor  
transitDataZoneId string   This is the time zone which is used for interpreting all local "service" times (in transfers, trip schedules and so on). This is the time zone of the internal OTP time - which is used in logging and debugging. This is independent of the time zone of imported data and of the time zone used on any API - it can be the same, but it does not need to.
stopCount number required
transferService TransferService  
transferCache RaptorRequestTransferCache  
tripPatternMapper TripPatternMapper  
transferIndexGenerator TransferIndexGenerator  

Example

{
  "stopIndex" : {
    "stopBoardAlightCosts" : [ 12345, 12345 ]
  },
  "transitDataZoneId" : "...",
  "stopCount" : 12345,
  "transferService" : { },
  "transferCache" : {
    "transferCache" : { }
  },
  "tripPatternMapper" : { },
  "transferIndexGenerator" : { }
}