Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
a4231a2
fix critical bugfix and correct tags
haeckerbaer Oct 25, 2022
0619478
bugfixes in examples to ensure validity
haeckerbaer Oct 25, 2022
de702a4
fix critical bug (missing tags)
haeckerbaer Oct 25, 2022
1f6b312
bugfixes in examples to ensure validity
haeckerbaer Oct 25, 2022
b9786f1
Merge branch 'master' of https://github.com/SIRI-CEN/SIRI
haeckerbaer Oct 25, 2022
87fe020
Merge branch 'integration' (v2.1)
haeckerbaer Oct 25, 2022
1216c8b
Global import of all IFOPT/ACSB namespace elements
sgrossberndt May 25, 2023
aca7fa7
Merge pull request #108 from SIRI-CEN/fixing-imports
skinkie Jun 21, 2023
cc77053
typos
ue71603 Nov 7, 2023
ce377ce
Revert "typos"
ue71603 Nov 7, 2023
eba6b89
adding taxi (#120)
ue71603 Mar 20, 2024
15c3efe
Travil to github actios
skinkie Feb 21, 2025
d1e4589
Lint and update documentation tables
github-actions[bot] Feb 21, 2025
56bdc12
Merge pull request #151 from SIRI-CEN/travis_to_actions
skinkie Feb 21, 2025
30bee81
Ignore local .git folder
skinkie Feb 21, 2025
b71b8d2
Merge pull request #152 from SIRI-CEN/fix_github_aciton
skinkie Feb 21, 2025
0c008ac
Merge branch 'master' into merge_from_master
skinkie Feb 21, 2025
048b207
Merge pull request #153 from SIRI-CEN/merge_from_master
skinkie Feb 21, 2025
7dd278e
Occupancy examples (#132)
ue71603 Apr 24, 2025
6e3ec76
CR091: Identification of Initiallload with AllData in ServiceDelivery…
haeckerbaer May 27, 2025
b131902
Remove recursion in AffectedLine in AffectedStopPoint/Place elements …
prirey May 27, 2025
efae09d
add coordinates to FacilityLocation (#114)
ue71603 May 27, 2025
d975948
Update siri_all_journeyModel.xsd (#119)
ue71603 May 27, 2025
c4f52d1
change multiplicity of ScopeType within PublishingAction to optional …
haeckerbaer May 27, 2025
193de17
add FacilityLocation to AffectedFacilityStructure (#141)
haeckerbaer May 27, 2025
29c4ff8
Initial attempt to get xcore working with SIRI (#122)
skinkie May 27, 2025
b00f355
Dummy PR to test github actions (#162)
ue71603 May 28, 2025
38e687f
CR090a: Harmonization of ActionStatus and Progress in SX (#100)
haeckerbaer Jun 27, 2025
5988a38
validate and lint update (#170)
skinkie Jun 27, 2025
b8d08f5
Second try on Control Actions (#171)
skinkie Jun 27, 2025
8b5059a
Also validate and lint all wsdl files (#172)
skinkie Jun 27, 2025
a473dcd
Redo #148 (#173)
skinkie Sep 23, 2025
8ec0134
merge documentation updates from master (#180)
haeckerbaer Oct 27, 2025
ba2fb89
Replace NaturalLanguagePlaceNameStructure as type of origin and desti…
haeckerbaer Oct 27, 2025
31eb193
Fixes from #116 (#181)
skinkie Oct 30, 2025
2ee85a4
Revise README with SIRI schema and contribution info (#183)
TuThoThai Oct 30, 2025
9a250e2
Fixing typos and definition. No longer allowing other types. (#187)
ue71603 Dec 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/scripts/validate-and-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ echo "Validating XML file structure and linting XSD and XML files ..."
PARSING_ERROR=0
# Iterate all XML and XSD files
while IFS= read -r -d $'\0' filename; do
if [[ "$filename" =~ \.git/ ]]; then
continue # Skip files inside the .git directory
fi
# Prettify the file using xmllint and save the result to ${filename}.pretty
if XMLLINT_INDENT=$'\t' xmllint --encode UTF-8 --pretty 1 "${filename}" >"${filename}.pretty"; then
if XMLLINT_INDENT=$'\t' xmllint --encode UTF-8 --format --pretty 1 "${filename}" >"${filename}.pretty"; then
# Remove lines containing the term "xmlspy" to get rid of advertising this and save the result as ${filename}
grep -i -v "xmlspy" "${filename}.pretty" >"${filename}"
else
Expand All @@ -22,7 +25,7 @@ while IFS= read -r -d $'\0' filename; do
fi
# Remove temp file
rm "${filename}.pretty"
done < <(/usr/bin/find . -type f \( -name "*.xsd" -or -name "*.xml" \) -not -path "./git" -print0)
done < <(/usr/bin/find . -type f \( -name "*.xsd" -or -name "*.xml" -or -name "*.wsdl" \) -not -path "./.git/*" -print0)

if [ ${PARSING_ERROR} -ne 0 ]; then
exit ${PARSING_ERROR}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- name: Validate SIRI XML examples
run: ./.github/scripts/validate-examples.sh

- name: Generate documentation tables
run: ./docs/generate-tables.sh

- name: Commit changes
uses: EndBug/add-and-commit@v9 # https://github.com/marketplace/actions/add-commit
with:
Expand Down
38 changes: 38 additions & 0 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy documentation tables

on:
push:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './docs/generated'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
3 changes: 2 additions & 1 deletion Siri.spp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<File FilePath="xsd\siri_all_functionalServices.xsd" HomeFolder="Yes"/>
<File FilePath="xsd\siri_connectionMonitoring_service.xsd" HomeFolder="Yes"/>
<File FilePath="xsd\siri_connectionTimetable_service.xsd" HomeFolder="Yes"/>
<File FilePath="xsd\siri_controlAction_service.xsd" HomeFolder="Yes"/>
<File FilePath="xsd\siri_discovery.xsd" HomeFolder="Yes"/>
<File FilePath="xsd\siri_estimatedTimetable_service.xsd" HomeFolder="Yes"/>
<File FilePath="xsd\siri_facilityMonitoring_service.xsd" HomeFolder="Yes"/>
Expand Down Expand Up @@ -41,7 +42,7 @@
<File FilePath="xsd\siri_model\siri_all.xsd"/>
<File FilePath="xsd\siri_model\siri_all_journeyModel.xsd"/>
<File FilePath="xsd\siri_model\siri_all_model.xsd"/>
<File FilePath="xsd\siri_model\siri_all_situation.xsd"/>
<File FilePath="xsd\siri_model\siri_all_situation.xsd" HomeFolder="Yes"/>
<File FilePath="xsd\siri_model\siri_facilities.xsd" HomeFolder="Yes"/>
<File FilePath="xsd\siri_model\siri_feature_support.xsd" HomeFolder="Yes"/>
<File FilePath="xsd\siri_model\siri_interchangeJourney.xsd" HomeFolder="Yes"/>
Expand Down
36 changes: 36 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# SIRI (Service interface for real-time information relating to public transport operations) XML schema
**(C) 2006-2025 NeTEx, CEN, Crown Copyright**

## Schemas for:

- Core
- Part 1 (Context and Framework)
- Part 2 (Communications)
- Part 3 (Functional Service Interfaces: Production Timetable, Estimated Timetable, Stop Monitoring, Vehicle Monitoring, Connection Monitoring, General Message)
- Part 4 (Functional Service Interfaces: Facility Monitoring)
- Part 5 (Functional Service Interfaces: Situation Exchange)
- Part 6 (Functional Service Interfaces: Control Actions)

## Overview

SIRI is a European standard and that enables real-time information about public transportation to be shared between different computer systems.
SIRI was established as European standard in October 2006. It is a CEN (Comité Européen de Normalisation) norm and Technical Specification.

## Folder structure 📁

In each branch, we have:
- The folder `xsd` in which all the XML schemas can be found
- The folder `examples` in which all examples can be found
- At the root folder, `Siri.spp` which is the project for XMLSpy and `Siri.xpr` for Oxygen

## Branches 🌿
|**Branch**|**Description**|**Link**|
|----------|---------------|--------|
|master|The latest version of the XML Schema that matches the CEN documentation|[Direct link](https://github.com/SIRI-CEN/SIRI)|
|integration|All the upcoming work that goes with the revision of SIRI, matching the next round of CEN documentation|[Direct link](https://github.com/SIRI-CEN/SIRI/tree/integration)|

## How to contribute

When you want to suggest a change to SIRI XSD, please target:
- Master for any bug fixes or typos
- Integration for any functional changes
Loading