class that captures details of a constraint.
Example
{ "type" : "...", "params" : { "property1" : { }, "property2" : { } } }