This wiki is a work in progress.
A publication with sample data and indications of where the FrameDefaults and VersionFrame elements are to be included, simply for the sake of illustrating a publication's structure.
<PublicationDelivery xmlns="http://www.netex.org.uk/netex" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:schemaLocation="http://www.netex.org.uk/netex ../xsd/NeTEx_publication.xsd" version="1.0">
<PublicationTimestamp>2020-01-01T10:30:00.000</PublicationTimestamp>
<ParticipantRef>SAMPLESYSTEM</ParticipantRef>
<PublicationRefreshInterval>P1M</PublicationRefreshInterval> <!-- One month -->
<Description>Basic Publication Structure</Description>
<dataObjects>
<CompositeFrame id="sample:main" modification="new" version="1.0">
<FrameDefaults>
[FRAME DEFAULTS GO HERE]
</FrameDefaults>
<frames modificationSet="all">
[FRAMES GO HERE]
</frames>
</CompositeFrame>
</dataObjects>
</PublicationDelivery>
<FrameDefaults>
<DefaultCodespaceRef ref="sample"/>
<DefaultLocationSystem>EPSG:4326</DefaultLocationSystem>
<DefaultSystemOfUnits>SiMetres</DefaultSystemOfUnits>
</FrameDefaults>
ResourceFrame with sample data and an indication of where the Organisation elements are to be included.
<ResourceFrame id="sample:org" modification="new" version="1.0">
<organisations modificationSet="all">
[ORGANISATIONS GO HERE]
</organisations>
</ResourceFrame>
<Authority id="sample:ath_1" modification="new" version="any">
<Name>Sample Authority</Name>
<ContactDetails>
<Url>https://sampleauthority.pt/</Url>
</ContactDetails>
<Status>true</Status>
</Authority>
SiteFrame with sample data and an indication of where the StopPlace elements are to be included.
<SiteFrame id="sample:sf" modification="new" version="1.0">
<stopPlaces modificationSet="all">
[STOP PLACES GO HERE]
</stopPlaces>
</SiteFrame>
<StopPlace id="sample:st_1" modification="new" version="any">
<Name>Sample Stop</Name>
<PrivateCode>SAMPLESTOP</PrivateCode>
<Centroid modification="new">
<Location>
<Longitude>42.343383</Longitude>
<Latitude>-75.736868</Latitude>
</Location>
</Centroid>
<TransportMode>bus</TransportMode>
<StopPlaceType>onstreetBus</StopPlaceType>
</StopPlace>
ServiceFrame with sample data and indications of where the Route, Line, and ScheduledStopPoint elements are to be included.
<ServiceFrame id="sample:svf" modification="new" version="1.0">
<routes modificationSet="all">
[ROUTES GO HERE]
</routes>
<lines modificationSet="all">
[LINES GO HERE]
</lines>
<scheduledStopPoints modificationSet="all">
[SCHEDULED STOP POINTS GO HERE]
</scheduledStopPoints>
</ServiceFrame>
<Route id="sample:rt_1" modification="new" version="any">
<Name>Stop Place 1 - Stop Place N</Name>
<LineRef version="any" ref="sample:line_1"/>
<DirectionType>outbound</DirectionType>
</Route>
<Line id="sample:line_1" modification="new" version="any">
<Name>Stop Place 1 - Stop Place N</Name>
<Description/>
<TransportMode>bus</TransportMode>
<Url/>
<PublicCode>1</PublicCode>
<AuthorityRef version="any" ref="sample:ath_1"/>
</Line>
<ScheduledStopPoint id="sample:shst_1" modification="new" version="any">
<Name>Stop Place 1</Name>
<Location>
<Longitude>42.343383</Longitude>
<Latitude>-75.736868</Latitude>
</Location>
<PrivateCode>SAMPLESTOP</PrivateCode>
<StopType>onstreetBus</StopType>
</ScheduledStopPoint>
ServiceCalendarFrame with sample data and indications of where the ValidityCondition, ServiceCalendar, and DayType elements are to be included.
<ServiceCalendarFrame id="sample:SP" modification="new" version="1.0">
<contentValidityConditions modificationSet="all">
[VALIDITY CONDITIONS GO HERE]
</contentValidityConditions>
[SERVICE CALENDAR GOES HERE]
<dayTypes modificationSet="all">
[DAY TYPES GO HERE]
</dayTypes>
</ServiceCalendarFrame>
<AvailabilityCondition id="sample:SP-01-01-2020" modification="new">
<FromDate>2020-01-01T00:00:00</FromDate>
<ToDate>2020-01-01T00:00:00</ToDate>
<IsAvailable>false</IsAvailable>
</AvailabilityCondition>
<ServiceCalendar id="sample:SP" modification="new">
<FromDate>2020-01-01</FromDate>
<ToDate>2020-07-25</ToDate>
</ServiceCalendar>
<DayType id="sample:SP" modification="new" version="any">
<Name>SP</Name>
<properties>
<PropertyOfDay>
<DaysOfWeek>Monday Tuesday Wednesday Thursday Friday</DaysOfWeek>
</PropertyOfDay>
</properties>
</DayType>
TimetableFrame with sample data and indications of where the VersionFrameRef and Journey elements are to be included.
<TimetableFrame id="sample:tt" modification="new" version="1.0">
<prerequisites modificationSet="all">
[VERSION FRAME REFERENCES GO HERE]
</prerequisites>
<vehicleJourneys modificationSet="all">
[JOURNEYS GO HERE]
</vehicleJourneys>
</TimetableFrame>
<ServiceFrameRef version="1.0" ref="sample:svf"/>
ServiceJourney with sample data and an indication of where the Call elements are to be included.
<ServiceJourney id="sample:sj_1" modification="new" version="any">
<dayTypes modificationSet="all">
<DayTypeRef ref="sample:SP"/>
</dayTypes>
<LineRef ref="sample:line_1"/>
<DirectionType>outbound</DirectionType>
<JourneyPatternView>
<RouteRef ref="sample:rt_1"/>
</JourneyPatternView>
<calls>
[CALLS GO HERE]
</calls>
</ServiceJourney>
<Call id="sample:cl_1" modification="new" version="any" order="1">
<ScheduledStopPointRef ref="sample:shst_1"/>
<Arrival>
<Time>12:45:00</Time>
<ForAlighting>true</ForAlighting>
</Arrival>
<Departure>
<Time>12:45:00</Time>
<ForBoarding>true</ForBoarding>
</Departure>
</Call>