Changelog of Swiss profile 1.0 to 2.0
This changelog compares version 1.00.1of the realisation guide based on NeTEx XSD 1.10, with version 2.
1. Global changes
Schema and conventions
- NeTEx basis changed from XSD 1.10 to NeTEx 2.1
version="any"replaced byversion="1"everywhere,versionRef="1"for cross-file references .created,changed,modificationremain unused; new rules documented forresponsibilitySetRef,nameOfRefClassandversionRef.- ID semantics redefined: v1 required global uniqueness at import; v2 defines uniqueness per object type within one delivery, introduces an explicit ID-stability convention (most elements “must be kept stable between exports”, some explicitly don’t need to, e.g.
PassengerStopAssignment,Notice,AvailabilityCondition), and dropsPublicKey/PrivateKeyin favour ofKeyListandprivateCodes/PrivateCode. privateCodes/PrivateCodewithtypeattribute replaces v1’skeyList/KeyValueand plainPrivateCodefor business keys: sjyid (type="sjyid"), region (type="rn"), SBOID/GO number on operators, DIDOK (type="didok") on stops, SLNID on lines.-
Translations now use repeated
<Text>elements withlanginside MultilingualString;AlternativeTextis no longer used;AlternativeNameis restricted toaliasonly. - New whole-model orientation section (“A First Glimpse”) and new general rules on element ordering, geometries (none in profile) and FromDate/ToDate semantics (always operating days,
T00:00:00/T23:59:59)
File exchange
- Three new file types:
SITE_OFFER(sites/stops),NETWORK_OFFER(resource/calendar/service/timetable frames, self-sufficient refs),INTERCHANGE(interchanges, joining/splitting, through-services; cross-file validity viaversionRefinstead ofversion). - Environment identifiers renamed:
entw/test/inte/prod→DEV/TEST/INT/PROD, used as file-name prefixes; the v1 sender-identification rule (<environment>_<partner system>) is dropped . - File-name version component changes from
1.10to2.1; new “type of file” component; underscores forbidden inside export names; v1’sOJP-NAP_name prefixes and frame number/total components disappear. - Transport protocol: v1’s secure-FTP requirement dropped; “The data transfer will be defined by INFO+”. The v1 statements on web services (not supported) and weekly full-file production by SKI are gone.
- New role model: Owner (= “Konzessionär” per Atlas) is responsible for the overall delivery, per partial line delivery may be delegated; new rules on completeness of delivery (all journeys incl. those driven by other operators in the owner’s name), shared responsibilities for planning, and an explicit prohibition of partial deliveries and incremental updates
- Kept: UTF-8 without BOM; README file rule; provider naming conventions (partner short name, timetable period, creation date).
Time formatting
- v1’s per-call
DayOffset=1rule replaced: onlyDepartureDayOffsetonServiceJourney/TemplateServiceJourneymarks journeys starting after midnight; midnight crossings during the journey are implicit (times are calculated fromTimeDemandTyperun/wait times).
2. Chapter-by-chapter changes
Preliminary remarks
- Binding-nature text and mapping-table rule carried over nearly verbatim.
- Referenced-documents list moved to annex
A1and expanded (Transmodel EN 12896, SIRI, EPIP/EPIAP, Nordic/France/Slovenia profiles, tutorials). - New: roadmap with milestones (RC1 2026-07, RC2 2026-09, release planned 2026-12), imprint, AGPL-3.0 licence, example XML repository.
- Dropped: v1’s scope-limiting rule that deviations must be discussed with SKI.
ResourceFrame
OrganisationandAuthorityare no longer used; onlyOperator.OperatorRefon aLineis always the Konzessionär; a deviating journey operator is set viaOperatorRefon theServiceJourney.- SBOID becomes the primary identifier for operators (v1: GO number, SBOID “from 2024”); SBOID and GO number must be stored in both
KeyListandprivateCodes/PrivateCode. ResponsibilitySet: purpose changed from “hierarchy between lines and sub-lines” to modelling roles of participating companies; StakeholderRoleType values reduced toOperationandEntityLegalOwnership(FareManagement,Planningdropped); the separateResponsibilityRoleAssignmentsection is merged intoResponsibilitySet.TypeOfNotice: valuesZugname(2),Gleis-Angabe(3) andRegion(11) deprecated; Region replaced byprivateCodes/PrivateCode type="rn"on the journey .TypeOfProductCategory: restriction to V580/allianceswisspass values kept; new rule thatLinealso referencesTypeOfProductCategory; TypeOf… ids must be stable between exports.- New sections without v1 counterpart:
SiteFacilitySet,VehicleType,TypesOfPlace(regularStop,drtCollectionPoint),ServiceFacilitySet,TypeOfService.
SiteFrame
- DIDOK transport changed: v1’s plain
PrivateCode+DIDOK/SLOIDKeyValues → v2 requiresprivateCodes/PrivateCode type="didok"and a matchingkeyListentry; SLOID inPrivateCodewhere it exists. ShortNameforbidden onStopPlace(v1 carried the DIDOK number there — “discontinued under RV 2.0”).ValidBetweenon StopPlace: v1 example had FromDate and ToDate; v2 requires FromDate only, no ToDate.- HafasPriority/HafasKMInfo moved from
ExtensionsintokeyListKeyValues (“only used in exports by INFO+”). - Quay ID scheme defined:
{StopPlace SLOID}_gen:{Quay SLOID}_pf:{Platform Code}withmissingSLOIDfallback and special-character replacement (v1 used ad-hoc ids likech:1:Quay:8503000-10);PublicCodeon Quay now mandatory; SLOID moved from Quay keyList toprivateCodes. - New Quay elements:
QuayType,ParentQuayRef(sectors; hierarchy now modelled in Atlas),AccessibilityAssessment(MobilityImpairedAccess,AccessModes). TopographicPlace: values extended (country, state/canton, county, municipality); StopPlace should reference its canton.- Centroid: coordinate reference formalised as WGS84 / LV95 (EPSG:2056) with 4+ decimal accuracy; INFO+ relies on Atlas master data (v1: DIDOK master data); v1’s typo “WSG84” corrected.
- New
AccessibilityAssessmentinterpretation (stricter than EPIAP) for StopPlace/Quay with limitation tables (StepFreeAccess, EscalatorFreeAccess, LevelAccessIntoVehicle with PRM-TSI gap values, RampFreeAccess) and entrance criteria; full site model (entrances, levels, equipment, paths) deferred touc09_accessibility.md(work in progress). alternativeTexts(multilingual names) dropped throughout the site chapter; translations go via MultilingualString.
ServiceFrame
Directionobject abolished (v1’s mandatorych:1:Direction:H/:Rpair “will no longer be supported”); onlyDirectionTypeon the pattern/journey is used.- Line: SLNID becomes the primary identifier (in
@id“wherever possible”,privateCodes/PrivateCodeandKeyList); slnid concepts Dispositionslinie/Temporäre Linie modelled as regular Lines, “Betriebliche Linie” not modelled; partial lines get a main line; v1’s “NoLine” placeholder concept dropped; mixed-line handling inuc17_mixed_lines.md. - New
GroupOfLinessection (only for mixed lines,GroupOfLinesTyperestricted toadministrative). - DestinationDisplay more prescriptive: journey destination via
ServiceJourney/Destination/DestinationDisplayRef(no redundant inline Name), mid-run changes onStopPointInJourneyPattern/DestinationDisplayRef; destination-change use case inuc13_changes_in_destination.md. - ScheduledStopPoint: sloid used directly as
@idwhere it exists; SSPs used in TimingLinks/JourneyPatterns should be quay-level. - PassengerStopAssignment: when linking to a Quay both
QuayRefandStopPlaceRefmust be set; goal is always a QuayRef (artificial quays for foreign data);BoardingPositionnot used; newpassengerBoardingPositionAssignmentsfor formations (quay sectors); ids explicitly need not be stable; v1’s quay-split example (arrival 2A / departure 2D) dropped. DefaultConnection/SiteConnection: details moved touc03_transfers.md(HRDF mapping UMSTEIGB/UMSTEIGV/UMSTEIGZ/UMSTEIGL/METABHF/DURCHBI); ids must be stable; v1’s footnote on modelling large interchange times dropped.Notice: must only be used for information not expressible by specific elements (facilities, DayType, ForAlighting/ForBoarding); recommendation to translate (DE/IT/FR, possibly EN).NoticeAssignmentbecomes a documented element of the ServiceFrame (v1: prose only);StartPointInPatternRef/EndPointInPatternRefallow part-of-journey notices.- New pattern/timing sections:
TimingLink,ServiceJourneyPattern(shared between journeys with identical sequences),TimeDemandType— the foundation of the new timing model.
ServiceCalendarFrame
- DayType/DayTypeAssignment now used only for national holidays (v1: full-year day types); journey operating days are governed exclusively by
AvailabilityConditionRefwith ValidDayBits. AvailabilityConditionadditionally supportstimebandsas third constraint type; ValidDayBits “expected” rather than required for recurring patterns; none of FromDate/ToDate, ValidDayBits, timebands individually mandatory.- Nested
dayTypes/dayTypeAssignmentsinsideServiceCalendarare not used; they are declared as siblings in the frame;ServiceCalendarnarrowed to a label for the timetable year. DayType:HolidayTypesrestricted tonationalHoliday,DayEventonlyanyDay/normalDay; multilingualalternativeTextsdropped.Timeband: main use is now the daily operating window of frequency-based lines (chairlift/shuttle); InterchangeRuleTiming use not applicable in RG 2.0;StartEvent/EndEvent/Durationnot used; times ashh:mm:sswith seconds always00; note distinguishing Timeband fromHeadwayJourneyGroupfirst/last departure (pointer touc14_frequencies.md).
TimetableFrame
- New timing model — the biggest change:
Call,Arrival,DepartureandTimetabledPassingTimeare removed (deprecated); eachServiceJourney/TemplateServiceJourneyreferences exactly oneServiceJourneyPattern(authoritative stop sequence; carriesLineRef) and exactly oneTimeDemandType(JourneyRunTime/JourneyWaitTime); passing times are calculated by a documented algorithm. ServiceJourney:LineRefremoved;validityConditionsmandatory with a singleAvailabilityConditionRef;TypeOfProductCategoryRefmandatory; sjyid moved toprivateCodes/PrivateCode type="sjyid"(not keyList);@idmay not be the sjyid;DepartureTimein local time without UTC offset;DepartureDayOffset(incl. rare negative values) replaces per-call DayOffset;DatedServiceJourneyexplicitly not used; newparts/JourneyPart,checkConstraints,VehicleTypeRef,occupancies/OccupancyView(not used).JourneyPart(new,uc05_journey_parts.md): segmentation for facility changes (PurposeOfJourneyPartition:FacilityChangereplaces v1’sExtensions/facilitieson calls) and product-category changes; not to be used for train-number changes (use two ServiceJourneys +ServiceJourneyInterchange).JourneyMeetingremoved; replaced byServiceJourneyInterchange(new element withStaySeated,CrossBorder,ChangeWithinVehicle,MaximumWaitTime,FromPointRef/ToPointRef, concreteFrom/ToServiceJourneyRef); v1’sFromJourneyRef/ToJourneyRefmust not be used .InterchangeRule,InterchangeRuleParameter,InterchangeRuleTimingdeprecated/removed: filter-based interchange rules are resolved to concreteServiceJourneyInterchanges per journey pair during import/export (uc03_transfers.md).CheckConstraint: moved out of Arrival/Departure to a top-level element on ServiceJourney/ServiceJourneyPattern, always instantiated inline; new restrictions (bothWaysforbidden; CheckProcess onlyalighting/boarding/queue);MinimumLikelyDelayreplaced byAverageDelay/MaximumLikelyDelay; expanded use cases inuc07_checkconstraints.md(TGV doors, carTransportRail/touristic waiting times, HRDF CI/CO).HeadwayJourneyGroup: exactly one frequency per TemplateServiceJourney;FirstDepartureTime/LastDepartureTime/First/LastDayOffsetdropped (timing viaDepartureTime/DepartureDayOffset);HeadwayDisplayrestricted todisplayPassingTimesOnly(v1 example contradicted its own rule);RhythmicalJourneyGroupexplicitly not used; frequency policy inuc14_frequencies.md(SIRI SX only for template journeys; multiple*Zsharing one sjyid no longer allowed).TrainNumber: one per journey, unique per operating day, equals the HRDF*Znumber; schema allows multiple refs in principle; non-rail modes also get TrainNumbers.TypeOfService: onlyPublicJourney(ch:1:TypeOfService:1);GarageRunIn/Out,ThroughCoachstruck through.NoticeAssignment,AvailabilityCondition,Timeband,ServiceFacilitySetrelocated to their owning-frame chapters (06/07/09);08_timetable.mdkeeps cross-references.- New frame content:
journeyInterchanges,vehicleTypesplaceholder for formations; explicit rule that only passenger-available journeys are modelled.
Appendix
- TransportMode: v1’s 11-value list replaced by the NeTEx 2.1 20-value enumeration, with a new per-value usage column (part of the data / special file / not used) and the rule “Only use sub modes that are approved in the mapping!”; submode mapping now via the “Übergangsdokument Branchenstandard” and
Mappingtabellen_NeTEx_v2.0.xlsx(v1: HRDF V.580 mapping on oev-info.ch); newProductCategorysection. - Connection times **: the abstract 9-rule framework (criteria matrices, explicit hierarchy rules) is rebuilt around the HRDF source tables in
uc03_transfers.md; rules 3, 4 and 7 (product-category-based connection times) have no v2 counterpart; v1’s dual representation of rule 5 (DefaultConnection**andSiteConnection) reduced toDefaultConnection; UMSTEIGZ semantics (!= guaranteed) and Verkehrstagebitfeldnummer documented. - Transfer time: METABHF/SiteConnection survives essentially intact; new rule that this data lives only in the master data file (SITE_OFFER), not in timetable files; ends may now be any SiteElement.
3. New in v2 (no v1 counterpart)
- 17 use-case chapters (
uc01–uc17): Durchbindung, joining/splitting, transfers, service facilities, JourneyParts, modes/submodes, check constraints, Kurswagen, accessibility, journeys passing midnight, touristic offers (in progress), car transport rail (in progress), changes in destination, frequencies, formations (draft), demand-responsive traffic (draft), mixed lines. - New elements documented for the first time:
ServiceJourneyInterchange,JourneyPart,TimeDemandType,TimingLink,ServiceJourneyPattern,GroupOfLines,SiteFacilitySet,VehicleType,TypesOfPlace,AccessibilityAssessment,PassengerBoardingPositionAssignment,Locale/TimeZone,StopPlaceType/LimitedUse,QuayType,ParentQuayRef,TemplateVehicleJourneyType,OccupancyView(not used),vehicleTypes/CompoundTrainplaceholder. - New annexes:
A1references,A2EPIP/EPIAP comparison,A3France/Norway profile comparison (draft),A4glossary (~70 terms with “not used in the Swiss profile” flags),A5element index. - New general content: roadmap, role model, guiding principles for delivery, ID-stability convention, ordering rule for sequences, geometries policy, example XML repository, AGPL licence, imprint.
4. Removed / deprecated summary
| v1 concept | v2 status |
|---|---|
Direction objects (ch:1:Direction:H/R) |
Not supported; only DirectionType |
AlternativeText |
Not used; MultilingualString repeated Text |
Call / Arrival / Departure / TimetabledPassingTime |
Deprecated; ServiceJourneyPattern + TimeDemandType |
Per-call DayOffset |
Only DepartureDayOffset on the journey |
JourneyMeeting (+ FromJourneyRef/ToJourneyRef) |
Must not be used; ServiceJourneyInterchange |
InterchangeRule, InterchangeRuleParameter, InterchangeRuleTiming |
Deprecated; ServiceJourneyInterchange |
CoupledJourney / JourneyPartCouple for splitting/joining |
Not used |
RhythmicalJourneyGroup, DatedServiceJourney, BoardingPosition |
Explicitly not used |
Organisation, Authority |
Not used; Operator only |
sjyid/sloid/DIDOK/SLNID in keyList KeyValue |
privateCodes/PrivateCode (keyList kept only for specific INFO+ keys) |
ShortName (DIDOK) on StopPlace |
Discontinued |
Extensions for facilities on journeys/calls, Condition on ServiceFacilitySet |
JourneyPart facilities / Extensions/Priority |
MinimumLikelyDelay on CheckConstraint |
AverageDelay/MaximumLikelyDelay |
| sFTP transfer, sender identification, weekly production statement, web-services note | Dropped (transfer defined by INFO+) |
StopUse/RequestStop/VisitNumber/DynamicStopAssignment (per-call) |
No direct v2 equivalent found in the guide text (patterns carry repeated visits; StopUse semantics under review) |