From 38e3bc6e34a39ee8d1ddb8cf9673b2c55bca3983 Mon Sep 17 00:00:00 2001 From: Ivan Ribakov Date: Tue, 28 May 2024 16:22:45 +0200 Subject: [PATCH] Fix LocationCondition schema based on the NENA-STA-010.3e-2021_i3_Stan.pdf definition --- i3-policy-store.yaml | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/i3-policy-store.yaml b/i3-policy-store.yaml index 09084fb..04b8a3e 100644 --- a/i3-policy-store.yaml +++ b/i3-policy-store.yaml @@ -576,24 +576,27 @@ components: - location properties: location: - type: object - required: - - lo - - profile - - label - - lang - properties: - lo: - type: string - profile: - type: string - enum: [civic, geodetic] - label: - type: string - lang: - type: string - extension: - type: object + type: array + minItems: 1 + items: + type: object + required: + - lo + - profile + - label + - lang + properties: + lo: + type: string + profile: + type: string + enum: [civic, geodetic] + label: + type: string + lang: + type: string + extension: + type: object extension: type: object CallSuspicionCondition: