baf1bbec49c8e25475318fc0251f5895fd000e24
[sim/a1-interface.git] / near-rt-ric-simulator / test / 1.1.x-alpha.2 / example_files / policy_type_STD_QoSNudging_0.2.0.json
1 {
2   "policySchema": {
3     "$schema": "http://json-schema.org/draft-07/schema#",
4     "title": "STD_QoSNudging_0.2.0",
5     "description": "QoS policy type",
6     "type": "object",
7     "properties": {
8       "scope": {
9         "type": "object",
10         "properties": {
11           "ueId": {"type": "string"},
12           "qosId": {"type": "string"}
13         },
14         "additionalProperties": true,
15         "required": ["ueId", "qosId"]
16       },
17       "statement": {
18         "type": "object",
19         "properties": {
20           "priorityLevel": {"type": "number"}
21         },
22         "additionalProperties": false,
23         "required": ["priorityLevel"]
24       }
25     }
26   },
27   "statusSchema": {
28     "$schema": "http://json-schema.org/draft-07/schema#",
29     "title": "statusSchema",
30     "description": "statusSchema",
31     "type": "object",
32     "properties": {
33       "enforceStatus": {
34         "type": "string",
35         "enum": ["UNDEFINED", "ENFORCED", "NOT_ENFORCED"]
36       },
37       "enforceReason": {
38         "type": "string",
39         "enum": ["100", "200", "300", "800"]
40       },
41       "additionalProperties": false
42     },
43     "if": {"properties": {"enforceStatus": {"const": "NOT_ENFORCED"}}},
44     "then": {"required": ["enforceReason"]}
45   }
46 }