X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fsrc%2Ftest%2Fresources%2Fpolicy_types%2Fdemo-policy-schema-3.json;h=a73dd5904e322ce04b2c305b22a828ef11a002ce;hb=7a4a590fb0ebf8772169625cdda327da43c79c6d;hp=695514cd477284267e07f0f5d9b161a410489ad1;hpb=4a112834cf7ea69f230fde864856093ecadb9cfe;p=nonrtric.git diff --git a/policy-agent/src/test/resources/policy_types/demo-policy-schema-3.json b/policy-agent/src/test/resources/policy_types/demo-policy-schema-3.json index 695514cd..a73dd590 100644 --- a/policy-agent/src/test/resources/policy_types/demo-policy-schema-3.json +++ b/policy-agent/src/test/resources/policy_types/demo-policy-schema-3.json @@ -1,59 +1,27 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Example_TrafficSteeringPreference_1.0.0", - "description": "Example QoE Target policy type", + "title": "ERIC_QoSNudging_0.2.0", + "description": "QoS nudging policy type with priorityLevel and ueId and qosId as scope", "type": "object", "properties": { "scope": { "type": "object", "properties": { - "ueId": { - "type": "string" - }, - "sliceId": { - "type": "string" - }, - "qosId": { - "type": "string" - }, - "cellId": { - "type": "string" - } + "ueId": {"type": "string"}, + "qosId": {"type": "string"} }, "additionalProperties": false, - "required": [ - "ueId" - ] + "required": ["ueId", "qosId"] }, - "statement": { + "qosObjectives": { "type": "object", "properties": { - "cellIdList": { - "type": "array", - "minItems": 1, - "uniqueItems": true, - "items": { - "type": "string" - } - }, - "preference": { - "type": "string", - "enum": [ - "SHALL", - "PREFER", - "AVOID", - "FORBID" - ] - }, - "primary": { - "type": "boolean" - } + "priorityLevel": {"type": "number"} }, - "required": [ - "cellIdList", - "preference" - ], - "additionalProperties": false + "additionalProperties": false, + "required": ["priorityLevel"] } - } -} \ No newline at end of file + }, + "additionalProperties": false, + "required": ["scope", "qosObjectives"] +}