Sweet Saver Fare · Schema

PredictionSnapshot

TravelTransportationFerryFare ComparisonBC

Properties

Name Type Description
sailing_instance_id string
route_id string
profile_id string
target string
feature_cutoff string
observed_at string
stale_after string
freshness_state string
source_observation_id string
source_status string
data_source string
parser_version string
observation_trace_id stringnull
fixture_sha stringnull
observation_outcome string
outcome_reason stringnull
horizon_hours integer
output_kind string
release_stage string
evidence_source string
evidence_window_start string
evidence_window_end string
probability numbernull
interval_lower numbernull
interval_upper numbernull
estimate_percent numbernull
lower_percent numbernull
upper_percent numbernull
timeline_points arraynull
checkpoint_at stringnull
checkpoint_kind stringnull
first_full_estimate_at stringnull
first_full_lower_at stringnull
first_full_upper_at stringnull
View JSON Schema on GitHub

JSON Schema

sweetsaverfare-com-prediction-snapshot-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sweetsaverfare-com/json-schema/sweetsaverfare-com-prediction-snapshot-schema.json",
  "title": "PredictionSnapshot",
  "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/PredictionSnapshot",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "sailing_instance_id",
    "route_id",
    "profile_id",
    "target",
    "feature_cutoff",
    "observed_at",
    "stale_after",
    "freshness_state",
    "source_observation_id",
    "source_status",
    "data_source",
    "parser_version",
    "observation_trace_id",
    "fixture_sha",
    "observation_outcome",
    "outcome_reason",
    "horizon_hours",
    "output_kind",
    "release_stage",
    "evidence_source",
    "evidence_window_start",
    "evidence_window_end",
    "checkpoint_at",
    "checkpoint_kind",
    "first_full_estimate_at",
    "first_full_lower_at",
    "first_full_upper_at"
  ],
  "properties": {
    "sailing_instance_id": {
      "type": "string",
      "format": "uuid"
    },
    "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"
      ]
    },
    "target": {
      "type": "string",
      "enum": [
        "LOWER_SAVER_24H",
        "LOWER_SAVER_7D",
        "DECREASE_BEFORE_SAILING",
        "VEHICLE_SPACE_AVAILABILITY"
      ]
    },
    "feature_cutoff": {
      "type": "string",
      "format": "date-time"
    },
    "observed_at": {
      "type": "string",
      "format": "date-time"
    },
    "stale_after": {
      "type": "string",
      "format": "date-time"
    },
    "freshness_state": {
      "type": "string",
      "enum": [
        "fresh"
      ]
    },
    "source_observation_id": {
      "type": "string",
      "format": "uuid"
    },
    "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",
      "minLength": 1
    },
    "observation_trace_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "fixture_sha": {
      "type": [
        "string",
        "null"
      ]
    },
    "observation_outcome": {
      "type": "string",
      "enum": [
        "verified",
        "partial",
        "unavailable",
        "failed"
      ]
    },
    "outcome_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "horizon_hours": {
      "type": "integer",
      "minimum": 1
    },
    "output_kind": {
      "type": "string",
      "enum": [
        "probability",
        "percentage_range",
        "percentage_timeline",
        "vehicle_availability"
      ]
    },
    "release_stage": {
      "type": "string",
      "enum": [
        "beta"
      ]
    },
    "evidence_source": {
      "type": "string",
      "enum": [
        "fare_observation",
        "current_conditions"
      ]
    },
    "evidence_window_start": {
      "type": "string",
      "format": "date-time"
    },
    "evidence_window_end": {
      "type": "string",
      "format": "date-time"
    },
    "probability": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "maximum": 1
    },
    "interval_lower": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "maximum": 1
    },
    "interval_upper": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "maximum": 1
    },
    "estimate_percent": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "maximum": 100
    },
    "lower_percent": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "maximum": 100
    },
    "upper_percent": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "maximum": 100
    },
    "timeline_points": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "hours_before_departure",
          "estimate_percent",
          "lower_percent",
          "upper_percent"
        ],
        "properties": {
          "hours_before_departure": {
            "type": "integer",
            "enum": [
              12,
              6,
              3,
              1
            ]
          },
          "estimate_percent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "lower_percent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "upper_percent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          }
        }
      }
    },
    "checkpoint_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "checkpoint_kind": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "preceding_sailing_departure",
        "two_hours_before_departure",
        null
      ]
    },
    "first_full_estimate_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "first_full_lower_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "first_full_upper_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  },
  "oneOf": [
    {
      "required": [
        "probability",
        "interval_lower",
        "interval_upper"
      ],
      "properties": {
        "output_kind": {
          "const": "probability"
        }
      }
    },
    {
      "required": [
        "estimate_percent",
        "lower_percent",
        "upper_percent"
      ],
      "properties": {
        "output_kind": {
          "const": "percentage_range"
        }
      }
    },
    {
      "required": [
        "timeline_points"
      ],
      "properties": {
        "output_kind": {
          "const": "percentage_timeline"
        }
      }
    },
    {
      "required": [
        "probability",
        "interval_lower",
        "interval_upper",
        "checkpoint_at",
        "checkpoint_kind"
      ],
      "properties": {
        "output_kind": {
          "const": "vehicle_availability"
        }
      }
    }
  ]
}

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-prediction-snapshot"
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.