summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler
diff options
context:
space:
mode:
authoregernug <gerard.nugent@est.tech>2021-03-02 13:30:27 +0000
committeregernug <gerard.nugent@est.tech>2021-03-04 09:17:39 +0000
commit9d1d4ad17077ecb1eba560493ba9dab5743b1957 (patch)
treea50612fa531bdbcf57cd168bb3f17a8f20ac9ae9 /components/pm-subscription-handler
parent61e65a1c6fd69b9f818d01813991144746dad3ed (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')
-rw-r--r--components/pm-subscription-handler/pmsh_service/mod/sub_schema.json11
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":{