-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement SIRI Lite #6263
Comments
@abyrd says the following:
|
At today's meeting @leonardehrenfried mentioned that no one seemed to know for certain whether SIRI Lite was supposed to return JSON or XML. My understanding is that SIRI Lite was proposed as an official aspect of SIRI by Christophe Duquesne in this document: http://www.normes-donnees-tc.org/wp-content/uploads/2018/10/Proposition-Profil-SIRI-Lite-initial-v1-3.pdf My understanding is that SIRI Lite was a formalization of practices seen in the wild at the NY MTA and OpenPlans. This page describes the system that introduced the practices that were formalized as SIRI Lite: https://bustime.mta.info/wiki/Developers/SIRIIntro It says: "While the SIRI standard specifies XML as an interchange format, it incurs a substantial penalty in data-transfer and processing requirements. In contrast, JSON (Javascript Object Notation) is a lightweight data-interchange format. Human-readable, lightweight, and easy to parse, JSON offers an alternative. Thus, MTA Bus Time provides both XML and JSON versions of its API." This page asserts that the MTA contributed directly to the normalization (standardization) process: |
I updated the title and a comment to say "SIRI Lite" instead of "Light". All sources I could find spell it "Lite". The motivation is that I was baffled when searching for this ticket using the word "Lite" and couldn't find it :) |
I reject this Americanism :) |
Goal / high level use-case
Some SIRI data providers implement only SIRI Lite, which means that rather than using the request/response pattern, the client sends a GET request downloading all of the data.
Describe the solution you'd like
OTP should support this workflow natively.
Describe alternatives you've considered
A proxy.
cc @rcavaliere @fahrplaner
The text was updated successfully, but these errors were encountered: