Skip to content

Entur netex-validator-java rules

139 of 139 rules

CodeDescriptionSeverityCategory
AUTHORITY_1Authority missing CompanyNumberINFOstructure
AUTHORITY_2Authority missing NameERRORstructure
AUTHORITY_3Authority missing LegalNameINFOstructure
AUTHORITY_4Authority missing ContactDetailsERRORstructure
AUTHORITY_5Authority missing Url for ContactDetailsERRORstructure
BLOCK_1Block missing VehicleScheduleFrameERRORstructure
BLOCK_2Block missing JourneyERRORstructure
BLOCK_3Block missing DayTypeWARNINGstructure
BOOKING_4Booking propertyERRORintegrity
BOOKING_5Missing BookWhen or MinimumBookingPeriodWARNINGintegrity
COMPOSITE_FRAME_1CompositeFrame - missing ValidityConditionERRORstructure
COMPOSITE_FRAME_2CompositeFrame - invalid nested ValidityConditionWARNINGsemantic
COMPOSITE_FRAME_3CompositeFrame - missing ValidBetweenERRORstructure
COMPOSITE_FRAME_4CompositeFrame - invalid ValidBetweenERRORsemantic
COMPOSITE_FRAME_5CompositeFrame - invalid AvailabilityConditionERRORsemantic
COMPOSITE_FRAME_6CompositeFrame - missing AvailabilityConditionERRORstructure
COMPOSITE_FRAME_SITE_FRAMECompositeFrame - unexpected SiteFrameWARNINGstructure
COMPOSITE_TIMETABLE_FRAME_IN_COMMON_FILECompositeFrame - Illegal TimetableFrame in common fileERRORstructure
DATED_SERVICE_JOURNEY_1DatedServiceJourney missing OperatingDayRefERRORintegrity
DATED_SERVICE_JOURNEY_2DatedServiceJourney missing ServiceJourneyRefERRORintegrity
DATED_SERVICE_JOURNEY_3DatedServiceJourney multiple ServiceJourneyRefERRORintegrity
DATED_SERVICE_JOURNEY_4DatedServiceJourney multiple versionsWARNINGintegrity
DATED_SERVICE_JOURNEY_5DatedServiceJourney multiple references to the same DatedServiceJourneyERRORintegrity
DEAD_RUN_1DeadRun missing PassingTime referencesINFOintegrity
DEAD_RUN_2DeadRun missing JourneyPattern referencesERRORintegrity
DEAD_RUN_3DeadRun missing DayType referencesERRORintegrity
DESTINATION_DISPLAY_1DestinationDisplay missing FrontTextERRORstructure
DESTINATION_DISPLAY_2DestinationDisplay missing DestinationDisplayRef on ViaERRORintegrity
FLEXIBLE_LINE_1FlexibleLine missing FlexibleLineTypeERRORstructure
FLEXIBLE_LINE_10FlexibleLine illegal use of both BookWhen and MinimumBookingPeriodWARNINGintegrity
FLEXIBLE_LINE_11FlexibleLine BookWhen without LatestBookingTime or LatestBookingTime without BookWhenWARNINGintegrity
FLEXIBLE_SERVICE_1FlexibleService missing Id on FlexibleServicePropertiesERRORstructure
FLEXIBLE_SERVICE_2FlexibleService missing version on FlexibleServicePropertiesERRORintegrity
FLEXIBLE_SERVICE_3FlexibleService illegal use of both BookWhen and MinimumBookingPeriodWARNINGintegrity
FLEXIBLE_SERVICE_4FlexibleService BookWhen without LatestBookingTime or LatestBookingTime without BookWhenWARNINGintegrity
INTERCHANGE_1Interchange invalid propertiesWARNINGsemantic
INTERCHANGE_2Interchange unexpected MaximumWaitTimeWARNINGsemantic
INTERCHANGE_3Interchange excessive MaximumWaitTimeWARNINGsemantic
JOURNEY_PATTERN_1JourneyPattern illegal element ServiceJourneyPatternERRORstructure
JOURNEY_PATTERN_2JourneyPattern missing JourneyPatternERRORstructure
JOURNEY_PATTERN_3JourneyPattern missing RouteRefERRORintegrity
JOURNEY_PATTERN_4JourneyPattern missing DestinationDisplayRef on first stop pointERRORintegrity
JOURNEY_PATTERN_5JourneyPattern illegal DestinationDisplayRef on last stop pointWARNINGintegrity
JOURNEY_PATTERN_6JourneyPattern stop point without boarding or alightingWARNINGsemantic
JOURNEY_PATTERN_7JourneyPattern illegal repetition of DestinationDisplayERRORsemantic
JOURNEY_PATTERN_8JourneyPattern illegal use of both BookWhen and MinimumBookingPeriodWARNINGintegrity
JOURNEY_PATTERN_9JourneyPattern BookWhen without LatestBookingTime or LatestBookingTime without BookWhenWARNINGintegrity
LINE_1Line - exactly one Line or FlexibleLineERRORstructure
LINE_2Line missing NameERRORstructure
LINE_3Line missing PublicCodeWARNINGstructure
LINE_4Line missing TransportModeERRORstructure
LINE_5Line missing TransportSubmodeWARNINGstructure
LINE_6Line with incorrect use of RouteERRORstructure
LINE_7Line missing Network or GroupOfLinesERRORstructure
LINE_8Invalid color coding length on PresentationWARNINGformat
LINE_9Invalid color coding value on PresentationWARNINGformat
NETEX_ID_1NeTEx ID duplicated across filesERRORintegrity
NETEX_ID_10Duplicate NeTEx ID across common filesWARNINGintegrity
NETEX_ID_5NeTEx ID unresolved referenceERRORintegrity
NETEX_ID_6NeTEx ID reference to invalid elementERRORintegrity
NETEX_ID_7NeTEx ID invalid valueERRORintegrity
NETEX_ID_8NeTEx ID missing version on elementsERRORintegrity
NETEX_ID_9NeTEx ID missing version on referenceERRORintegrity
NETWORK_1Network missing AuthorityRefERRORintegrity
NETWORK_2Network missing Name on NetworkERRORstructure
NETWORK_3Network missing Name on GroupOfLinesERRORstructure
NOTICE_1Notice missing TextERRORstructure
NOTICE_2Notice missing Text with alternative textERRORstructure
NOTICE_3Notice missing language with alternative textERRORstructure
NOTICE_4Notice duplicated alternative textsERRORintegrity
NOTICE_5Notice duplicated assignmentWARNINGintegrity
NOTICE_6Notice assignment missing reference to noticed objectERRORintegrity
NOTICE_7Notice assignment missing reference to noticeERRORintegrity
OPERATING_PERIOD_1OperatingPeriod invalid time intervalERRORsemantic
OPERATOR_1Operator missing CompanyNumberINFOstructure
OPERATOR_2Operator missing NameERRORstructure
OPERATOR_3Operator missing LegalNameINFOstructure
OPERATOR_4Operator missing ContactDetailsWARNINGstructure
OPERATOR_5Operator missing Url for ContactDetailsWARNINGstructure
OPERATOR_6Operator missing CustomerServiceContactDetailsWARNINGstructure
OPERATOR_7Operator missing Url for CustomerServiceContactDetailsWARNINGstructure
PASSENGER_STOP_ASSIGNMENT_1PassengerStopAssignment missing ScheduledStopPointRefERRORintegrity
PASSENGER_STOP_ASSIGNMENT_2PassengerStopAssignment missing QuayRefERRORintegrity
PASSENGER_STOP_ASSIGNMENT_3PassengerStopAssignment duplicated Quay assignmentWARNINGintegrity
RESOURCE_FRAME_IN_LINE_FILEResourceFrame must be exactly oneERRORstructure
ROUTE_1Route missingERRORstructure
ROUTE_2Route missing NameERRORstructure
ROUTE_3Route missing LineRefERRORintegrity
ROUTE_4Route missing pointsInSequenceERRORstructure
ROUTE_5Route illegal DirectionRefWARNINGintegrity
ROUTE_6Route duplicated orderWARNINGsemantic
ROUTE_7Route missing JourneyPatternERRORstructure
SERVICE_CALENDAR_1ServiceCalendar unused DayTypeWARNINGquality
SERVICE_CALENDAR_2ServiceCalendar empty ServiceCalendarWARNINGquality
SERVICE_CALENDAR_3ServiceCalendar missing ToDateWARNINGstructure
SERVICE_CALENDAR_4ServiceCalendar missing FromDateWARNINGstructure
SERVICE_CALENDAR_5ServiceCalendar invalid time intervalERRORsemantic
SERVICE_FRAME_1ServiceFrame unexpected element GroupOfLinesERRORstructure
SERVICE_FRAME_2ServiceFrame unexpected element timingPointsWARNINGstructure
SERVICE_FRAME_3ServiceFrame missing Projection on RoutePointERRORstructure
SERVICE_FRAME_IN_COMMON_FILE_1ServiceFrame unexpected element LineERRORstructure
SERVICE_FRAME_IN_COMMON_FILE_2ServiceFrame unexpected element RouteERRORstructure
SERVICE_FRAME_IN_COMMON_FILE_3ServiceFrame unexpected element JourneyPatternERRORstructure
SERVICE_JOURNEY_1ServiceJourney must existERRORstructure
SERVICE_JOURNEY_10ServiceJourney missing reference to JourneyPatternERRORintegrity
SERVICE_JOURNEY_11ServiceJourney invalid overriding of transport modesWARNINGsemantic
SERVICE_JOURNEY_12ServiceJourney missing OperatorRefERRORintegrity
SERVICE_JOURNEY_13ServiceJourney missing reference to calendar dataERRORintegrity
SERVICE_JOURNEY_14ServiceJourney duplicated reference to calendar dataERRORintegrity
SERVICE_JOURNEY_16ServiceJourney multiple versionsWARNINGintegrity
SERVICE_JOURNEY_17Non-unique NeTEx id for TimetabledPassingTimeERRORintegrity
SERVICE_JOURNEY_2ServiceJourney illegal element CallERRORstructure
SERVICE_JOURNEY_3ServiceJourney missing element PassingTimesERRORstructure
SERVICE_JOURNEY_4ServiceJourney missing arrival and departureERRORsemantic
SERVICE_JOURNEY_5ServiceJourney missing departure timesERRORsemantic
SERVICE_JOURNEY_6ServiceJourney missing arrival time for last stopERRORsemantic
SERVICE_JOURNEY_7ServiceJourney identical arrival and departureWARNINGsemantic
SERVICE_JOURNEY_8ServiceJourney missing id on TimetabledPassingTimeWARNINGstructure
SERVICE_JOURNEY_9ServiceJourney missing version on TimetabledPassingTimeWARNINGintegrity
SERVICE_LINK_1ServiceLink missing FromPointRefERRORintegrity
SERVICE_LINK_2ServiceLink missing ToPointRefERRORintegrity
SERVICE_LINK_3ServiceLink missing element ProjectionsWARNINGstructure
SERVICE_LINK_4ServiceLink missing coordinate listERRORstructure
SERVICE_LINK_5ServiceLink less than 2 pointsWARNINGsemantic
SITE_FRAME_IN_COMMON_FILESiteFrame unexpected SiteFrame in Common fileWARNINGstructure
SITE_FRAME_IN_LINE_FILESiteFrame unexpected SiteFrame in Line fileWARNINGstructure
TIMETABLE_FRAME_IN_COMMON_FILETimetableFrame illegal in Common fileERRORstructure
VALIDITY_CONDITIONS_IN_COMMON_FILE_1ValidityConditions missing in ServiceFrame or ServiceCalendarFrameERRORstructure
VALIDITY_CONDITIONS_IN_COMMON_FILE_2ValidityConditions missing in ResourceFramesERRORstructure
VALIDITY_CONDITIONS_IN_COMMON_FILE_3ValidityConditions missing in ServiceFramesERRORstructure
VALIDITY_CONDITIONS_IN_COMMON_FILE_4ValidityConditions missing in ServiceCalendarFramesERRORstructure
VALIDITY_CONDITIONS_IN_LINE_FILE_1ValidityConditions missing in all framesERRORstructure
VALIDITY_CONDITIONS_IN_LINE_FILE_2ValidityConditions missing in ServiceFramesERRORstructure
VALIDITY_CONDITIONS_IN_LINE_FILE_3ValidityConditions missing in ServiceCalendarFramesERRORstructure
VALIDITY_CONDITIONS_IN_LINE_FILE_4ValidityConditions missing in TimeTableFramesERRORstructure
VALIDITY_CONDITIONS_IN_LINE_FILE_5ValidityConditions missing in VehicleScheduleFrameERRORstructure
VERSION_NON_NUMERICNon-numeric NeTEx versionWARNINGformat
XML_SCHEMA_ERRORNeTEx XML Schema validation errorCRITICALstructure
XML_SCHEMA_WARNINGNeTEx XML Schema validation warningWARNINGstructure

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