diff --git a/src/APIexamples/departureuser1.json b/src/APIexamples/departureuser1.json new file mode 100644 index 0000000..ab6e8a8 --- /dev/null +++ b/src/APIexamples/departureuser1.json @@ -0,0 +1,29 @@ +{ + "DepartureBoard": { + "noNamespaceSchemaLocation": "http://api.vasttrafik.se/v1/hafasRestDepartureBoard.xsd", + "servertime": "10:09", + "serverdate": "2020-12-10", + "Departure": { + "name": "Buss MEXP", + "sname": "MEXP", + "journeyNumber": "24", + "type": "BUS", + "stopid": "9022014014754002", + "stop": "Bollestadsvägen, Kungälv", + "time": "10:09", + "date": "2020-12-10", + "journeyid": "9015014621000024", + "direction": "Marstrand", + "track": "B", + "rtTime": "10:11", + "rtDate": "2020-12-10", + "fgColor": "#006C93", + "bgColor": "#FFFFFF", + "stroke": "Solid", + "accessibility": "wheelChair", + "JourneyDetailRef": { + "ref": "https://api.vasttrafik.se/bin/rest.exe/v2/journeyDetail?ref=347217%2F124275%2F19874%2F105802%2F80%3Fdate%3D2020-12-10%26station_evaId%3D14754002%26station_type%3Ddep%26format%3Djson%26" + } + } + } + } \ No newline at end of file diff --git a/src/APIexamples/departureuser2.json b/src/APIexamples/departureuser2.json new file mode 100644 index 0000000..6081681 --- /dev/null +++ b/src/APIexamples/departureuser2.json @@ -0,0 +1,29 @@ +{ + "DepartureBoard": { + "noNamespaceSchemaLocation": "http://api.vasttrafik.se/v1/hafasRestDepartureBoard.xsd", + "servertime": "10:10", + "serverdate": "2020-12-10", + "Departure": { + "name": "Buss MEXP", + "sname": "MEXP", + "journeyNumber": "24", + "type": "BUS", + "stopid": "9022014014020002", + "stop": "Ekelöv västra, Kungälv", + "time": "10:10", + "date": "2020-12-10", + "journeyid": "9015014621000024", + "direction": "Marstrand", + "track": "B", + "rtTime": "10:13", + "rtDate": "2020-12-10", + "fgColor": "#006C93", + "bgColor": "#FFFFFF", + "stroke": "Solid", + "accessibility": "wheelChair", + "JourneyDetailRef": { + "ref": "https://api.vasttrafik.se/bin/rest.exe/v2/journeyDetail?ref=740262%2F255290%2F59460%2F217024%2F80%3Fdate%3D2020-12-10%26station_evaId%3D14020002%26station_type%3Ddep%26format%3Djson%26" + } + } + } +} \ No newline at end of file diff --git a/src/APIexamples/departureuser3.json b/src/APIexamples/departureuser3.json new file mode 100644 index 0000000..7531f53 --- /dev/null +++ b/src/APIexamples/departureuser3.json @@ -0,0 +1,27 @@ +{ + "DepartureBoard": { + "noNamespaceSchemaLocation": "http://api.vasttrafik.se/v1/hafasRestDepartureBoard.xsd", + "servertime": "10:10", + "serverdate": "2020-12-10", + "Departure": { + "name": "Buss MEXP", + "sname": "MEXP", + "journeyNumber": "24", + "type": "BUS", + "stopid": "9022014014751002", + "stop": "Guddeby, Kungälv", + "time": "10:07", + "date": "2020-12-10", + "journeyid": "9015014621000024", + "direction": "Marstrand", + "track": "B", + "fgColor": "#006C93", + "bgColor": "#FFFFFF", + "stroke": "Solid", + "accessibility": "wheelChair", + "JourneyDetailRef": { + "ref": "https://api.vasttrafik.se/bin/rest.exe/v2/journeyDetail?ref=473190%2F166266%2F666560%2F175550%2F80%3Fdate%3D2020-12-10%26station_evaId%3D14751002%26station_type%3Ddep%26format%3Djson%26" + } + } + } + } \ No newline at end of file diff --git a/src/APIexamples/departureuser4.json b/src/APIexamples/departureuser4.json new file mode 100644 index 0000000..71ce140 --- /dev/null +++ b/src/APIexamples/departureuser4.json @@ -0,0 +1,31 @@ +{ + "DepartureBoard": { + "noNamespaceSchemaLocation": "http://api.vasttrafik.se/v1/hafasRestDepartureBoard.xsd", + "servertime": "10:11", + "serverdate": "2020-12-10", + "Departure": [ + { + "name": "Buss 928", + "sname": "928", + "journeyNumber": "10", + "type": "BUS", + "stopid": "9022014014225001", + "stop": "Skrämmenborg, Kungälv", + "time": "15:19", + "date": "2020-12-10", + "journeyid": "9015014692800010", + "direction": "Kärna", + "track": "A", + "rtTime": "15:19", + "rtDate": "2020-12-10", + "fgColor": "#006C93", + "bgColor": "#FFFFFF", + "stroke": "Solid", + "accessibility": "wheelChair", + "JourneyDetailRef": { + "ref": "https://api.vasttrafik.se/bin/rest.exe/v2/journeyDetail?ref=261732%2F87569%2F149176%2F12656%2F80%3Fdate%3D2020-12-10%26station_evaId%3D14225001%26station_type%3Ddep%26format%3Djson%26" + } + } + ] + } + } \ No newline at end of file