diff options
author | 2021-03-02 13:30:27 +0000 | |
---|---|---|
committer | 2021-03-04 09:17:39 +0000 | |
commit | 9d1d4ad17077ecb1eba560493ba9dab5743b1957 (patch) | |
tree | a50612fa531bdbcf57cd168bb3f17a8f20ac9ae9 /components/pm-subscription-handler/pmsh_service | |
parent | 61e65a1c6fd69b9f818d01813991144746dad3ed (diff) |
[PMSH] Fix schema validation causing CSIT failure
Issue-ID: INT-1865
Signed-off-by: egernug <gerard.nugent@est.tech>
Change-Id: I16f7797bdcc1521c7e59b340e979da2930164ad2
Diffstat (limited to 'components/pm-subscription-handler/pmsh_service')
-rw-r--r-- | components/pm-subscription-handler/pmsh_service/mod/sub_schema.json | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/components/pm-subscription-handler/pmsh_service/mod/sub_schema.json b/components/pm-subscription-handler/pmsh_service/mod/sub_schema.json index 7a1da5bb..18d48174 100644 --- a/components/pm-subscription-handler/pmsh_service/mod/sub_schema.json +++ b/components/pm-subscription-handler/pmsh_service/mod/sub_schema.json @@ -51,11 +51,12 @@ } } }, - "required":[ - "nfNames", - "modelInvariantIDs", - "modelVersionIDs", - "modelNames" + "additionalProperties": false, + "anyOf": [ + {"required" : ["nfNames"]}, + {"required" : ["modelInvariantIDs"]}, + {"required" : ["modelVersionIDs"]}, + {"required" : ["modelNames"]} ] }, "measurementGroups":{ |