Skip to content

Commit 64d1faf

Browse files
authored
Update according to review comments
1 parent 42287c8 commit 64d1faf

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

ovs_hub_ntf/v1/OVS_HUB_NTF_v1.0.0.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,7 @@ components:
786786
- '234422543'
787787
locations:
788788
type: array
789+
minItems: 1
789790
description: |
790791
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.
791792
@@ -795,7 +796,9 @@ components:
795796
description: |
796797
It is possible to provide the `UNLocationCode`, the `facilitySMDGCode` or both when specifying the location.
797798
798-
If multiple locations need to be provided, specify multiple objects in the `locations` array, each with its own `UNLocationCode` and/or `facilitySMDGCode`.
799+
If multiple `UNLocationCode` or `facilitySMDGCode` values need to be provided, then they must be specified as separate objects in the `locations` array.
800+
801+
**Condition:** At least one of `UNLocationCode` and/or `facilitySMDGCode` **MUST** be specified, both are also allowed.
799802
properties:
800803
UNLocationCode:
801804
type: string
@@ -818,7 +821,11 @@ components:
818821
819822
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)
820823
example: ACT
821-
824+
example:
825+
- UNLocationCode: NLAMS
826+
facilitySMDGCode: APMT
827+
- UNLocationCode: DEHAM
828+
- facilitySMDGCode: APMT
822829
required:
823830
- subscriptionReference
824831
- notificationChannel
@@ -993,6 +1000,8 @@ components:
9931000
It is possible to provide the `UNLocationCode`, the `facilitySMDGCode` or both when specifying the location.
9941001
9951002
If multiple `UNLocationCode` or `facilitySMDGCode` values need to be provided, then they must be specified as separate objects in the `locations` array.
1003+
1004+
**Condition:** At least one of `UNLocationCode` and/or `facilitySMDGCode` **MUST** be specified, both are also allowed.
9961005
properties:
9971006
UNLocationCode:
9981007
type: string
@@ -1015,6 +1024,11 @@ components:
10151024
10161025
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)
10171026
example: ACT
1027+
example:
1028+
- UNLocationCode: NLAMS
1029+
facilitySMDGCode: APMT
1030+
- UNLocationCode: DEHAM
1031+
- facilitySMDGCode: APMT
10181032
required:
10191033
- notificationChannel
10201034
- weekRange

0 commit comments

Comments
 (0)