Updated documentation for mock a1 tool
[ric-app/admin.git] / schemas / samples.json
1 {
2     "downstream_policy_message": {
3         "policy_type_id":21000,
4         "operation":"CREATE",
5         "policy_instance_id":"Hello-world",
6         "payload":{
7             "class":12,
8             "enforce":true,
9             "window_length":20,
10             "blocking_rate":20,
11             "trigger_threshold":10
12         }
13     },
14     
15     "notify_policy_message": {
16         "policy_instance_id":"Hello-world",
17         "policy_type_id":21000,
18         "status":"OK",
19         "handler_id":"ACxAPP1234"
20     },
21     
22     "metrics": {
23         "event": {
24             "commonEventHeader": {
25                 "startEpochMicrosec": 1542231546086613,
26                 "eventId": "sGNB Requests",
27                 "eventType": "sGNB Request Rate",
28                 "priority": "Normal",
29                 "version": "4.0.1",
30                 "reportingEntityName": "AC xAPP",
31                 "sequence": 0,
32                 "domain": "measurement",
33                 "lastEpochMicrosec": 1542231556086613,
34                 "eventName": "Measurement_vGMUX",
35                 "sourceName": "adm-ctrl-xapp",
36                 "vesEventListenerVersion": "7.0.1"
37             },
38             "measurementFields": {
39                 "additionalFields":{
40                     "Class Id":1,
41                     "SgNB Request Count":"100",
42                     "SgNB Accept Count":"10"
43                 },
44                 "measurementInterval":60,
45                 "measurementFieldsVersion":"4.0"
46             }
47         }
48     }
49 }