Commission Regulation (EC) No 416/2007 of 22 March 2007 concerning the technical specifications for Notices to Skippers as referred to in Article 5 of Directive 2005/44/EC of the European Parliament and of the Council on harmonised river information services (RIS) on inland waterways in the Community
Explicit version information is not necessary in the requests or responses of the NtS Web Service. There are only a few versions of the services expected to be online at the same time. Different versions shall be provided with different URLs. Hence, each instance of an NtS Web Service implementation shall support one specific version of the NtS Web Service.
The namespaces in the NtS Web Service are based on the web domain of the RIS Expert Groups, http://www.ris.eu/
The namespaces contain a particle indicating the corresponding service and version information. Hence, the service specified here uses the following namespace:
NtS Message Service: http://www.ris.eu/nts.ms/2.0.4.0
For higher transparency of XML documents it is recommended to define namespaces in the outmost suitable element in the schemas as well as the instance documents and not to use local namespace definitions in nested elements.
Requests and responses in the NtS Web Service shall use XML elements in qualified form, i.e. with an explicit namespace prefix, and XML attributes in unqualified form, i.e. without a namespace prefix.
It is recommended to use intuitive namespace prefixes like ‘nts’ for better human readability.
The ISRS Location Code is explained in chapter 2 of the NtS Encoding Guide for application developers as well as the RIS Index Encoding Guide.
Querying an NtS Web Service, the client can reference various objects, e.g. fairway sections, gauges or locks. If the corresponding parameters, the id elements, are used, they must contain ISRS Location Codes. These parameters are typically given in id elements, each containing one or two ids.
When using these parameters, the following general conventions have to be observed:
— ISRS Location Codes have to be submitted as full-length 20-character codes, i.e. without truncating trailing zeros,
— If two ids are used within an id element, both ISRS Location Codes have to refer to the same waterway. This means, that the codes include some identical digits located in the fairway_section part of the ISRS Location Code. The fairway section code together with the fairway hectometre defines a waterway stretch provided as pair of id elements.
For the provision of waterway stretches (id element pairs within the fairway_section geo_object) in NtS messages, the following has to be considered with respect to the ISRS Location Codes:
— digits 1 to 2 (Country code): — have to be identical within the id pair, but — different country codes may be defined within one id pair in case neighbouring countries are using the same fairway section code for a specific waterway and the same system for defining the hectometres,
— digits 3 to 5 (UN Location code): — are not relevant, may contain different content within the id pair,
— digits 6 to 10 (Fairway section code): — have to be identical within the id pair, but — [exception]: in case of using the Belgian ISRS codes within NtS WS, one should use only digits 6 to 8 to identify the fairway section, because NtS messages will be published across different sections within one fairway,
— digits 11 to 15 (Object Reference Code). — are not relevant, may contain different content within the id pair,
— digits 16 to 20 (Fairway Hectometre): — consist of five numerical digits defining the hectometre thus will usually contain different content within the id pair. Example: ‘00235’ for fairway km 23,5 ; ‘00001’ for fairway km 0,1 , — [exception]: in case of the Netherlands there is not always a direct connection between the Fairway hectometre and the physical kilometre of the fairway due to the definition of the start of the fairway stretch in the network model and in the real world, in such cases the Object Reference Code for objects of the type ‘dismar’ starts with Kxxxx (xxxx includes the physical kilometre, e.g. NLSVG00130K000300191 (km 3)). But for other types of objects there is no direct relation to the physical fairway km in the ISRS codes, e.g. the bridge of Sas van Gent on the same fairway at km 2,5 has the ISRS code NLSVG001300521600186. For the Kanaal Gent-Terneuzen the physical km 0,0 starts at the border of Belgium and the Netherlands and the Fairway Hectometre 0,0 starts at the beginning of the canal in Gent.
In case a message touches more than one waterway or fairway sections all fairway sections have to be defined by their begin- and end-point in separate ‘fairway_section’ XML elements.
For some countries/regions it is required to build filter functionality. For example if ISRS Location Code (1-2) is BE use ISRS Location Code (6-8) as the ID for linear referencing with the fairway hectometre (ISRS Location Code 16-20). Examples for fairway stretches (valid id element pairs within the fairway_section) that include above defined exceptions:
— The two NL ISRS Location Codes are a valid definition of a waterway stretch (showing NL exception with respect to the kilometre of the fairway): NLSVG00130K000300191 (km 3,0 at Sas van Gent on the Kanaal Gent-Terneuzen) — NLWDP00130K000400200 (km 4,0 at Westdorpe on the Kanaal Gent-Terneuzen),
— The two BE ISRS Location Codes are a valid definition of a waterway stretch (showing BE exception with respect to the fairway section code (‘020’ Albertkanaal)): BEGNK02016L010100414 (lock of Genk located at km 41,4 on the Albert Canal) — BEOSH02033L010500772 (lock of Ham located at km 77,2 on the Albert Canal).
The following figure shows counter-examples of ISRS Location Code usage for each of the general conventions (no exceptions to the general conventions apply to SK waterway stretches):
General remark: A service to query valid ISRS Location Codes is not supported by the NtS Web Service. The ISRS Location Codes are provided within the European Reference Data Management System (ERDMS).
The correct usage of ISRS Location Codes in queries and their interpretation is given in the following five cases.
The ids element is an optional part of the request, i.e. a query without any ids elements is allowed:
If no ids element is given, all messages shall be returned (depending, of course, on other filter criteria like validity_period or dates_issue).
Each ids element can contain one or two id elements. The case of one id element is shown in the following figure:
If such a query is received, the server shall return all matching messages with a start hectometre ≤ the given value (240,7 in the example) and an end hectometre ≥ this value. The figure below depicts this selection of messages: The position queried lies between the start and end hectometre values of messages 1, 3 and 4, which would be returned. Messages 2, 5 and 6 do not overlap with the query position, so they would not be returned.
If the given ISRS Location Code denotes a singular object, e.g. a gauge or a lock, the web service should return the messages involving this object.
Each ids element can contain one or two id elements. The case of two id elements is shown in the following figure:
All hectometre values queried shall be treated as valid, even if the corresponding fairway section has different start or end points. For instance, if the fairway section starts at hectometre 100,0 and ends at hectometre 300,0 , a request querying hectometres 20,0 up to 400,0 would be valid. Internally, of course, only the ‘real’ extent of the fairway section is searched.
Doing so also enables the search for all messages on a fairway without knowing its exact hectometre range (one would send its ISRS Location Code with hectometres set to ‘00000’ or ‘99999’ respectively).
All matching messages intersecting the given hectometre interval shall be returned. The following diagram illustrates this situation:
The figure above shows, how ‘intersecting’ is defined. While the extents of the messages 1 to 4 overlap with the extent of the queried hectometre range (partially or completely), the extents of messages 5 and 6 do not, therefore messages 1 to 4 will be returned, 5 and 6 will not be returned.
The technical condition for a message to intersect with an interval [A, B] is: The start hectometre of the message is ≤ B and its end hectometre is ≥ A.
The combination of several ids elements in the request leads to a union of the corresponding messages. All the ids elements are treated individually and a message will be returned, if it matches at least one of them. Therefore, the following messages would be returned for the given example:
— All messages for the object with the ISRS Location Code SKXXX0000010000* with start hectometre =0 and end hectometre ≥ 0 (see Case 2)
— All messages for the object with the ISRS Location Code SKXXX0000500000* which intersect the hectometre interval [11,0 , 15,0 ] (see Case 3)
— All messages for the object with the ISRS Location Code SKXXX0000200000* with start hectometre ≤ 110,5 and end hectometre ≥ 110,5 (see Case 2)
— All messages for the object with the ISRS Location Code SKXXX0000500000* which intersect the hectometre interval [220,0 , 300,0 ] (see Case 3)
9.4. NtS Message Service (implementation specification)
In this chapter the implementation specification of the NtS message service is given, deduced from the considerations and choices in the preceding chapters.
The NtS message service provides the four types of messages in the NtS:
NtS FTM (fairway and traffic related message)
NtS WRM (water related message)
NtS ICEM (ice message)
NtS WERM (weather related message)
An implementation of the NtS message service can support all message types or just a selection. It is allowed that a participating Member State provides more than one service for a specific message type, that complement each other.
In order to achieve a maximum robustness of the service while keeping the complexity on a low level no additional query language is used for the NtS Web Service. Instead the constructs provided by WSDL itself are applied. The specific operations together with their parameters are specified entirely within the WSDL specification. In the case of the NtS Message Service a single operation is defined.
The subject-specific filter criteria are taken from the NtS standard, but extended concerning multiplicity of the parameters:
— type of message (compulsory; one of ‘FTM’, ‘WRM’, ‘ICEM’, ‘WERM’),
— specific waterway sections or parts thereof, or specific objects (optional; described by single ISRS Location Codes and/or pairs of ISRS Location Codes),
— time of validity (optional; start date and end date),
— date of publication of the notice (optional; single dates and/or intervals of dates).
Only the messages matching the given criteria are returned by the service.
Paging mechanism
In order to control the amount of data a paging mechanism is supported. The paging parameter is defined with a complex type containing the following elements:
— offset: serial number of the first returned message (integer ≥ 0),
— limit: max. number of messages (integer ≥ 0),
— total count: flag, if total number of messages shall be returned (Boolean value).
The complex paging parameter is optional, but if it is present, all elements within have to be given. Then, the paging mechanism works in the following way:
The total number of messages will not exceed the value of the parameter limit, with the exception that a value of 0 means ‘no limit’. The response skips as many messages as defined in the parameter offset. In order to provide this mechanism, the service has to observe a temporarily stable (but otherwise arbitrary) sequence of the messages, e.g. between two updates of message data on the underlying data set of the web service. This means that two consecutive identical calls must return the same messages in the same order. The parameter total count determines whether the response shall provide the total number of messages matching the subject-specific criteria. Usually it should be sufficient to request this information with the first response, but omit it in all consecutive responses. This should result in a better performance of the web service.
The paging mechanism provides a means to request the messages iteratively in ‘pages’. In order for the paging mechanism to work properly, the same subject-specific parameters have to be provided in each call.
In case of a successful request the NtS Web Service response contains the NtS messages that match the request parameters. The NtS messages have to comply with the NtS schema and can be validated against that schema. Since the message type is a compulsory request parameter, each response can contain only NtS messages of the same message type, FTM, WRM, ICEM or WERM respectively.
If the service detects errors while processing the request it can return an arbitrary number of error messages, using the error codes listed in the following subchapter.
One response of an NtS Web Service can contain NtS messages and error messages at the same time.
Optional paging information is returned if the request contained paging parameters. In this case the offset and number of contained messages are mandatory, the total count needs only be present if it has been requested.
Please note: It is assumed that the communication between the web service and the user is technically established, i.e. the service receives the request and the user receives the corresponding response. Technical errors, e.g. breakdown of the internet connection or inaccessibility of the web service due to maintenance or crash, are not considered here. Only error situations that happen ‘behind’ the web service layer from the users point of view are considered here.
Error messages
The error codes for the expected error situations are given below, together with an explanation. Only the error code is contained in the response, which is the usual procedure in the XML schema of the NtS.
| Code | Description | Explanation |
|---|---|---|
| e010 | message type not supported | web service does not support the requested message type |
| e030 | paging parameters inconsistent with messages | parameters for paging mechanism do not fit the available messages, e.g. Offset >= Total Count |
| e100 | syntax error in request | request violates the schema for requests; can be specified in more detail by further e1xx-Codes |
| e110 | incorrect message type | given message type is not known |
| e120 | incorrect type-specific parameters | type-specific parameters are erroneous |
| e130 | incorrect paging parameters | given parameters for the paging mechanism are erroneous |
| e200 | operation not known | the requested operation is unknown |
| e300 | data source unavailable | data source of the web service for the NtS data is temporarily unavailable (technical problem) |
| e310 | too many results for request, | server is unable to handle number of results |
9.5. Generation of services and clients
If the contract-first approach is consequently observed, i.e. one or more contracts with complete descriptions of the interfaces are given in the form of WSDL documents, an implementation of the service(s) as well as an implementation of a corresponding client can be automatically generated using appropriate software tools. In an ideal situation no manual changes have to be made in the generated source code.
However, in most cases several iterations are necessary until the WSDL specification meets the precise requirements of such a tool. Typically the tool makes individual demands on the use of the WSDL standard in order to work smoothly. As a consequence changes to the WSDL specification may be necessary, although the WSDL specification was a valid specification according to the WSDL standard in the first place. If the WSDL specification of the web service is changed after the service or the client have been generated, a new generation process may be necessary, depending on the changes made.
Glossary
| Term | Explanation |
|---|---|
| ID | Identification |
| ISRS Location Code | ‘International Ship Reporting Standard’ Location Code |
| NtS | Notices to Skippers |
| RIS | River Information Services |
| SOAP | Simple Object Access Protocol; network protocol typically used for web services |
| UDDI | Universal Description, Discovery and Integration; Standard for registry services in the context of web services |
| UN | United Nations |
| URL | Uniform Resource Locator; location of a network resource typically used for internet addresses |
| WGS 84 | World Geodetic System 1984 |
| WS | Web Service; service that provides its interfaces in the internet and is used by internet communication |
| WSDL | Web Services Description Language; standard for the specification of web services |
| WS-I | Web Services Interoperability Organisation; industry consortium with the objective to support interoperability of web services |
| XML | Extensible Markup Language; meta language for the structured and platform independent representation of data |
| XSD | XML Schema Definition; standard to specify the structure of XML documents |
Appendix C
| No | Tag (Group headers and closers are boldly printed) | Description | Occ. | Rule |
|---|---|---|---|---|
| xmlns:nts="http://www.ris.eu/nts/4.0.4.0" | ||||
| Notice to Skippers | ||||
| 1s | Identification section | M | 1 | |
| 1.1 | xs:string (64) | Internal ID | C | |
| 1.2 | xs:string (64) | Sender (System) of the message | M | |
| 1.3 | xs:string (64) | Originator (initiator) of the information in this message | M | |
| 1.4 | nts:country_code_enum | Country where message is valid | M | |
| 1.5 | nts:language_code_enum | Original language used in the textual info. (contents) | M | |
| 1.6 | xs:string (64) | District / Region within the specified country, where the message is applicable | C | |
| 1.7 | xs:dateTime | Date and time of publication including time zone (yyyy-mm-ddThh:mm:ss+hh:mm) | M | |
| 1e | ||||
| 2s | Fairway and traffic related section | C | 1 | |
| 2.1 | xs:string (64) | Internal ID | C | |
| 2.2s | NtS Number | M | ||
| 2.2.1 | xs:string (64)</organisation | Name of the publishing organisation (NtS Provider) | M | |
| 2.2.2 | xs:gYear (1900-9999) | Year of first issuing of the notice | M | |
| 2.2.3 | xs:integer (0-99999999) | Number of the notice (per year, starting with: 1, 0 shall not be used for published notices) | M | |
| 2.2.4 | xs:integer (0-99) | Serial number of notice (replacements and withdrawals), original notice: 0 | M | |
| 2.2e | ||||
| 2.3s | Target group information | C | ||
| 2.3.1 | nts:target_group_code_enum | Target group (vessel type) for this message | M | 5 |
| 2.3.2 | nts:direction_code_enum | Upstream or downstream traffic, or both | M | 5 |
| 2.3e | ||||
| 2.4 | nts:subject_code_enum | Subject code | M | |
| 2.5s | Overall period of validity | M | ||
| 2.5.1 | xs:date | Start date of validity period including time zone (yyyy-mm-dd+hh:mm) | M | |
| 2.5.2 | xs:date | End date of validity period including time zone (yyyy-mm-dd+hh:mm) | C | |
| 2.5e | ||||
| 2.6 | xs:string (500) | Additional information in local language | C | |
| 2.7 | xs:string (64) | Notice source (name of authority) | C | |
| 2.8 | nts:reason_code_enum | Reason / justification of notice | C | |
| 2.9s | Communication channel information | C | ||
| 2.9.1 | nts:reporting_code_enum | Reporting regime (information or duty to report) | M | 5 |
| 2.9.2 | nts:communication_code_enum | Communication code (telephone, VHF etc.) | M | 5 |
| 2.9.3 | xs:string (128) | Telephone, VHF number (including callsign), e-mail address, URL or teletext | C | |
| 2.9.4 | xs:string (256) | Name of the attachment or additional information | C | |
| 2.9.5 | xs:string (1024) | Additional remarks concerning the communication | C | |
| 2.9e | ||||
| 2.10s | Fairway section, also available for objects (no 2.11) | C | 2 | |
| 2.10.1s | Geo information of fairway | M | 5 | |
| 2.10.1.1 | nts:isrs_code_type | ISRS Location Code of the fairway section (2x) Pattern=[A-Z]{2}[A-Z]{3}[A-Z0-9]{5}[A-Z0-9]{5}[0-9]{5} | M | 7 |
| 2.10.1.2 | xs:string (256) | Local name of the fairway section (f.e.: Rhine between bridge A and bridge B) | M | |
| 2.10.1.3 | nts:type_code_enum | Type of geographical object (default=FWY) | M | |
| 2.10.1.4 | nts:position_code_enum | Describes the position related to the fairway | C | |
| 2.10.1.5s | Fairway section begin and end coordinates (2x) | C | 7 | |
| 2.10.1.5.1 | xs:string (10-12) | [d]d mm.mmm[m] N | M | 5 |
| 2.10.1.5.2 | xs:string (10-13) | [d][d]d mm.mmm[m] E | M | 5 |
| 2.10.1.5e | ||||
| 2.10.1.6 | xs:string (256) | Waterway name (usefull if no RIS Index is available). | C | |
| 2.10.1e | ||||
| 2.10.2s | Fairway section limitations | C | ||
| 2.10.2.1s | Limitation periods / intervals (All limitations have to include a limitation period with an interval code in order to allow proper calculations within voyage planning applications) | C | ||
| 2.10.2.1.1 | xs:date | Start date of limitation period (overall) INCLUDING time zone format=yyyy-mm-dd+hh:mm | M | 5 |
| 2.10.2.1.2 | xs:date | End date of limitation period INCLUDING time zone format=yyyy-mm-dd+hh:mm | C | |
| 2.10.2.1.3 | xs:time | Start time of limitation period WITHOUT time zone format=hh:mm:ss [whereas ss=00] | C | |
| 2.10.2.1.4 | xs:time | End time of limitation period WITHOUT time zone format=hh:mm:ss [whereas ss=00] | C | |
| 2.10.2.1.5 | nts:interval_code_enum | Interval for limitation (mandatory M(5) but is set to C to be compatible with former XSD version) | C | |
| 2.10.2.1e | ||||
| 2.10.2.2 | nts:limitation_code_enum | Kind of limitation | M | 5 |
| 2.10.2.3 | nts:position_code_enum | Describes the position of the limitation related to the fairway | C | |
| 2.10.2.4 | xs:float | Value of limitation (i.e. max draught) | C | |
| 2.10.2.5 | nts:unit_enum | Unit of the value of the limitation | C | |
| 2.10.2.6 | nts:reference_code_enum | Value reference | C | |
| 2.10.2.7 | nts:indication_code_enum | Minimum or maximum or reduced by | C | |
| 2.10.2.8s | Target group information | C | ||
| 2.10.2.8.1 | nts:target_group_code_enum | Target group (vessel type) for this limitation | M | 5 |
| 2.10.2.8.2 | nts:direction_code_enum | Upstream or downstream traffic, or both | M | 5 |
| 2.10.2.8e | ||||
| 2.10.2e | ||||
| 2.10e | ||||
| 2.11s | Object section | C | 2 | |
| 2.11.1s | Geo Information of object | M | 5 | |
| 2.11.1.1 | nts:isrs_code_type | ISRS Location Code of the object (1x) Pattern=[A-Z]{2}[A-Z]{3}[A-Z0-9]{5}[A-Z0-9]{5}[0-9]{5} | M | 8 |
| 2.11.1.2 | xs:string (256) | Local name of the aggregated object | M | |
| 2.11.1.3 | nts:type_code_enum | Type of geographical object | M | |
| 2.11.1.4 | nts:position_code_enum | Describes the position related to the object | C | |
| 2.11.1.5s | Object coordinates (1x) | C | 8 | |
| 2.11.1.5.1 | xs:string (10-12) | [d]d mm.mmm[m] N | M | 5 |
| 2.11.1.5.2 | xs:string (10-13) | [d][d]d mm.mmm[m] E | M | 5 |
| 2.11.1.5e | ||||
| 2.11.1.6 | xs:string (256) | Waterway name (usefull if no RIS Index is available). | C | |
| 2.11.1e | ||||
| 2.11.2s | Object limitation section | C | ||
| 2.11.2.1s | Limitation periods / intervals (All limitations have to include a limitation period with an interval code in order to allow proper calculations within voyage planning applications) | C | ||
| 2.11.2.1.1 | xs:date | Start date of limitation period (overall) INCLUDING time zone format=yyyy-mm-dd+hh:mm | M | 5 |
| 2.11.2.1.2 | xs:date | End date of limitation period INCLUDING time zone format=yyyy-mm-dd+hh:mm | C | |
| 2.11.2.1.3 | xs:time | Start time of limitation period WITHOUT time zone format=hh:mm:ss [whereas ss=00] | C | |
| 2.11.2.1.4 | xs:time | End time of limitation period WITHOUT time zone format=hh:mm:ss [whereas ss=00] | C | |
| 2.11.2.1.5 | nts:interval_code_enum | Interval for limitation (mandatory M(5) but is set to C to be compatible with former XSD version) | C | |
| 2.11.2.1e | ||||
| 2.11.2.2 | nts:limitation_code_enum | Kind of limitation | M | 5 |
| 2.11.2.3 | nts:position_code_enum | Describes the position of the limitation related to the fairway | C | |
| 2.11.2.4 | xs:float | Value of limitation (i.e. max draught) | C | |
| 2.11.2.5 | nts:unit_enum | Unit of the value of the limitation | C | |
| 2.11.2.6 | nts:reference_code_enum | Value reference | C | |
| 2.11.2.7 | nts:indication_code_enum | Minimum or maximum or reduced by | C | |
| 2.11.2.8s | Target group information | C | ||
| 2.11.2.8.1 | nts:target_group_code_enum | Target group (vessel type) for this limitation | M | 5 |
| 2.11.2.8.2 | nts:direction_code_enum | Upstream or downstream traffic, or both | M | 5 |
| 2.11.2.8e | ||||
| 2.11.2e | ||||
| 2.11e | ||||
| 2e | ||||
| 3s | Water related section | C | 1 | |
| 3.1 | xs:string (64) | Internal ID | C | |
| 3.2s | NtS Number | C | ||
| 3.2.1 | xs:string (64)</organisation | Name of the publishing organisation (NtS Provider) | M | 5 |
| 3.2.2 | xs:gYear (1900-9999) | Current year of the notice | M | 5 |
| 3.2.3 | xs:integer (0-99999999) | Number of the notice (see Developers Guide for WRM-Message Number generation) | M | 5 |
| 3.2.4 | xs:integer (0-99) | Serial number of the notice (see Developers Guide for WRM-Message Serial Number generation) | M | 5 |
| 3.2e | ||||
| 3.3s | Overall period of validity | M | ||
| 3.3.1 | xs:date | Start date of validity period including time zone (yyyy-mm-dd+hh:mm) | M | |
| 3.3.2 | xs:date | End date of validity period including time zone (yyyy-mm-dd+hh:mm) | C | |
| 3.3e | ||||
| 3.4s | Geo Information of measurement location | M | 5 | |
| 3.4.1 | nts:isrs_code_type | ISRS Location Code of the object/fairway (1x or 2x) Pattern=[A-Z]{2}[A-Z]{3}[A-Z0-9]{5}[A-Z0-9]{5}[0-9]{5} | M | 9 |
| 3.4.2 | xs:string (256) | Local name of the object/fairway | M | |
| 3.4.3 | nts:type_code_enum | Type of geographical object/fairway | M | |
| 3.4.4 | nts:position_code_enum | Describes the position related to the object/fairway | C | |
| 3.4.5s | Object/Fairway coordinates (1x or 2x) | C | 9 | |
| 3.4.5.1 | xs:string (10-12) | [d]d mm.mmm[m] N | M | 5 |
| 3.4.5.2 | xs:string (10-13) | [d][d]d mm.mmm[m] E | M | 5 |
| 3.3.5e | ||||
| 3.3.6 | xs:string (256) | Waterway name (usefull if no RIS Index is available). | C | |
| 3.4e | ||||
| 3.5 | nts:reference_code_enum | Value reference (measurement reference) | C | 6 |
| 3.6s | Measurements (normal or predicted values) | M | 5 | |
| 3.6.1 | xs:boolean | Predicted measurement (1 or true) or real measurement (0 or false) | M | |
| 3.6.2 | nts:measure_code_enum | Kind of water related information | M | |
| 3.6.3 | xs:float | Measured or predicted value | C | 10 |
| 3.6.4 | xs:float | Lowest value of confidence interval | C | |
| 3.6.5 | xs:float | Highest value of confidence interval | C | |
| 3.6.6 | nts:unit_enum | Unit of the water related value | C | |
| 3.6.7 | nts:barrage_code_enum | Barrage status | C | 11 |
| 3.6.8 | nts:regime_code_enum | Regime applicable | C | 12 |
| 3.6.9 | xs:dateTime | Date and Time of measurement or predicted value including time zone Format=yyyy-mm-ddThh:mm:ss+hh:mm | M | |
| 3.6.10s | Difference with comparative value | C | ||
| 3.6.10.1 | xs:float | Difference with comparative value | M | 5 |
| 3.6.10.2 | xs:duration | Time difference to measuredate of comparative value | M | 5 |
| 3.6.10e | ||||
| 3.6e | ||||
| 3e | ||||
| 4s | Ice related section | C | 1 | |
| 4.1 | xs:string (64) | Internal ID | C | |
| 4.2s | NtS Number | M | ||
| 4.2.1 | xs:string (64)</organisation | Name of the publishing organisation (NtS Provider) | M | |
| 4.2.2 | xs:gYear (1900-9999) | Current year of the notice | M | |
| 4.2.3 | xs:integer (0-99999999) | Number of the notice (per year, starting with: 1, 0 shall not be used for published notices) | M | |
| 4.2.4 | xs:integer (0-99) | Serial number of notice, original notice: 0 | M | |
| 4.2e | ||||
| 4.3s | Overall period of validity | M | ||
| 4.3.1 | xs:date | Start date of validity period including time zone (yyyy-mm-dd+hh:mm) | M | |
| 4.3.2 | xs:date | End date of validity period including time zone (yyyy-mm-dd+hh:mm) | C | |
| 4.3e | ||||
| 4.4s | Fairway section — the limitation inside the fairway section cannot be used in the ICEM | M | 5 | |
| 4.4.1s | Geo Information of fairway | M | 5 | |
| 4.4.1.1 | nts:isrs_code_type | ISRS Location Code of the fairway section (2x) Pattern=[A-Z]{2}[A-Z]{3}[A-Z0-9]{5}[A-Z0-9]{5}[0-9]{5} | M | |
| 4.4.1.2 | xs:string (256) | Local Name of the fairway section (f.e.: Rhine between bridge A and bridge B) | M | |
| 4.4.1.3 | nts:type_code_enum | Type of geographical object (default=FWY) | M | |
| 4.4.1.4 | nts:position_code_enum | Describes the position related to the fairway | C | |
| 4.4.1.5s | Fairway section begin and end coordinates (2x) | C | 7 | |
| 4.4.1.5.1 | xs:string (10-12) | [d]d mm.mmm[m] N | M | 5 |
| 4.4.1.5.2 | xs:string (10-13) | [d][d]d mm.mmm[m] E | M | 5 |
| 4.4.1.5e | ||||
| 4.4.1.6 | xs:string (256) | Waterway name (usefull if no RIS Index is available). | C | |
| 4.4.1e | ||||
| 4.4e | ||||
| 4.5s | Ice conditions | M | ||
| 4.5.1 | xs:dateTime | Date and Time of measurement or prediction including time zone Format=yyyy-mm-ddThh:mm:ss+hh:mm | M | |
| 4.5.2 | nts:ice_condition_code_enum | Condition code | C | 4 |
| 4.5.3 | nts:ice_accessibility_code_enum | Accessibility code | C | 4 |
| 4.5.4 | nts:ice_classification_code_enum | Classification code | C | 4 |
| 4.5.5 | nts:ice_situation_code_enum | Situation code | C | 4 |
| 4.5e | ||||
| 4e | ||||
| 5s | Weather related section | C | 1 | |
| 5.1 | xs:string (64) | Internal ID | C | |
| 5.2s | NtS Number | C | ||
| 5.2.1 | xs:string (64)</organisation | Name of the publishing organisation (NtS Provider) | M | 5 |
| 5.2.2 | xs:gYear (1900-9999) | Year of issuing of the notice | M | 5 |
| 5.2.3 | xs:integer (0-99999999) | Number of the notice (per year, starting with: 1, 0 shall not be used for published notices) | M | 5 |
| 5.2.4 | xs:integer (0-99) | Serial number of notice, original notice: 0 | M | 5 |
| 5.2e | ||||
| 5.3s | Overall period of validity | M | 13 | |
| 5.3.1 | xs:date | Start date of validity period including time zone (yyyy-mm-dd+hh:mm) | M | |
| 5.3.2 | xs:date | End date of validity period including time zone (yyyy-mm-dd+hh:mm) | C | |
| 5.3e | ||||
| 5.4s | Fairway section | M | ||
| 5.4.1s | Geo Information of fairway | M | ||
| 5.4.1.1 | nts:isrs_code_type | ISRS Location Code of the fairway section (2x) Pattern=[A-Z]{2}[A-Z]{3}[A-Z0-9]{5}[A-Z0-9]{5}[0-9]{5} | M | 7 |
| 5.4.1.2 | xs:string (256) | Local name of the fairway section (f.e.: Rhine between bridge A and bridge B) | M | |
| 5.4.1.3 | nts:type_code_enum | Type of geographical object (default=FWY) | M | |
| 5.4.1.4 | nts:position_code_enum | Describes the position related to the fairway | C | |
| 5.4.1.5s | Fairway section begin and end coordinates (2x) | C | 7 | |
| 5.4.1.5.1 | xs:string (10-12) | [d]d mm.mmm[m] N | M | 5 |
| 5.4.1.5.2 | xs:string (10-13) | [d][d]d mm.mmm[m] E | M | 5 |
| 5.4.1.5e | ||||
| 5.4.1.6 | xs:string (256) | Waterway name (usefull if no RIS Index is available). | C | |
| 5.4.1e | ||||
| 5.4e | ||||
| 5.5s | Weather Report (1x or 2x) | M | ||
| 5.5.1 | xs:dateTime | Date and Time of measurement or predicted value including time zone Format=yyyy-mm-ddThh:mm:ss+hh:mm | C | |
| 5.5.2 | xs:boolean | Forecast (true or 1) OR Actual report (false or 0) | M | |
| 5.5.3 | nts:weather_class_code_enum | Classification of weather report (0..Nx) | M | 3 |
| 5.5.4s | Weather items (0..Nx) | C | ||
| 5.5.4.1 | nts:weather_item_code_enum | Weather item type (Wind, Wave etc) | M | 5 |
| 5.5.4.2 | xs:float | Actual or Minimum value | M | 5 |
| 5.5.4.3 | xs:float | Maximum value | C | |
| 5.5.4.4 | xs:float | Gusts value (Wind) | C | |
| 5.5.4.5 | nts:unit_enum | Unit of the value | C | |
| 5.5.4.6 | nts:weather_category_code_enum | Classification of wind report | C | |
| 5.5.4.7 | nts:weather_direction_code_enum | Direction of wind or wave | C | |
| 5.5.4.8 | nts:weather_direction_code_enum | Direction of wind or wave | C | |
| 5.5.4e | ||||
| 5.5e | ||||
| 5e | ||||
| Legend for Occurrence (Occ.): Mandatory (M) Conditional (C) |
Rules applicable to table "NtS XSD V.4.0.4.0":
| 1. | In one at least two sections have to be filled in: — the section (1), — one of the following sections: — — (fairway and traffic related messages) (2), — (water related message) (3), — (ice message) (4), — (weather related message) (5). |
|---|---|
| 2. | At least one of the Group 2.10 () or Group 2.11 () has to be given within . |
| 3. | A combinations of tags (5.5.3) in section can be given. |
| 4. | In group 4.5 () at least one of the conditional elements 4.5.2 to 4.5.5 have to be given. |
| 5. | If a conditional group contains mandatory subgroups or elements these will only be mandatory if the group on the higher level is applied. |
| 6. | Element is only mandatory for "WAL" (water level) in (3.5). |
| 7. | A in ( 2.10.1 , 4.4.1, 5.4.1) is defined by the begin and end ISRS Location Codes and coordinates (2 ISRS Location Codes and 2 sets of coordinates). |
| 8. | A in section ( 2.11.1) is defined by the ISRS Location Code and coordinates of its center point (1 ISRS Location Code 1 set of coordinates). |
| 9. | A in has 2 ISRS Location Codes and 2 sets of coordinates in case the (3.4.3) is "FWY", "RIV" or "CAN", otherwise only 1 ISRS Location Code and 1 set of coordinates has to be given. |
| 10. | If there is a measurement the elements (3.6.3) or (3.6.4) and (3.6.5) is/are mandatory if (3.6.2) is either "DIS", "VER", "LSD" or "WAL". In case there is no measurement (and a message should be sent anyhow) the value elements shall be omitted. |
| 11. | Element (3.6.7) is mandatory if (3.6.2) is "BAR". |
| 12. | Element (3.6.8) is mandatory if (3.6.2) is "REG". |
| 13. | Predictions for more than one (5.3) require individual messages. |
| 14. | In case of (4.4.2) and a section is not applicable. Limitations shall be provided via FTM notices. |
Appendix D
<wsdl:definitions
— "nts:RIS_MessageType", arbitrary number, defined in the NtS-xsd (see www.ris.eu)
— "nts-ms:error_code_type", arbitrary number, defined in this schema
— "nts-ms:paging_result_type", optional, defined in this schema -->
Reading this document does not replace reading the official text published in the Official Journal of the European Union. We assume no responsibility for any inaccuracies arising from the conversion of the original to this format.
This text is published under EUR-Lex's own terms of reuse, not a Legalize or public-domain licence.
EUR-Lex
Creative Commons Attribution 4.0 International (CC BY 4.0)
© European Union, https://eur-lex.europa.eu — Source: EUR-Lex (Publications Office of the European Union). Reused under the Creative Commons Attribution 4.0 International (CC BY 4.0) licence. Only EU legislation published in the printed Official Journal of the European Union is deemed authentic; consolidated texts are reproduced here for documentation purposes and have been reformatted to Markdown.