Skip to content

DATA4PT NeTEx Validation Rules Overview rules

142 of 142 rules

CodeDescriptionSeverityCategory
C.01.02The versions of NeTEx schema being used should be specified10structure
C.01.03The versions of the profile being used should be specified20structure
C.01.04The PublicationRequest element in the header should be populated40structure
C.01.05Any Topics mentioned in the Header must be present in the Delivery40integrity
C.02.01All objects are uniquely identified10structure
C.02.03All elements (except CODESPACE) should have a version attribute.10structure
C.02.03-bThe order number on elements in sequences of child elements should be unique30semantic
C.02.04All references should include an explicit version on the reference.30integrity
C.02.05All frames should have a default CODE SPACE declared10structure
C.02.05-bAny local reference should correspond to an object declared elsewhere in the same document.10structure
C.02.06All CODE SPACE prefixes used in identifiers should be declared with a CODE SPACE on the frame.10structure
C.02.07The format of element identifiers should follow any rules specific to the profile40structure
C.03.01The version number of each VERSION FRAME should be populated with a number20structure
C.03.02The FrameDefaults of a VERSION FRAME should have values appropriate to the content30structure
C.03.04Only the specialisation of VERSION FRAME (RESORCE FRAME, SITE FRAME, SERVICE FRAME, SERVICE FRAME< TIMETABLE FRAME, and SERVICE CALENDAR FRAME) appropriate to the profile should be used40structure
C.03.05A TYPE OF FRAME is specified on each VERSION FRAME. and corresponds to one of those required by the profile30structure
C.03.05-bTypes of Frame in use: (EU_PI_COMMON. PI_PI_STOP. EU_PI_NETWORK. EU_PI_TIMETABLE. EU_PI_CALENDAR. EU_PI_LINE_OFFER. EU_PI_NETWORK_OFFER. EU_PI_STOP_OFFER. EU_PI_METADATA)30structure
C.04.01The same object type should only be present in a single frame type30structure
C.04.02Ordered sequences of child elements shall be serialized in sequence in the accordance with the ascending value of their order attribute -30semantic
C.04.04Single instances of ancillary and child elements should be declared inline as part of an object.40structure
C.04.04-bElements should not be repeated unnecessarily as separate instances.40quality
C.04.05NOTICes should be declared locally40structure
C.09.01On a VALIDITY CONDITION. ToDate must not be later than FromDate on any date range20structure
C.09.02On a VERSION FRAME. ToDate must not be later than FromDate on any date range.10structure
C.09.03ToDate must not be later than FromDate on other date ranges20structure
C.09.04Date ranges of elements in the frame must lie between date ranges of the VALIDITY CONDITION on the VERSION FRAME20semantic
C.09.06If the URL field is filled. the validity of the URL must be checked and must resolved40format
C.09.07Check valid ISO codes for lang etc.20structure
C.09.08Check valid ISO codes for Country. etc.30format
C.09.10A coordinate system should be specified for spatial coordinates20structure
C.09.11WGS84 is the preferred coordinate system40structure
C.09.12A POINT should normally have spatial coordinates specified.40structure
C.09.13A ZONE should normally have at least a centroid point specified.40structure
S.01.01Every STOP PLACE has a Name or ShortName attibute20structure
S.01.03Every STOP PLACE has a StopPlaceType attribute with correct value30structure
S.01.04All stop identifiers (QUAY. all STOP PLACEs. GROUPs OF STOP PLACEs and ACCESS) must comply with the profile codification30structure
S.01.05A responsible OPERATOR must be declared for each STOP PLACE(Can be defaulted from frame)30structure
S.01.08Any STOP PLACE that is declared should be referenced by a STOP ASSIGNMENT50quality
S.03.01STOP PLACES should be organised hierarchically so as to separate the modes.30structure
S.03.02A Monomodal STOP PLACE should only have QUAYS of a single mode30structure
S.03.02-bSCHEDULED STOP POINT must be assigned to a STOP PLACE50quality
S.03.03MODE of a QUAY of a monomodal STOP PLACE should match the STOP PLACE40semantic
S.03.04Multimodal STOP PLACE and should contain at two different monomodal STOP PLACEs of different MODes40structure
S.03.05GROUP OF STOP PLACEs should contain only STOP PLACEs40structure
S.03.06Name of a QUAY should not repeat those of the STOP PLACE40structure
S.04.01A SCHEDULED STOP POINT must have an instantiated Name field30integrity
S.04.02SCHEDULED STOP POINT must have the same mode as the assigned STOP PLACE30semantic
S.04.02-bSCHEDULED STOP POINT must have similar spatial coordinates to those of the assigned STOP PLACE30structure
S.04.03If a SCHEDULED STOP POINT is assigned to a STOP PLACE the type of stop should be consistent on both. And also on any QUAY30integrity
S.08.01Location Is Unreasonable For QUAY30plausibility
S.08.02Location Is Unreasonable For STOP POINT30plausibility
S.08.03Distance Between QUAY and STOP PLACE too long30semantic
S.08.04Check if there are any nearby, very similar locations of the same EntityType40structure
S.09.01Distance between SCHEDULED STOP POINTS at a CONNECTION is plausible30plausibility
S.09.01-bThe location of QUAY and SCHEDULED STOP POINT should be within reasonable distance of the location or surface of STOP PLACE30plausibility
S.15.01Every TOPOGRAPHIC PLACE has a Name40structure
S.15.02Type of TOPOGRAPHIC LOCATIONS40structure
S.15.03PostalRegion attribute on ADDRESS element40structure
S.15.04Hierarchy of TOPOGRAPHIC LOCATIONS40structure
S.15.06Management of STOP PLACE's additionalTopographicPlaces (belonging to several municipalities)40structure
S.30.05Membership of a SITE by a SITE COMPONENT.40structure
S.31.01The members of a CONSTRAINT ZONE are SCHEDULED STOP POINTs40structure
S.31.02A ROUTING CONSTRAINT ZONE must be defined either by Stop or by a boundary20structure
S.31.03A ROUTING CONSTRAINT ZONE must specify the nature of its use.40structure
T.02.01Each LINE should have a different name and a different public code20structure
T.02.02TransportSubmode must be a part of the TransportMode30integrity
T.02.02-bEvery LINE must have an OPERATOR30integrity
T.02.03The TypeOfLineRef must meet the profile requirements40structure
T.02.04MODE and SUBMODE of a LINE must be consistent with stops and journeys30semantic
T.02.05A LINE must have at least one ROUTE30integrity
T.02.05-bThe “inverse” of the SERVICE PATTERN must match the approximate reverse of sequence40semantic
T.02.08If no RouteRef is available in a SERVICE JOURNEY. a RouteView with LineRef must be available30structure
T.02.10Check that there is at least one LINE in any GROUP OF LINEs30structure
T.02.11The main line of a GROUP OF LINEs must be part of the group30integrity
T.02.11-bColour used for each separate LINE should be distinct40quality
T.02.12A LINE must have one or more ROUTE instances40integrity
T.02.13A ROUTE must be referenced by a SERVICE JOURNEY PATTERN directly or indirectly.40integrity
T.02.14The MODE of a GROUP OF LINEs NETWORK must be consistent with that of the individual LINEs30semantic
T.03.01A primary SERVICE JOURNEY shall have at least one SERVICE PATTTERN, and/or have a list of CALLs20structure
T.03.01-bA ROUTE must have one or more SERVICE PATTERNs that use it.50quality
T.03.01-cA SERVICE JOURNEY must reference a SERVICE PATTERN.30integrity
T.03.03SERVICE JOURNEY PATTERN must contain POINTS IN JOURNEY PATTERN40structure
T.03.03-bA SERVICE JOURNEY PATTERN must have a minimum of two Points30structure
T.03.04The TransportMode and TransportSubmode of the Journey must respect the choices of the profile30structure
T.03.04-bJOURNEY PATTERNs of SERVICE JOURNEYs shall only include S POINTS IN JOURNEY PATTERN that reference SHCEDULED STOP POINTs10structure
T.03.06An OPERATOR must be declared for each SERVIOCE JOURNEY20structure
T.03.09A substitution SERVICE JOURNEY must reference a SERVICE JOURNEY that it is replacing40integrity
T.04.01Every SERVICE JOURNEY should be referenced either by a GROUP OF SERVICEs or by a SERVICE JOURNEY INTERCHANGE or by an INTERCHANGE RULE.40integrity
T.04.02A SERVICE JOURNEY instances that have a similar DIRECTION and DAY TYPE and JOURNEY PATTERN should be grouped with a GROUP OF SERVICEs30structure
T.07.11DESTINATION DISPLAYs should always have at least one "FrontText"40structure
T.07.12DESTINATION DISPLAY VARIANTs always have at least one "FrontText"40structure
T.07.XXCheck if the Journey PATTERN matches any associated ROUTE40semantic
T.08.01A SERVICE JOURNEY have at least one DAY TYPE20structure
T.08.02A DAY TYPE must have sufficient PropertiesOfDay to characterise it30structure
T.08.05Days without scheduled SERVICE JOURNEYs for a Line must raise a warning30structure
T.08.11Validity period of the SERVICE JOURNEYs must fall within the validity period of the VERSION FRAME20structure
T.08.12The validity of the timetable must be at least N days.40structure
T.09.01Every POINT IN JOURNEY POINT In a JOURNEY PATTERN used by a JOURNEY must have an PASSING TIME with arrival and departure time (except for the first and last stop)20integrity
T.09.02There should be a time specified on each CALL of a SERVICE JOURNET30structure
T.09.03Successive DayOffset+PassingTimes for the POINTs IN JOURNEY Pattern or CALLS of a Journey must not decrease. N20structure
T.09.06Consistency of schedules: schedules at the earliest and at the latest20semantic
T.09.07Successive timing between stops should be consistent with specified durations from TIMING LINKs t20semantic
T.09.09PASSING TIMEs for successive POINT IN JORUNEY PATTERNS must result in a plausible speed for the MODE and VEHICLE TYPE30plausibility
T.09.10The duration of a SERVICE JORUNEY Journey should be consistent with the timings and distances.30semantic
T.11.01Shared JOURNEY PARTs must be independent of any specific SERVICE JORUNEY40structure
T.11.02Each JOURNEY PART should be coherent with the SERVICE PATTERN of the SERVICE JOURNEY20semantic
T.11.03Timings of each JOURNEY PART should be coherent with the times of the SERVICE JOURNEY10semantic
T.11.05JOURNEY PART is coherent with the parent JOURNEY20semantic
T.11.09JOURNEY PART COUPLEs should be consistent with JOURNEY PARTs20semantic
T.12.02Distance between SCHEDULED STOP POINTS in JOURNEY PATTERN is plausible30plausibility
T.12.04If the DESTINATION DISPLAY is flagged as changing at a point, then the new DESTINATION DISPLAY must be present.40structure
T.14.01TEMPLATE SERVICE JOURNEYs must have an associated frequency or rhythm20integrity
T.14.01-bSpecific VEHICLE TYPE capabilities should be populated (e.g. wheelchair)40structure
T.14.02RHYTHMICAL JOUREY GROUP should not be used in EPIP20structure
T.14.03For a HEADWAY JOURNEY GROUa frequency must be specified20structure
T.14.04End of Period of cadences for JOURNEY FREQUENCY GROUP must be specified20structure
T.14.07TEMPLATE SERVICE JOURNEY must have an appropriate type attribute20integrity
T.14.09Reference usage for HEADWAY JOURNEY GROUP and RHYTHMICAL JOURNEY GROUP should be declared in frame and not inline30integrity
T.14.10JOURNEY FREQUENCY GROUP must contain more than one SERVICE JOURNEY30structure
T.14.XXConsistency of the return route20semantic
T.14.XX-bLINE and ROUTE should be linked consistently20semantic
T.21.01A TRANSFER must have a transfer time30integrity
T.21.01-bNOTICE ASSIGNMENTS are only related to TIMETABLEs. SERVICE JOURNEYs. POINTs IN JOURNEYPATTERN. SERVICE JOURNEY INTERCHANGEs40structure
T.21.02Transit times should be specified on DEFAULT CONNECTIONs and SITE CONENCTIONs..40structure
T.21.03Transit times should be specified on CONNECTIONs.40structure
T.21.04Checking the type of transfer30structure
T.21.05Reasonable walking speed - Consistency between duration and distance of a CONNECTION / TRANSFER20plausibility
T.21.05-bCheck if the SERVICE JOURNEY INTERCHANGE transfer distance is reasonable30plausibility
T.21.07Duration of interchanges between SERVICE JOURNEYS30semantic
T.25.01FLEXIBLE SERVICEA should be characterised by a FlexibleServiceType. This should be coherent with the LINE type.30semantic
T.25.01-bCLASS of USE on PASSENGER CAPACITY should be restricted to subset of possible values.40format
T.25.02FLEXIBLE SERVICEs using point standing for a zone should have the required ZONE.30structure
T.25.02-bOrder of TRAIN COMPONENTs20semantic
T.25.03FLEXIBLE SERVICEs using stopping areas require a zone containing stops.40structure
T.25.03-bCLASS of USE on TRAIN ELEMENT should be restricted to subset of possible values.30format
T.25.04FLEXIBLE SERVICE should be coherent with any frequency interval20semantic
T.25.05Use specific instances for FLEXIBLE SERVICE PROPERTies for each FLEXIBL SERVICE30structure
T.30.01The URL of the schematic plan must be valid40structure
T.30.02Check objects in SCHEMATIC MAPs40structure
T.35.01Specific BOOKING ARRANGEMENTs must be given30structure
T.40.02A Type of Vehicle must be named30structure
T.48.01Any SCHEDULED STOP POINT that is declared should be used. i.e. referenced by an assignment or POINT IN PATTERN etc.40quality

Co-financed by the Connecting Europe Facility of the European Union