{"type":"object","properties":{"schema":{"const":"https://otranspo.ca/schemas/public-api/v1/transit-planning-baseline"},"routeId":{"type":"string"},"serviceDate":{"type":"string","format":"date"},"generatedAt":{"type":"string","format":"date-time"},"source":{"const":"current_imported_official_gtfs"},"trips":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"start":{"anyOf":[{"type":"string"},{"type":"null"}]},"end":{"anyOf":[{"type":"string"},{"type":"null"}]},"seconds":{"anyOf":[{"type":"number"},{"type":"null"}]}},"required":["id","start","end","seconds"],"additionalProperties":true}},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"lat":{"anyOf":[{"type":"number"},{"type":"null"}]},"lng":{"anyOf":[{"type":"number"},{"type":"null"}]},"proposed":{"type":"boolean"}},"required":["id","name","lat","lng"],"additionalProperties":true}},"patterns":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"headsign":{"anyOf":[{"type":"string"},{"type":"null"}]},"direction":{"anyOf":[{"type":"integer"},{"type":"null"}]},"trips":{"type":"integer","minimum":0},"stopIds":{"type":"array","items":{"type":"string"}},"sampleTripId":{"type":"string"}},"required":["id","headsign","direction","trips","stopIds","sampleTripId"],"additionalProperties":true}},"timetableSource":{"anyOf":[{"type":"object","properties":{"sourceUrl":{"type":"string"},"checksum":{"type":"string"},"fetchedAt":{"type":"string","format":"date-time"}},"additionalProperties":true},{"type":"null"}]},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true,"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://otranspo.ca/schemas/public-api/v1/transit-planning-baseline","title":"transit-planning-baseline response schema","x-api-version":"1.0.0"}