Entur netex-validator-java rules
139 of 139 rules
| Code | Description | Severity | Category |
|---|---|---|---|
| AUTHORITY_1 | Authority missing CompanyNumber | INFO | structure |
| AUTHORITY_2 | Authority missing Name | ERROR | structure |
| AUTHORITY_3 | Authority missing LegalName | INFO | structure |
| AUTHORITY_4 | Authority missing ContactDetails | ERROR | structure |
| AUTHORITY_5 | Authority missing Url for ContactDetails | ERROR | structure |
| BLOCK_1 | Block missing VehicleScheduleFrame | ERROR | structure |
| BLOCK_2 | Block missing Journey | ERROR | structure |
| BLOCK_3 | Block missing DayType | WARNING | structure |
| BOOKING_4 | Booking property | ERROR | integrity |
| BOOKING_5 | Missing BookWhen or MinimumBookingPeriod | WARNING | integrity |
| COMPOSITE_FRAME_1 | CompositeFrame - missing ValidityCondition | ERROR | structure |
| COMPOSITE_FRAME_2 | CompositeFrame - invalid nested ValidityCondition | WARNING | semantic |
| COMPOSITE_FRAME_3 | CompositeFrame - missing ValidBetween | ERROR | structure |
| COMPOSITE_FRAME_4 | CompositeFrame - invalid ValidBetween | ERROR | semantic |
| COMPOSITE_FRAME_5 | CompositeFrame - invalid AvailabilityCondition | ERROR | semantic |
| COMPOSITE_FRAME_6 | CompositeFrame - missing AvailabilityCondition | ERROR | structure |
| COMPOSITE_FRAME_SITE_FRAME | CompositeFrame - unexpected SiteFrame | WARNING | structure |
| COMPOSITE_TIMETABLE_FRAME_IN_COMMON_FILE | CompositeFrame - Illegal TimetableFrame in common file | ERROR | structure |
| DATED_SERVICE_JOURNEY_1 | DatedServiceJourney missing OperatingDayRef | ERROR | integrity |
| DATED_SERVICE_JOURNEY_2 | DatedServiceJourney missing ServiceJourneyRef | ERROR | integrity |
| DATED_SERVICE_JOURNEY_3 | DatedServiceJourney multiple ServiceJourneyRef | ERROR | integrity |
| DATED_SERVICE_JOURNEY_4 | DatedServiceJourney multiple versions | WARNING | integrity |
| DATED_SERVICE_JOURNEY_5 | DatedServiceJourney multiple references to the same DatedServiceJourney | ERROR | integrity |
| DEAD_RUN_1 | DeadRun missing PassingTime references | INFO | integrity |
| DEAD_RUN_2 | DeadRun missing JourneyPattern references | ERROR | integrity |
| DEAD_RUN_3 | DeadRun missing DayType references | ERROR | integrity |
| DESTINATION_DISPLAY_1 | DestinationDisplay missing FrontText | ERROR | structure |
| DESTINATION_DISPLAY_2 | DestinationDisplay missing DestinationDisplayRef on Via | ERROR | integrity |
| FLEXIBLE_LINE_1 | FlexibleLine missing FlexibleLineType | ERROR | structure |
| FLEXIBLE_LINE_10 | FlexibleLine illegal use of both BookWhen and MinimumBookingPeriod | WARNING | integrity |
| FLEXIBLE_LINE_11 | FlexibleLine BookWhen without LatestBookingTime or LatestBookingTime without BookWhen | WARNING | integrity |
| FLEXIBLE_SERVICE_1 | FlexibleService missing Id on FlexibleServiceProperties | ERROR | structure |
| FLEXIBLE_SERVICE_2 | FlexibleService missing version on FlexibleServiceProperties | ERROR | integrity |
| FLEXIBLE_SERVICE_3 | FlexibleService illegal use of both BookWhen and MinimumBookingPeriod | WARNING | integrity |
| FLEXIBLE_SERVICE_4 | FlexibleService BookWhen without LatestBookingTime or LatestBookingTime without BookWhen | WARNING | integrity |
| INTERCHANGE_1 | Interchange invalid properties | WARNING | semantic |
| INTERCHANGE_2 | Interchange unexpected MaximumWaitTime | WARNING | semantic |
| INTERCHANGE_3 | Interchange excessive MaximumWaitTime | WARNING | semantic |
| JOURNEY_PATTERN_1 | JourneyPattern illegal element ServiceJourneyPattern | ERROR | structure |
| JOURNEY_PATTERN_2 | JourneyPattern missing JourneyPattern | ERROR | structure |
| JOURNEY_PATTERN_3 | JourneyPattern missing RouteRef | ERROR | integrity |
| JOURNEY_PATTERN_4 | JourneyPattern missing DestinationDisplayRef on first stop point | ERROR | integrity |
| JOURNEY_PATTERN_5 | JourneyPattern illegal DestinationDisplayRef on last stop point | WARNING | integrity |
| JOURNEY_PATTERN_6 | JourneyPattern stop point without boarding or alighting | WARNING | semantic |
| JOURNEY_PATTERN_7 | JourneyPattern illegal repetition of DestinationDisplay | ERROR | semantic |
| JOURNEY_PATTERN_8 | JourneyPattern illegal use of both BookWhen and MinimumBookingPeriod | WARNING | integrity |
| JOURNEY_PATTERN_9 | JourneyPattern BookWhen without LatestBookingTime or LatestBookingTime without BookWhen | WARNING | integrity |
| LINE_1 | Line - exactly one Line or FlexibleLine | ERROR | structure |
| LINE_2 | Line missing Name | ERROR | structure |
| LINE_3 | Line missing PublicCode | WARNING | structure |
| LINE_4 | Line missing TransportMode | ERROR | structure |
| LINE_5 | Line missing TransportSubmode | WARNING | structure |
| LINE_6 | Line with incorrect use of Route | ERROR | structure |
| LINE_7 | Line missing Network or GroupOfLines | ERROR | structure |
| LINE_8 | Invalid color coding length on Presentation | WARNING | format |
| LINE_9 | Invalid color coding value on Presentation | WARNING | format |
| NETEX_ID_1 | NeTEx ID duplicated across files | ERROR | integrity |
| NETEX_ID_10 | Duplicate NeTEx ID across common files | WARNING | integrity |
| NETEX_ID_5 | NeTEx ID unresolved reference | ERROR | integrity |
| NETEX_ID_6 | NeTEx ID reference to invalid element | ERROR | integrity |
| NETEX_ID_7 | NeTEx ID invalid value | ERROR | integrity |
| NETEX_ID_8 | NeTEx ID missing version on elements | ERROR | integrity |
| NETEX_ID_9 | NeTEx ID missing version on reference | ERROR | integrity |
| NETWORK_1 | Network missing AuthorityRef | ERROR | integrity |
| NETWORK_2 | Network missing Name on Network | ERROR | structure |
| NETWORK_3 | Network missing Name on GroupOfLines | ERROR | structure |
| NOTICE_1 | Notice missing Text | ERROR | structure |
| NOTICE_2 | Notice missing Text with alternative text | ERROR | structure |
| NOTICE_3 | Notice missing language with alternative text | ERROR | structure |
| NOTICE_4 | Notice duplicated alternative texts | ERROR | integrity |
| NOTICE_5 | Notice duplicated assignment | WARNING | integrity |
| NOTICE_6 | Notice assignment missing reference to noticed object | ERROR | integrity |
| NOTICE_7 | Notice assignment missing reference to notice | ERROR | integrity |
| OPERATING_PERIOD_1 | OperatingPeriod invalid time interval | ERROR | semantic |
| OPERATOR_1 | Operator missing CompanyNumber | INFO | structure |
| OPERATOR_2 | Operator missing Name | ERROR | structure |
| OPERATOR_3 | Operator missing LegalName | INFO | structure |
| OPERATOR_4 | Operator missing ContactDetails | WARNING | structure |
| OPERATOR_5 | Operator missing Url for ContactDetails | WARNING | structure |
| OPERATOR_6 | Operator missing CustomerServiceContactDetails | WARNING | structure |
| OPERATOR_7 | Operator missing Url for CustomerServiceContactDetails | WARNING | structure |
| PASSENGER_STOP_ASSIGNMENT_1 | PassengerStopAssignment missing ScheduledStopPointRef | ERROR | integrity |
| PASSENGER_STOP_ASSIGNMENT_2 | PassengerStopAssignment missing QuayRef | ERROR | integrity |
| PASSENGER_STOP_ASSIGNMENT_3 | PassengerStopAssignment duplicated Quay assignment | WARNING | integrity |
| RESOURCE_FRAME_IN_LINE_FILE | ResourceFrame must be exactly one | ERROR | structure |
| ROUTE_1 | Route missing | ERROR | structure |
| ROUTE_2 | Route missing Name | ERROR | structure |
| ROUTE_3 | Route missing LineRef | ERROR | integrity |
| ROUTE_4 | Route missing pointsInSequence | ERROR | structure |
| ROUTE_5 | Route illegal DirectionRef | WARNING | integrity |
| ROUTE_6 | Route duplicated order | WARNING | semantic |
| ROUTE_7 | Route missing JourneyPattern | ERROR | structure |
| SERVICE_CALENDAR_1 | ServiceCalendar unused DayType | WARNING | quality |
| SERVICE_CALENDAR_2 | ServiceCalendar empty ServiceCalendar | WARNING | quality |
| SERVICE_CALENDAR_3 | ServiceCalendar missing ToDate | WARNING | structure |
| SERVICE_CALENDAR_4 | ServiceCalendar missing FromDate | WARNING | structure |
| SERVICE_CALENDAR_5 | ServiceCalendar invalid time interval | ERROR | semantic |
| SERVICE_FRAME_1 | ServiceFrame unexpected element GroupOfLines | ERROR | structure |
| SERVICE_FRAME_2 | ServiceFrame unexpected element timingPoints | WARNING | structure |
| SERVICE_FRAME_3 | ServiceFrame missing Projection on RoutePoint | ERROR | structure |
| SERVICE_FRAME_IN_COMMON_FILE_1 | ServiceFrame unexpected element Line | ERROR | structure |
| SERVICE_FRAME_IN_COMMON_FILE_2 | ServiceFrame unexpected element Route | ERROR | structure |
| SERVICE_FRAME_IN_COMMON_FILE_3 | ServiceFrame unexpected element JourneyPattern | ERROR | structure |
| SERVICE_JOURNEY_1 | ServiceJourney must exist | ERROR | structure |
| SERVICE_JOURNEY_10 | ServiceJourney missing reference to JourneyPattern | ERROR | integrity |
| SERVICE_JOURNEY_11 | ServiceJourney invalid overriding of transport modes | WARNING | semantic |
| SERVICE_JOURNEY_12 | ServiceJourney missing OperatorRef | ERROR | integrity |
| SERVICE_JOURNEY_13 | ServiceJourney missing reference to calendar data | ERROR | integrity |
| SERVICE_JOURNEY_14 | ServiceJourney duplicated reference to calendar data | ERROR | integrity |
| SERVICE_JOURNEY_16 | ServiceJourney multiple versions | WARNING | integrity |
| SERVICE_JOURNEY_17 | Non-unique NeTEx id for TimetabledPassingTime | ERROR | integrity |
| SERVICE_JOURNEY_2 | ServiceJourney illegal element Call | ERROR | structure |
| SERVICE_JOURNEY_3 | ServiceJourney missing element PassingTimes | ERROR | structure |
| SERVICE_JOURNEY_4 | ServiceJourney missing arrival and departure | ERROR | semantic |
| SERVICE_JOURNEY_5 | ServiceJourney missing departure times | ERROR | semantic |
| SERVICE_JOURNEY_6 | ServiceJourney missing arrival time for last stop | ERROR | semantic |
| SERVICE_JOURNEY_7 | ServiceJourney identical arrival and departure | WARNING | semantic |
| SERVICE_JOURNEY_8 | ServiceJourney missing id on TimetabledPassingTime | WARNING | structure |
| SERVICE_JOURNEY_9 | ServiceJourney missing version on TimetabledPassingTime | WARNING | integrity |
| SERVICE_LINK_1 | ServiceLink missing FromPointRef | ERROR | integrity |
| SERVICE_LINK_2 | ServiceLink missing ToPointRef | ERROR | integrity |
| SERVICE_LINK_3 | ServiceLink missing element Projections | WARNING | structure |
| SERVICE_LINK_4 | ServiceLink missing coordinate list | ERROR | structure |
| SERVICE_LINK_5 | ServiceLink less than 2 points | WARNING | semantic |
| SITE_FRAME_IN_COMMON_FILE | SiteFrame unexpected SiteFrame in Common file | WARNING | structure |
| SITE_FRAME_IN_LINE_FILE | SiteFrame unexpected SiteFrame in Line file | WARNING | structure |
| TIMETABLE_FRAME_IN_COMMON_FILE | TimetableFrame illegal in Common file | ERROR | structure |
| VALIDITY_CONDITIONS_IN_COMMON_FILE_1 | ValidityConditions missing in ServiceFrame or ServiceCalendarFrame | ERROR | structure |
| VALIDITY_CONDITIONS_IN_COMMON_FILE_2 | ValidityConditions missing in ResourceFrames | ERROR | structure |
| VALIDITY_CONDITIONS_IN_COMMON_FILE_3 | ValidityConditions missing in ServiceFrames | ERROR | structure |
| VALIDITY_CONDITIONS_IN_COMMON_FILE_4 | ValidityConditions missing in ServiceCalendarFrames | ERROR | structure |
| VALIDITY_CONDITIONS_IN_LINE_FILE_1 | ValidityConditions missing in all frames | ERROR | structure |
| VALIDITY_CONDITIONS_IN_LINE_FILE_2 | ValidityConditions missing in ServiceFrames | ERROR | structure |
| VALIDITY_CONDITIONS_IN_LINE_FILE_3 | ValidityConditions missing in ServiceCalendarFrames | ERROR | structure |
| VALIDITY_CONDITIONS_IN_LINE_FILE_4 | ValidityConditions missing in TimeTableFrames | ERROR | structure |
| VALIDITY_CONDITIONS_IN_LINE_FILE_5 | ValidityConditions missing in VehicleScheduleFrame | ERROR | structure |
| VERSION_NON_NUMERIC | Non-numeric NeTEx version | WARNING | format |
| XML_SCHEMA_ERROR | NeTEx XML Schema validation error | CRITICAL | structure |
| XML_SCHEMA_WARNING | NeTEx XML Schema validation warning | WARNING | structure |
