Sweet Saver Fare · Schema

RouteInsightsResponse

TravelTransportationFerryFare ComparisonBC

Properties

Name Type Description
observation_id stringnull
observed_at string
stale_after string
freshness_state string
source_status string
data_source string
parser_version string
observation_trace_id stringnull
fixture_sha stringnull
observation_outcome string
disclaimer string
route_id string
profile_id string
period_start string
period_end string
fare_by_weekday array
fare_by_time_block array
fare_by_booking_window array
delay_by_time_block array
View JSON Schema on GitHub

JSON Schema

sweetsaverfare-com-route-insights-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sweetsaverfare-com/json-schema/sweetsaverfare-com-route-insights-response-schema.json",
  "title": "RouteInsightsResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/sweetsaverfare-com-api-openapi.json#/components/schemas/RouteInsightsResponse",
  "allOf": [
    {
      "type": "object",
      "required": [
        "observation_id",
        "observed_at",
        "stale_after",
        "freshness_state",
        "source_status",
        "data_source",
        "parser_version",
        "observation_trace_id",
        "fixture_sha",
        "disclaimer"
      ],
      "properties": {
        "observation_id": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid"
        },
        "observed_at": {
          "type": "string",
          "format": "date-time"
        },
        "stale_after": {
          "type": "string",
          "format": "date-time"
        },
        "freshness_state": {
          "type": "string",
          "enum": [
            "fresh",
            "stale",
            "expired"
          ]
        },
        "source_status": {
          "type": "string",
          "enum": [
            "ok",
            "missing",
            "provider_queue_active",
            "session_expired",
            "blocked",
            "unknown"
          ]
        },
        "data_source": {
          "type": "string",
          "enum": [
            "demo",
            "fake_worker",
            "fixture",
            "live_provider",
            "schedule_reference"
          ]
        },
        "parser_version": {
          "type": "string"
        },
        "observation_trace_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "fixture_sha": {
          "type": [
            "string",
            "null"
          ]
        },
        "observation_outcome": {
          "type": "string",
          "enum": [
            "verified",
            "partial",
            "unavailable",
            "failed"
          ]
        },
        "disclaimer": {
          "type": "string",
          "const": "Ferry fares can change. Confirm final availability and price directly with BC Ferries before making travel decisions."
        }
      }
    },
    {
      "type": "object",
      "required": [
        "route_id",
        "profile_id",
        "period_start",
        "period_end",
        "fare_by_weekday",
        "fare_by_time_block",
        "fare_by_booking_window",
        "delay_by_time_block"
      ],
      "properties": {
        "route_id": {
          "type": "string",
          "enum": [
            "TSA_SWB",
            "SWB_TSA",
            "TSA_DUK",
            "DUK_TSA",
            "TSA_NAN",
            "HSB_NAN",
            "NAN_HSB",
            "SWB_FUL",
            "FUL_SWB",
            "HSB_LNG",
            "LNG_HSB",
            "ERL_SLT",
            "SLT_ERL",
            "CMX_PWR",
            "PWR_CMX"
          ]
        },
        "profile_id": {
          "type": "string",
          "enum": [
            "ADULT_NO_VEHICLE",
            "ADULT_STANDARD_VEHICLE",
            "ADULT_OVERHEIGHT_VEHICLE"
          ]
        },
        "period_start": {
          "type": "string",
          "format": "date"
        },
        "period_end": {
          "type": "string",
          "format": "date"
        },
        "fare_by_weekday": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteInsightFareBucket"
          }
        },
        "fare_by_time_block": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteInsightFareBucket"
          }
        },
        "fare_by_booking_window": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteInsightFareBucket"
          }
        },
        "delay_by_time_block": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RouteInsightDelayBucket"
          }
        }
      }
    }
  ],
  "$defs": {
    "RouteInsightDelayBucket": {
      "type": "object",
      "required": [
        "key",
        "label",
        "delayed_percent",
        "eligible_sailings",
        "delayed_sailings",
        "threshold_minutes"
      ],
      "properties": {
        "key": {
          "type": "string",
          "enum": [
            "early_morning",
            "morning",
            "afternoon",
            "evening",
            "late_evening"
          ]
        },
        "label": {
          "type": "string"
        },
        "delayed_percent": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0,
          "maximum": 100
        },
        "eligible_sailings": {
          "type": "integer",
          "minimum": 0
        },
        "delayed_sailings": {
          "type": "integer",
          "minimum": 0
        },
        "threshold_minutes": {
          "type": "integer",
          "const": 10
        }
      }
    },
    "RouteInsightExample": {
      "type": "object",
      "required": [
        "travel_date",
        "departure_time",
        "price_cents",
        "fare_family"
      ],
      "properties": {
        "travel_date": {
          "type": "string",
          "format": "date"
        },
        "departure_time": {
          "type": "string"
        },
        "price_cents": {
          "type": "integer",
          "minimum": 0
        },
        "fare_family": {
          "type": "string",
          "enum": [
            "SAVER",
            "PREPAID",
            "RESERVATION_ONLY",
            "STANDARD"
          ]
        }
      }
    },
    "RouteInsightFareBucket": {
      "type": "object",
      "required": [
        "key",
        "label",
        "median_price_cents",
        "lowest_price_cents",
        "saver_percent",
        "eligible_sailings",
        "examples"
      ],
      "properties": {
        "key": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "median_price_cents": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0
        },
        "lowest_price_cents": {
          "type": [
            "integer",
            "null"
          ],
          "minimum": 0
        },
        "saver_percent": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0,
          "maximum": 100
        },
        "eligible_sailings": {
          "type": "integer",
          "minimum": 0
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sweetsaverfare-com-route-insights-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.