2 "name": "Policy for Rate Control",
3 "policy_type_id":21000,
4 "description":"This policy is associated with rate control. Entities which support this policy type must accept the following policy inputs (see the payload for more specifics) : class, which represents the class of traffic for which the policy is being enforced",
7 "$schema":"http://json-schema.org/draft-07/schema#",
9 "additionalProperties":false,
16 "description":"integer id representing class to which we are applying policy"
20 "description": "Whether to enable or disable enforcement of policy on this class"
26 "description":"Sliding window length in seconds"
43 "additionalProperties":false,
44 "required":["policy_type_id", "policy_instance_id", "operation"],
50 "policy_instance_id":{
55 "enum":["CREATE", "UPDATE", "DELETE"]
58 "$schema":"http://json-schema.org/draft-07/schema#",
60 "additionalProperties":false,
67 "description":"integer id representing class to which we are applying policy"
71 "description": "Whether to enable or disable enforcement of policy on this class"
77 "description":"Sliding window length in seconds"
96 "additionalProperties":false,
97 "required":["policy_type_id", "policy_instance_id", "handler_id", "status"],
103 "policy_instance_id":{
111 "enum":["OK", "ERROR", "DELETED"]