Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Add fields used for opt-in travel behavior data collection
Browse files Browse the repository at this point in the history
  • Loading branch information
barbeau committed Jun 27, 2019
1 parent 6e40fcb commit 4bacd5b
Show file tree
Hide file tree
Showing 5 changed files with 166 additions and 80 deletions.
72 changes: 48 additions & 24 deletions staging/regions-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
"supportsEmbeddedSocial": true,
"supportsObaRealtimeApis": true,
"contactEmail": "[email protected]",
"enrollParticipantsInStudy": true,
"obaBaseUrl": "http://api.tampa.onebusaway.org/api/",
"supportsObaDiscoveryApis": true,
"id": 0,
"regionName": "Tampa Bay",
"obaVersionInfo": "1.1.11-SNAPSHOT|1|1|11|SNAPSHOT|6950d86123a7a9e5f12065bcbec0c516f35d86d9",
"id": 0,
"travelBehaviorDataCollectionEnabled": true,
"supportsObaDiscoveryApis": true,
"supportsOtpBikeshare": true,
"otpContactEmail": "[email protected]",
"otpBaseUrl": "https://otp.prod.obahart.org/otp/",
Expand Down Expand Up @@ -56,11 +58,13 @@
"supportsEmbeddedSocial": true,
"supportsObaRealtimeApis": true,
"contactEmail": "[email protected]",
"enrollParticipantsInStudy": true,
"obaBaseUrl": "http://api.pugetsound.onebusaway.org/",
"supportsObaDiscoveryApis": true,
"id": 1,
"regionName": "Puget Sound",
"obaVersionInfo": "1.1.7|1|1|7||c8ee3d4906dd55ecafdd124f31f39c0f54a37b52",
"id": 1,
"travelBehaviorDataCollectionEnabled": true,
"supportsObaDiscoveryApis": true,
"supportsOtpBikeshare": false,
"otpContactEmail": "[email protected]",
"otpBaseUrl": "http://tpng.api.soundtransit.org/tripplanner/st/",
Expand Down Expand Up @@ -139,11 +143,13 @@
"supportsEmbeddedSocial": true,
"supportsObaRealtimeApis": false,
"contactEmail": "[email protected]",
"enrollParticipantsInStudy": true,
"obaBaseUrl": "http://bustime.mta.info/",
"supportsObaDiscoveryApis": true,
"id": 2,
"regionName": "MTA New York",
"obaVersionInfo": "",
"id": 2,
"travelBehaviorDataCollectionEnabled": true,
"supportsObaDiscoveryApis": true,
"supportsOtpBikeshare": false,
"otpContactEmail": null,
"otpBaseUrl": null,
Expand Down Expand Up @@ -180,11 +186,13 @@
"supportsEmbeddedSocial": true,
"supportsObaRealtimeApis": true,
"contactEmail": "[email protected]",
"enrollParticipantsInStudy": true,
"obaBaseUrl": "http://atlanta.onebusaway.org/api/",
"supportsObaDiscoveryApis": true,
"id": 3,
"regionName": "Atlanta",
"obaVersionInfo": "1.1.14-SNAPSHOT|1|1|14|SNAPSHOT|440e5cb692a1ed195de7f0686d69f5ceecbe9a41",
"id": 3,
"travelBehaviorDataCollectionEnabled": true,
"supportsObaDiscoveryApis": true,
"supportsOtpBikeshare": false,
"otpContactEmail": "[email protected]",
"otpBaseUrl": "http://opentrip.atlantaregion.com/otp",
Expand Down Expand Up @@ -251,11 +259,13 @@
"supportsEmbeddedSocial": false,
"supportsObaRealtimeApis": true,
"contactEmail": "[email protected]",
"enrollParticipantsInStudy": true,
"obaBaseUrl": "http://buseta.wmata.com/onebusaway-api-webapp/",
"supportsObaDiscoveryApis": true,
"id": 4,
"regionName": "Washington, D.C.",
"obaVersionInfo": "",
"id": 4,
"travelBehaviorDataCollectionEnabled": true,
"supportsObaDiscoveryApis": true,
"supportsOtpBikeshare": false,
"otpContactEmail": null,
"otpBaseUrl": null,
Expand Down Expand Up @@ -286,11 +296,13 @@
"supportsEmbeddedSocial": true,
"supportsObaRealtimeApis": true,
"contactEmail": "[email protected]",
"enrollParticipantsInStudy": true,
"obaBaseUrl": "https://oba.yrt.ca/",
"supportsObaDiscoveryApis": true,
"id": 5,
"regionName": "York",
"obaVersionInfo": "1.1.7|1|1|7||c8ee3d4906dd55ecafdd124f31f39c0f54a37b52",
"id": 5,
"travelBehaviorDataCollectionEnabled": true,
"supportsObaDiscoveryApis": true,
"supportsOtpBikeshare": false,
"otpContactEmail": null,
"otpBaseUrl": null,
Expand Down Expand Up @@ -321,11 +333,13 @@
"supportsEmbeddedSocial": false,
"supportsObaRealtimeApis": true,
"contactEmail": "[email protected]",
"enrollParticipantsInStudy": true,
"obaBaseUrl": "http://bt.v-a.io/onebusaway/",
"supportsObaDiscoveryApis": true,
"id": 6,
"regionName": "Bear Transit (beta)",
"obaVersionInfo": "1.1.7|1|1|7|d3bbb9109a652359845bdee516dc2cbd1ba35e49",
"id": 6,
"travelBehaviorDataCollectionEnabled": true,
"supportsObaDiscoveryApis": true,
"supportsOtpBikeshare": false,
"otpContactEmail": null,
"otpBaseUrl": null,
Expand Down Expand Up @@ -356,11 +370,13 @@
"supportsEmbeddedSocial": false,
"supportsObaRealtimeApis": true,
"contactEmail": "[email protected]",
"enrollParticipantsInStudy": true,
"obaBaseUrl": "http://developer.onebusaway.org/mbta-api/",
"supportsObaDiscoveryApis": true,
"id": 7,
"regionName": "Boston (beta)",
"obaVersionInfo": "",
"id": 7,
"travelBehaviorDataCollectionEnabled": true,
"supportsObaDiscoveryApis": true,
"supportsOtpBikeshare": false,
"otpContactEmail": null,
"otpBaseUrl": null,
Expand Down Expand Up @@ -397,11 +413,13 @@
"supportsEmbeddedSocial": false,
"supportsObaRealtimeApis": true,
"contactEmail": "[email protected]",
"enrollParticipantsInStudy": true,
"obaBaseUrl": "http://194.89.230.196:8080/",
"supportsObaDiscoveryApis": true,
"id": 8,
"regionName": "Lappeenranta (beta)",
"obaVersionInfo": "1.1.13|1|1|13||ef9f836500eafee955381b17799b3105b525e93b",
"id": 8,
"travelBehaviorDataCollectionEnabled": true,
"supportsObaDiscoveryApis": true,
"supportsOtpBikeshare": false,
"otpContactEmail": null,
"otpBaseUrl": null,
Expand Down Expand Up @@ -432,11 +450,13 @@
"supportsEmbeddedSocial": true,
"supportsObaRealtimeApis": true,
"contactEmail": "[email protected]",
"enrollParticipantsInStudy": true,
"obaBaseUrl": "http://oba.rvtd.org:8080/onebusaway-api-webapp/",
"supportsObaDiscoveryApis": true,
"id": 9,
"regionName": "Rogue Valley, Oregon",
"obaVersionInfo": "",
"id": 9,
"travelBehaviorDataCollectionEnabled": true,
"supportsObaDiscoveryApis": true,
"supportsOtpBikeshare": false,
"otpContactEmail": null,
"otpBaseUrl": null,
Expand Down Expand Up @@ -467,11 +487,13 @@
"supportsEmbeddedSocial": true,
"supportsObaRealtimeApis": true,
"contactEmail": "[email protected]",
"enrollParticipantsInStudy": true,
"obaBaseUrl": "http://www.obartd.com/onebusaway-api-webapp/",
"supportsObaDiscoveryApis": true,
"id": 10,
"regionName": "San Joaquin RTD (beta)",
"obaVersionInfo": "1.1.12-SNAPSHOT|1|1|12|SNAPSHOT|",
"id": 10,
"travelBehaviorDataCollectionEnabled": true,
"supportsObaDiscoveryApis": true,
"supportsOtpBikeshare": false,
"otpContactEmail": null,
"otpBaseUrl": null,
Expand Down Expand Up @@ -502,11 +524,13 @@
"supportsEmbeddedSocial": true,
"supportsObaRealtimeApis": true,
"contactEmail": "[email protected]",
"enrollParticipantsInStudy": true,
"obaBaseUrl": "http://realtime.sdmts.com/api/",
"supportsObaDiscoveryApis": true,
"id": 11,
"regionName": "San Diego",
"obaVersionInfo": "1.1.14|1|1|14|73aea0d ",
"id": 11,
"travelBehaviorDataCollectionEnabled": true,
"supportsObaDiscoveryApis": true,
"supportsOtpBikeshare": false,
"otpContactEmail": "[email protected]",
"otpBaseUrl": "http://realtime.sdmts.com:9090/otp",
Expand Down
72 changes: 48 additions & 24 deletions staging/regions-v3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
<supportsEmbeddedSocial>true</supportsEmbeddedSocial>
<supportsObaRealtimeApis>true</supportsObaRealtimeApis>
<contactEmail>[email protected]</contactEmail>
<enrollParticipantsInStudy>true</enrollParticipantsInStudy>
<obaBaseUrl>http://api.tampa.onebusaway.org/api/</obaBaseUrl>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<id>0</id>
<regionName>Tampa Bay</regionName>
<obaVersionInfo>1.1.11-SNAPSHOT|1|1|11|SNAPSHOT|6950d86123a7a9e5f12065bcbec0c516f35d86d9</obaVersionInfo>
<id>0</id>
<travelBehaviorDataCollectionEnabled>true</travelBehaviorDataCollectionEnabled>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<supportsOtpBikeshare>true</supportsOtpBikeshare>
<otpContactEmail>[email protected]</otpContactEmail>
<otpBaseUrl>https://otp.prod.obahart.org/otp/</otpBaseUrl>
Expand Down Expand Up @@ -57,11 +59,13 @@
<supportsEmbeddedSocial>true</supportsEmbeddedSocial>
<supportsObaRealtimeApis>true</supportsObaRealtimeApis>
<contactEmail>[email protected]</contactEmail>
<enrollParticipantsInStudy>true</enrollParticipantsInStudy>
<obaBaseUrl>http://api.pugetsound.onebusaway.org/</obaBaseUrl>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<id>1</id>
<regionName>Puget Sound</regionName>
<obaVersionInfo>1.1.7|1|1|7||c8ee3d4906dd55ecafdd124f31f39c0f54a37b52</obaVersionInfo>
<id>1</id>
<travelBehaviorDataCollectionEnabled>true</travelBehaviorDataCollectionEnabled>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<supportsOtpBikeshare>false</supportsOtpBikeshare>
<otpContactEmail>[email protected]</otpContactEmail>
<otpBaseUrl>http://tpng.api.soundtransit.org/tripplanner/st/</otpBaseUrl>
Expand Down Expand Up @@ -140,11 +144,13 @@
<supportsEmbeddedSocial>true</supportsEmbeddedSocial>
<supportsObaRealtimeApis>false</supportsObaRealtimeApis>
<contactEmail>[email protected]</contactEmail>
<enrollParticipantsInStudy>true</enrollParticipantsInStudy>
<obaBaseUrl>http://bustime.mta.info/</obaBaseUrl>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<id>2</id>
<regionName>MTA New York</regionName>
<obaVersionInfo></obaVersionInfo>
<id>2</id>
<travelBehaviorDataCollectionEnabled>true</travelBehaviorDataCollectionEnabled>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<supportsOtpBikeshare>false</supportsOtpBikeshare>
<otpContactEmail></otpContactEmail>
<otpBaseUrl></otpBaseUrl>
Expand Down Expand Up @@ -181,11 +187,13 @@
<supportsEmbeddedSocial>true</supportsEmbeddedSocial>
<supportsObaRealtimeApis>true</supportsObaRealtimeApis>
<contactEmail>[email protected]</contactEmail>
<enrollParticipantsInStudy>true</enrollParticipantsInStudy>
<obaBaseUrl>http://atlanta.onebusaway.org/api/</obaBaseUrl>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<id>3</id>
<regionName>Atlanta</regionName>
<obaVersionInfo>1.1.14-SNAPSHOT|1|1|14|SNAPSHOT|440e5cb692a1ed195de7f0686d69f5ceecbe9a41</obaVersionInfo>
<id>3</id>
<travelBehaviorDataCollectionEnabled>true</travelBehaviorDataCollectionEnabled>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<supportsOtpBikeshare>false</supportsOtpBikeshare>
<otpContactEmail>[email protected]</otpContactEmail>
<otpBaseUrl>http://opentrip.atlantaregion.com/otp</otpBaseUrl>
Expand Down Expand Up @@ -252,11 +260,13 @@
<supportsEmbeddedSocial>false</supportsEmbeddedSocial>
<supportsObaRealtimeApis>true</supportsObaRealtimeApis>
<contactEmail>[email protected]</contactEmail>
<enrollParticipantsInStudy>true</enrollParticipantsInStudy>
<obaBaseUrl>http://buseta.wmata.com/onebusaway-api-webapp/</obaBaseUrl>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<id>4</id>
<regionName>Washington, D.C.</regionName>
<obaVersionInfo></obaVersionInfo>
<id>4</id>
<travelBehaviorDataCollectionEnabled>true</travelBehaviorDataCollectionEnabled>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<supportsOtpBikeshare>false</supportsOtpBikeshare>
<otpContactEmail></otpContactEmail>
<otpBaseUrl></otpBaseUrl>
Expand Down Expand Up @@ -287,11 +297,13 @@
<supportsEmbeddedSocial>true</supportsEmbeddedSocial>
<supportsObaRealtimeApis>true</supportsObaRealtimeApis>
<contactEmail>[email protected]</contactEmail>
<enrollParticipantsInStudy>true</enrollParticipantsInStudy>
<obaBaseUrl>https://oba.yrt.ca/</obaBaseUrl>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<id>5</id>
<regionName>York</regionName>
<obaVersionInfo>1.1.7|1|1|7||c8ee3d4906dd55ecafdd124f31f39c0f54a37b52</obaVersionInfo>
<id>5</id>
<travelBehaviorDataCollectionEnabled>true</travelBehaviorDataCollectionEnabled>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<supportsOtpBikeshare>false</supportsOtpBikeshare>
<otpContactEmail></otpContactEmail>
<otpBaseUrl></otpBaseUrl>
Expand Down Expand Up @@ -322,11 +334,13 @@
<supportsEmbeddedSocial>false</supportsEmbeddedSocial>
<supportsObaRealtimeApis>true</supportsObaRealtimeApis>
<contactEmail>[email protected]</contactEmail>
<enrollParticipantsInStudy>true</enrollParticipantsInStudy>
<obaBaseUrl>http://bt.v-a.io/onebusaway/</obaBaseUrl>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<id>6</id>
<regionName>Bear Transit (beta)</regionName>
<obaVersionInfo>1.1.7|1|1|7|d3bbb9109a652359845bdee516dc2cbd1ba35e49</obaVersionInfo>
<id>6</id>
<travelBehaviorDataCollectionEnabled>true</travelBehaviorDataCollectionEnabled>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<supportsOtpBikeshare>false</supportsOtpBikeshare>
<otpContactEmail></otpContactEmail>
<otpBaseUrl></otpBaseUrl>
Expand Down Expand Up @@ -357,11 +371,13 @@
<supportsEmbeddedSocial>false</supportsEmbeddedSocial>
<supportsObaRealtimeApis>true</supportsObaRealtimeApis>
<contactEmail>[email protected]</contactEmail>
<enrollParticipantsInStudy>true</enrollParticipantsInStudy>
<obaBaseUrl>http://developer.onebusaway.org/mbta-api/</obaBaseUrl>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<id>7</id>
<regionName>Boston (beta)</regionName>
<obaVersionInfo></obaVersionInfo>
<id>7</id>
<travelBehaviorDataCollectionEnabled>true</travelBehaviorDataCollectionEnabled>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<supportsOtpBikeshare>false</supportsOtpBikeshare>
<otpContactEmail></otpContactEmail>
<otpBaseUrl></otpBaseUrl>
Expand Down Expand Up @@ -398,11 +414,13 @@
<supportsEmbeddedSocial>false</supportsEmbeddedSocial>
<supportsObaRealtimeApis>true</supportsObaRealtimeApis>
<contactEmail>[email protected]</contactEmail>
<enrollParticipantsInStudy>true</enrollParticipantsInStudy>
<obaBaseUrl>http://194.89.230.196:8080/</obaBaseUrl>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<id>8</id>
<regionName>Lappeenranta (beta)</regionName>
<obaVersionInfo>1.1.13|1|1|13||ef9f836500eafee955381b17799b3105b525e93b</obaVersionInfo>
<id>8</id>
<travelBehaviorDataCollectionEnabled>true</travelBehaviorDataCollectionEnabled>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<supportsOtpBikeshare>false</supportsOtpBikeshare>
<otpContactEmail></otpContactEmail>
<otpBaseUrl></otpBaseUrl>
Expand Down Expand Up @@ -433,11 +451,13 @@
<supportsEmbeddedSocial>true</supportsEmbeddedSocial>
<supportsObaRealtimeApis>true</supportsObaRealtimeApis>
<contactEmail>[email protected]</contactEmail>
<enrollParticipantsInStudy>true</enrollParticipantsInStudy>
<obaBaseUrl>http://oba.rvtd.org:8080/onebusaway-api-webapp/</obaBaseUrl>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<id>9</id>
<regionName>Rogue Valley, Oregon</regionName>
<obaVersionInfo></obaVersionInfo>
<id>9</id>
<travelBehaviorDataCollectionEnabled>true</travelBehaviorDataCollectionEnabled>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<supportsOtpBikeshare>false</supportsOtpBikeshare>
<otpContactEmail></otpContactEmail>
<otpBaseUrl></otpBaseUrl>
Expand Down Expand Up @@ -468,11 +488,13 @@
<supportsEmbeddedSocial>true</supportsEmbeddedSocial>
<supportsObaRealtimeApis>true</supportsObaRealtimeApis>
<contactEmail>[email protected]</contactEmail>
<enrollParticipantsInStudy>true</enrollParticipantsInStudy>
<obaBaseUrl>http://www.obartd.com/onebusaway-api-webapp/</obaBaseUrl>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<id>10</id>
<regionName>San Joaquin RTD (beta)</regionName>
<obaVersionInfo>1.1.12-SNAPSHOT|1|1|12|SNAPSHOT|</obaVersionInfo>
<id>10</id>
<travelBehaviorDataCollectionEnabled>true</travelBehaviorDataCollectionEnabled>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<supportsOtpBikeshare>false</supportsOtpBikeshare>
<otpContactEmail></otpContactEmail>
<otpBaseUrl></otpBaseUrl>
Expand Down Expand Up @@ -503,11 +525,13 @@
<supportsEmbeddedSocial>true</supportsEmbeddedSocial>
<supportsObaRealtimeApis>true</supportsObaRealtimeApis>
<contactEmail>[email protected]</contactEmail>
<enrollParticipantsInStudy>true</enrollParticipantsInStudy>
<obaBaseUrl>http://realtime.sdmts.com/api/</obaBaseUrl>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<id>11</id>
<regionName>San Diego</regionName>
<obaVersionInfo>1.1.14|1|1|14|73aea0d </obaVersionInfo>
<id>11</id>
<travelBehaviorDataCollectionEnabled>true</travelBehaviorDataCollectionEnabled>
<supportsObaDiscoveryApis>true</supportsObaDiscoveryApis>
<supportsOtpBikeshare>false</supportsOtpBikeshare>
<otpContactEmail>[email protected]</otpContactEmail>
<otpBaseUrl>http://realtime.sdmts.com:9090/otp</otpBaseUrl>
Expand Down
Loading

0 comments on commit 4bacd5b

Please sign in to comment.