You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ovs_hub_ntf/v1/OVS_HUB_NTF_v1.0.0.yaml
+51-48Lines changed: 51 additions & 48 deletions
Original file line number
Diff line number
Diff line change
@@ -784,39 +784,41 @@ components:
784
784
- '278111222'
785
785
- '278173294'
786
786
- '234422543'
787
-
UNLocationCodes:
787
+
locations:
788
788
type: array
789
789
description: |
790
-
An array of **UN Location codes** to match with this subscription filter. If the array consists of more than one item - a logical **OR** is used between the values when matching.
790
+
An array of **UNLocationCode and/or facilitySMDGCode combinations** to match with this subscription filter. If the array consists of more than one item - a logical **OR** is used between the objects when matching.
791
791
792
-
If this property is empty, you will be notified for all `UNLocationCodes` that have changes you are authorized to see.
792
+
If this property is empty, you will be notified for all `locations` that have changes you are authorized to see.
793
793
items:
794
-
type: string
795
-
pattern: ^[A-Z]{2}[A-Z2-9]{3}$
796
-
minLength: 5
797
-
maxLength: 5
794
+
type: object
798
795
description: |
799
-
The UN Location code specifying where the place is located. The pattern used must be
796
+
It is possible to provide the `UNLocationCode`, the `facilitySMDGCode` or both when specifying the location.
800
797
801
-
- 2 characters for the country code using [ISO 3166-1 alpha-2](https://www.iso.org/obp/ui/#iso:pub:PUB500001:en)
802
-
- 3 characters to code a location within that country. Letters A-Z and numbers from 2-9 can be used
798
+
If multiple `UNLocationCodes` or `facilitySMDGCodes` need to be provided - then it is necessary to do this in separate `location` objects.
799
+
properties:
800
+
UNLocationCode:
801
+
type: string
802
+
pattern: ^[A-Z]{2}[A-Z2-9]{3}$
803
+
minLength: 5
804
+
maxLength: 5
805
+
description: |
806
+
The UN Location code specifying where the place is located. The pattern used must be
803
807
804
-
More info can be found here: [UN/LOCODE](https://unece.org/trade/cefact/UNLOCODE-Download)
805
-
example: NLAMS
806
-
facilitySMDGCodes:
807
-
type: array
808
-
description: |
809
-
An array of **Facility SMDG codes** to match with this subscription filter. If the array consists of more than one item - a logical **OR** is used between the values when matching.
808
+
- 2 characters for the country code using [ISO 3166-1 alpha-2](https://www.iso.org/obp/ui/#iso:pub:PUB500001:en)
809
+
- 3 characters to code a location within that country. Letters A-Z and numbers from 2-9 can be used
810
810
811
-
If this property is empty, you will be notified for all `facilitySMDGCodes` that have changes you are authorized to see.
812
-
items:
813
-
type: string
814
-
maxLength: 6
815
-
description: |
816
-
The code used for identifying the specific facility. This code does not include the UN Location Code.
811
+
More info can be found here: [UN/LOCODE](https://unece.org/trade/cefact/UNLOCODE-Download)
812
+
example: NLAMS
813
+
facilitySMDGCode:
814
+
type: string
815
+
maxLength: 6
816
+
description: |
817
+
The code used for identifying the specific facility. This code does not include the UN Location Code.
818
+
819
+
The codeList used by SMDG is the [SMDG Terminal Code List](https://smdg.org/wp-content/uploads/Codelists/Terminals/SMDG-Terminal-Code-List-v20210401.xlsx)
820
+
example: ACT
817
821
818
-
The codeList used by SMDG is the [SMDG Terminal Code List](https://smdg.org/wp-content/uploads/Codelists/Terminals/SMDG-Terminal-Code-List-v20210401.xlsx)
819
-
example: ACT
820
822
required:
821
823
- subscriptionReference
822
824
- notificationChannel
@@ -979,39 +981,40 @@ components:
979
981
- '278111222'
980
982
- '278173294'
981
983
- '234422543'
982
-
UNLocationCodes:
984
+
locations:
983
985
type: array
984
986
description: |
985
-
An array of **UN Location codes** to match with this subscription filter. If the array consists of more than one item - a logical **OR** is used between the values when matching.
987
+
An array of **UNLocationCode and/or facilitySMDGCode combinations** to match with this subscription filter. If the array consists of more than one item - a logical **OR** is used between the objects when matching.
986
988
987
-
If this property is empty, you will be notified for all `UNLocationCodes` that have changes you are authorized to see.
989
+
If this property is empty, you will be notified for all `locations` that have changes you are authorized to see.
988
990
items:
989
-
type: string
990
-
pattern: ^[A-Z]{2}[A-Z2-9]{3}$
991
-
minLength: 5
992
-
maxLength: 5
991
+
type: object
993
992
description: |
994
-
The UN Location code specifying where the place is located. The pattern used must be
993
+
It is possible to provide the `UNLocationCode`, the `facilitySMDGCode` or both when specifying the location.
995
994
996
-
- 2 characters for the country code using [ISO 3166-1 alpha-2](https://www.iso.org/obp/ui/#iso:pub:PUB500001:en)
997
-
- 3 characters to code a location within that country. Letters A-Z and numbers from 2-9 can be used
995
+
If multiple `UNLocationCodes` or `facilitySMDGCodes` need to be provided - then it is necessary to do this in separate `location` objects.
996
+
properties:
997
+
UNLocationCode:
998
+
type: string
999
+
pattern: ^[A-Z]{2}[A-Z2-9]{3}$
1000
+
minLength: 5
1001
+
maxLength: 5
1002
+
description: |
1003
+
The UN Location code specifying where the place is located. The pattern used must be
998
1004
999
-
More info can be found here: [UN/LOCODE](https://unece.org/trade/cefact/UNLOCODE-Download)
1000
-
example: NLAMS
1001
-
facilitySMDGCodes:
1002
-
type: array
1003
-
description: |
1004
-
An array of **Facility SMDG codes** to match with this subscription filter. If the array consists of more than one item - a logical **OR** is used between the values when matching.
1005
+
- 2 characters for the country code using [ISO 3166-1 alpha-2](https://www.iso.org/obp/ui/#iso:pub:PUB500001:en)
1006
+
- 3 characters to code a location within that country. Letters A-Z and numbers from 2-9 can be used
1005
1007
1006
-
If this property is empty, you will be notified for all `facilitySMDGCodes` that have changes you are authorized to see.
1007
-
items:
1008
-
type: string
1009
-
maxLength: 6
1010
-
description: |
1011
-
The code used for identifying the specific facility. This code does not include the UN Location Code.
1008
+
More info can be found here: [UN/LOCODE](https://unece.org/trade/cefact/UNLOCODE-Download)
1009
+
example: NLAMS
1010
+
facilitySMDGCode:
1011
+
type: string
1012
+
maxLength: 6
1013
+
description: |
1014
+
The code used for identifying the specific facility. This code does not include the UN Location Code.
1012
1015
1013
-
The codeList used by SMDG is the [SMDG Terminal Code List](https://smdg.org/wp-content/uploads/Codelists/Terminals/SMDG-Terminal-Code-List-v20210401.xlsx)
1014
-
example: ACT
1016
+
The codeList used by SMDG is the [SMDG Terminal Code List](https://smdg.org/wp-content/uploads/Codelists/Terminals/SMDG-Terminal-Code-List-v20210401.xlsx)
0 commit comments