summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/A1policytype.json
blob: 69d4f5028e18ab27471e529f86e3ffc0b4275161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  "body":{
    "input":{
      "CommonHeader":{
        "TimeStamp":"2018-11-30T09:13:37.368Z",
        "APIver":"1.0",
        "RequestID":"982ee65a-8afd-48df-bf57-c152ae45bacc-1",
        "SubRequestID":"1",
        "RequestTrack":{
          
        },
        "Flags":{
          
        }
      },
      "Action":"putA1Policy",
      "Payload":{
        "input":{
          "near-rt-ric-url":"${"tmp.policytype.url}/${"prop.a1.policytype.id}",
          "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}}"
        }
      }
    }
  },
  "version":"1.0",
  "rpc-name":"putA1Policy",
  "correlation-id":"722ee65a-8afd-48df-bf57-c152ae45bacc-1",
  "type":"request"
}