{
  "schemaVersion": "1.4.0",
  "generatedAt": "2026-07-11T08:30:00-04:00",
  "planningHorizon": {
    "startDate": "2026-09-01",
    "endDate": "2026-12-31",
    "serviceDays": ["weekday", "saturday", "sunday"]
  },
  "agency": {
    "id": "metroville-transit",
    "name": "Metroville Transit Authority",
    "timezone": "America/Toronto",
    "contact": {
      "email": "planning@metrovilletransit.gov",
      "phone": "+1-416-555-0198"
    }
  },
  "serviceConfig": {
    "defaultHeadwaysMinutes": {
      "peak": 10,
      "midday": 15,
      "evening": 20,
      "overnight": 30
    },
    "accessibilityRequired": true,
    "minimumLayoverMinutes": 6,
    "maximumCrowdingRatio": 1.15
  },
  "routes": [
    {
      "routeId": "12",
      "shortName": "12",
      "longName": "Harbourfront Station to Cedar Heights",
      "mode": "bus",
      "priority": "frequent",
      "operatingWindow": {
        "weekday": {
          "start": "05:00",
          "end": "01:30"
        },
        "saturday": {
          "start": "05:30",
          "end": "01:00"
        },
        "sunday": {
          "start": "06:00",
          "end": "00:30"
        }
      },
      "patterns": [
        {
          "patternId": "12-eastbound",
          "direction": "eastbound",
          "stops": [
            {
              "stopId": "STN-HARBOUR",
              "name": "Harbourfront Station",
              "sequence": 1,
              "platform": "Bay 3"
            },
            {
              "stopId": "KING-ELM",
              "name": "King Street at Elm Avenue",
              "sequence": 2
            },
            {
              "stopId": "CEDAR-TERM",
              "name": "Cedar Heights Terminal",
              "sequence": 3,
              "platform": "A"
            }
          ],
          "scheduledRuntimeMinutes": {
            "peak": 42,
            "offPeak": 35
          }
        }
      ],
      "fleetAssignments": {
        "vehicleType": "battery-electric-bus-40ft",
        "weekdayPeakVehicles": 11,
        "spareRatio": 0.18
      }
    },
    {
      "routeId": "BRT-4",
      "shortName": "BRT 4",
      "longName": "North Crosstown Rapid",
      "mode": "brt",
      "priority": "rapid",
      "operatingWindow": {
        "weekday": {
          "start": "04:45",
          "end": "02:00"
        },
        "saturday": {
          "start": "05:00",
          "end": "02:00"
        },
        "sunday": {
          "start": "05:30",
          "end": "01:00"
        }
      },
      "patterns": [
        {
          "patternId": "brt4-westbound",
          "direction": "westbound",
          "stops": [
            {
              "stopId": "UNI-CENTRE",
              "name": "University Centre",
              "sequence": 1,
              "platform": "Westbound"
            },
            {
              "stopId": "CIVIC-PLAZA",
              "name": "Civic Plaza",
              "sequence": 2,
              "platform": "Westbound"
            },
            {
              "stopId": "WESTGATE",
              "name": "Westgate Transit Hub",
              "sequence": 3,
              "platform": "BRT Bay 1"
            }
          ],
          "scheduledRuntimeMinutes": {
            "peak": 28,
            "offPeak": 24
          }
        }
      ],
      "fleetAssignments": {
        "vehicleType": "articulated-hybrid-bus-60ft",
        "weekdayPeakVehicles": 16,
        "spareRatio": 0.2
      }
    }
  ],
  "demandForecast": {
    "modelVersion": "ridership-forecast-2026.2",
    "averageWeekdayBoardings": 184300,
    "corridorHotspots": [
      {
        "corridor": "North Crosstown",
        "expectedPeakLoad": 5200,
        "riskLevel": "high"
      },
      {
        "corridor": "Harbourfront-Cedar",
        "expectedPeakLoad": 3100,
        "riskLevel": "medium"
      }
    ]
  },
  "constraints": {
    "roadwork": [
      {
        "id": "RW-2026-117",
        "location": "King Street between Elm Avenue and Market Road",
        "startDate": "2026-09-15",
        "endDate": "2026-11-20",
        "expectedDelayMinutes": 6,
        "affectedRoutes": ["12"]
      }
    ],
    "schoolCalendars": [
      {
        "district": "Metroville Public Schools",
        "firstDay": "2026-09-08",
        "lastDay": "2026-06-25",
        "routesWithSchoolExtras": ["12"]
      }
    ]
  },
  "performanceTargets": {
    "onTimePerformancePercent": 88,
    "missedTripsPer1000": 3,
    "averagePassengerWaitMinutes": 7.5,
    "accessibilityCompliancePercent": 100
  }
}