Added callback to R-APPS invoked after RIC recovery
[nonrtric.git] / policy-agent / src / test / resources / policy_types / demo-policy-schema-3.json
index 695514c..a73dd59 100644 (file)
@@ -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"]
+}