noi-techpark / transmodel-api

Transmodel (NeTEx and SIRI) wrapper for Open Data Hub
https://transmodel.api.opendatahub.com
1 stars 0 forks source link

As Italian Ministry of Transportation, I would like South Tyrol to have a SIRI-SX end-point #8

Open rcavaliere opened 1 month ago

rcavaliere commented 1 month ago

By the end of September, we need to have such kind of standard interface implemented. SIRI-SX is the reference service for sharing disruption information in public transport, e.g. journey cancellation. This interface will be implemented by STA with their suppliers, but are in delay. As MVP of the end-point the proposal is to have something static, related to an end-point controlled by us, which should be https://transmodel.api.opendatahub.com/siri-lite/situation-exchange. We could then redirect this end-point to the right one, once STA has completed his work.

For the first MVP, the request is to:

<?xml version="2.0" encoding="UTF-8"?>
<Siri xmlns="http://www.siri.org.uk/siri" xmlns:ns2="http://www.ifopt.org.uk/acsb" xmlns:ns3="http://www.ifopt.org.uk/ifopt" xmlns:ns4="http://datex2.eu/schema/2_0RC1/2_0">
    <ServiceDelivery>
        <ResponseTimestamp>2024-09-06T16:48:38.640+02:00</ResponseTimestamp>
        <ProducerRef>RAP-Alto-Adige</ProducerRef>
        <ResponseMessageIdentifier>1</ResponseMessageIdentifier>
    <SituationExchangeDelivery>
            <ResponseTimestamp>2024-09-06T16:48:38.729+02:00</ResponseTimestamp>
      <SubscriberRef>NAP</SubscriberRef>
            <SubscriptionRef>1</SubscriptionRef>
            <Situations>
                <PtSituationElement>
                </PtSituationElement>
            </Situations>
        </SituationExchangeDelivery>
    </ServiceDelivery>
</Siri>