FareComponent Data Type

FareComponent is a sequence of routes for a particular fare.

Properties
name data type description
fareId FeedScopedId
price Money
routes array of FeedScopedId

Example

{
  "fareId" : {
    "feedId" : "...",
    "id" : "..."
  },
  "price" : {
    "currency" : {
      "defaultFractionDigits" : 12345,
      "currencyCode" : "...",
      "symbol" : "...",
      "currency" : "..."
    },
    "cents" : 12345
  },
  "routes" : [ {
    "feedId" : "...",
    "id" : "..."
  }, {
    "feedId" : "...",
    "id" : "..."
  } ]
}