fix odl patches
[ccsdk/distribution.git] / platform-logic / restapi-templates / src / main / json / A1policytype.json
1 {
2   "body":{
3     "input":{
4       "CommonHeader":{
5         "TimeStamp":"2018-11-30T09:13:37.368Z",
6         "APIver":"1.0",
7         "RequestID":"982ee65a-8afd-48df-bf57-c152ae45bacc-1",
8         "SubRequestID":"1",
9         "RequestTrack":{
10           
11         },
12         "Flags":{
13           
14         }
15       },
16       "Action":"putA1Policy",
17       "Payload":{
18         "input":{
19           "near-rt-ric-url":"${"tmp.policytype.url}/${"prop.a1.policytype.id}",
20           "body":"{\"name\":\"Slice_throughput_policy\",\"description\":\"Policy to administer overall throughput for a specific slice\",\"policy_type_id\":${"prop.a1.policytype.id},\"create_schema\":{\"$schema\":\"http:\/\/json-schema.org\/draft-07\/schema#\",\"type\":\"object\",\"properties\":{\"scope\":{\"type\":\"object\",\"properties\":{\"snssai\":{\"type\":\"string\"}},\"additionalProperties\":false,\"required\":[\"snssai\"]},\"dLThptPerSlice\":{\"type\":\"number\",\"description\":\"dLThptPerSlice throughput for the near rt ric\"},\"uLThptPerSlice\":{\"type\":\"number\",\"description\":\"uLThptPerSlice throughput for the near rt ric\"},\"slice_priority\":{\"type\":\"number\",\"description\":\"Slice priority\"}},\"additionalProperties\":false}}"
21         }
22       }
23     }
24   },
25   "version":"1.0",
26   "rpc-name":"putA1Policy",
27   "correlation-id":"722ee65a-8afd-48df-bf57-c152ae45bacc-1",
28   "type":"request"
29 }