{
  "agency": {
    "id": "toronto-transit-services",
    "name": "Toronto Transit Services",
    "timezone": "America/Toronto",
    "serviceArea": {
      "municipality": "Toronto",
      "province": "Ontario",
      "country": "CA"
    },
    "contact": {
      "operationsEmail": "operations@transit.example.ca",
      "dispatchPhone": "+1-416-555-0142"
    }
  },
  "servicePlan": {
    "planId": "weekday-fall-2026-v3",
    "effectiveDates": {
      "start": "2026-09-01",
      "end": "2026-12-19"
    },
    "serviceDays": [
      "monday",
      "tuesday",
      "wednesday",
      "thursday",
      "friday"
    ],
    "exceptions": [
      {
        "date": "2026-10-12",
        "type": "reduced_service",
        "schedule": "holiday"
      },
      {
        "date": "2026-12-18",
        "type": "extended_service",
        "reason": "seasonal_events"
      }
    ],
    "routes": [
      {
        "routeId": "10",
        "publicName": "Downtown–North Station",
        "mode": "bus",
        "color": "#2B6CB0",
        "accessible": true,
        "directionVariants": [
          {
            "directionId": 0,
            "headsign": "North Station",
            "stops": [
              {
                "stopId": "DT-001",
                "name": "Union Transit Centre",
                "sequence": 1,
                "coordinates": {
                  "latitude": 43.6454,
                  "longitude": -79.3807
                },
                "amenities": [
                  "shelter",
                  "real_time_display",
                  "fare_machine",
                  "elevator"
                ]
              },
              {
                "stopId": "DT-014",
                "name": "City Hall",
                "sequence": 2,
                "coordinates": {
                  "latitude": 43.6534,
                  "longitude": -79.3841
                },
                "amenities": [
                  "shelter",
                  "bench"
                ]
              },
              {
                "stopId": "NS-100",
                "name": "North Station",
                "sequence": 3,
                "coordinates": {
                  "latitude": 43.7048,
                  "longitude": -79.3986
                },
                "amenities": [
                  "shelter",
                  "real_time_display",
                  "washroom",
                  "bike_rack"
                ]
              }
            ]
          }
        ],
        "frequency": {
          "periods": [
            {
              "name": "early_morning",
              "startTime": "05:00:00",
              "endTime": "06:29:59",
              "headwayMinutes": 20
            },
            {
              "name": "morning_peak",
              "startTime": "06:30:00",
              "endTime": "09:29:59",
              "headwayMinutes": 8
            },
            {
              "name": "midday",
              "startTime": "09:30:00",
              "endTime": "15:29:59",
              "headwayMinutes": 12
            },
            {
              "name": "afternoon_peak",
              "startTime": "15:30:00",
              "endTime": "18:59:59",
              "headwayMinutes": 7
            },
            {
              "name": "evening",
              "startTime": "19:00:00",
              "endTime": "01:00:00",
              "headwayMinutes": 15
            }
          ],
          "scheduledTrips": 146
        },
        "resources": {
          "vehicleType": "battery_electric_bus",
          "minimumVehicles": 14,
          "scheduledVehicles": 16,
          "spareRatio": 0.125,
          "operatorShifts": [
            {
              "shiftCode": "10-AM-A",
              "startTime": "04:42:00",
              "endTime": "12:42:00",
              "reliefPoint": "Union Transit Centre"
            },
            {
              "shiftCode": "10-PM-B",
              "startTime": "12:30:00",
              "endTime": "20:30:00",
              "reliefPoint": "North Station"
            }
          ]
        }
      },
      {
        "routeId": "503",
        "publicName": "Harbour Express",
        "mode": "streetcar",
        "color": "#C53030",
        "accessible": true,
        "directionVariants": [
          {
            "directionId": 0,
            "headsign": "East Harbour",
            "stops": [
              {
                "stopId": "HB-001",
                "name": "West Harbour Loop",
                "sequence": 1,
                "coordinates": {
                  "latitude": 43.6372,
                  "longitude": -79.4038
                },
                "amenities": [
                  "shelter",
                  "real_time_display"
                ]
              },
              {
                "stopId": "HB-050",
                "name": "Ferry Terminal",
                "sequence": 2,
                "coordinates": {
                  "latitude": 43.6402,
                  "longitude": -79.3772
                },
                "amenities": [
                  "shelter",
                  "fare_machine",
                  "bike_share"
                ]
              },
              {
                "stopId": "HB-099",
                "name": "East Harbour",
                "sequence": 3,
                "coordinates": {
                  "latitude": 43.6493,
                  "longitude": -79.3407
                },
                "amenities": [
                  "shelter",
                  "real_time_display",
                  "heated_waiting_area"
                ]
              }
            ]
          }
        ],
        "frequency": {
          "periods": [
            {
              "name": "morning_peak",
              "startTime": "06:00:00",
              "endTime": "09:29:59",
              "headwayMinutes": 6
            },
            {
              "name": "off_peak",
              "startTime": "09:30:00",
              "endTime": "15:29:59",
              "headwayMinutes": 10
            },
            {
              "name": "afternoon_peak",
              "startTime": "15:30:00",
              "endTime": "19:00:00",
              "headwayMinutes": 6
            }
          ],
          "scheduledTrips": 118
        },
        "resources": {
          "vehicleType": "low_floor_streetcar",
          "minimumVehicles": 10,
          "scheduledVehicles": 12,
          "spareRatio": 0.167,
          "operatorShifts": []
        }
      }
    ],
    "performanceTargets": {
      "onTimePerformancePercent": 90,
      "maximumEarlyDepartureSeconds": 0,
      "maximumLateDepartureSeconds": 300,
      "tripCompletionPercent": 99.5,
      "averageCrowdingThreshold": {
        "seatedLoadFactor": 1,
        "maximumLoadFactor": 1.35
      }
    },
    "serviceAlerts": [
      {
        "alertId": "construction-2026-044",
        "severity": "moderate",
        "activePeriod": {
          "start": "2026-09-14T05:00:00-04:00",
          "end": "2026-10-02T23:59:59-04:00"
        },
        "affectedRoutes": [
          "10"
        ],
        "description": "Temporary stop relocation due to water-main construction.",
        "alternateStopIds": [
          "DT-014A"
        ]
      }
    ]
  },
  "metadata": {
    "status": "approved",
    "revision": 3,
    "createdAt": "2026-07-18T14:22:09-04:00",
    "updatedAt": "2026-07-28T09:41:33-04:00",
    "approvedBy": {
      "department": "Service Planning",
      "role": "Manager, Network Operations"
    },
    "dataSources": [
      {
        "type": "automatic_passenger_counts",
        "period": "2026-Q2"
      },
      {
        "type": "operator_run_times",
        "period": "2026-04-01/2026-06-30"
      },
      {
        "type": "public_consultation",
        "reference": "PC-2026-117"
      }
    ]
  }
}