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" : {
    "agencyId" : "...",
    "id" : "..."
  },
  "price" : {
    "currency" : {
      "defaultFractionDigits" : 12345,
      "currencyCode" : "...",
      "symbol" : "...",
      "currency" : "..."
    },
    "cents" : 12345
  },
  "routes" : [ {
    "agencyId" : "...",
    "id" : "..."
  }, {
    "agencyId" : "...",
    "id" : "..."
  } ]
}