ConditionalValueConstraintExpression (type)

{
  "additionalProperties": false, 
  "description": "Represents the leaf level expression to restrict the target attribute value based on the set of existing values. Generally, used in combination with RelatedAttributeConditionalExpression to constraint the values related to another attribute on the same resource. This object is always used in conjunction with some exression. Example - {   \"condition\" : {       \"operator\":\"INCLUDES\",       \"rhs_value\": [\"/infra/domains/mgw/groups/VCENTER\", \"/infra/domains/mgw/groups/SRM\", \"/infra/domains/mgw/groups/NSX\"],       \"value_constraint\": {           \"resource_type\": \"ValueConstraintExpression\",           \"operator\":\"EXCLUDES\",           \"values\":[\"/infra/domains/mgw/groups/VCENTER\", \"/infra/domains/mgw/groups/SRM\", \"/infra/domains/mgw/groups/NSX\"]   } }", 
  "id": "ConditionalValueConstraintExpression", 
  "module_id": "PolicyConstraints", 
  "properties": {
    "operator": {
      "enum": [
        "INCLUDES", 
        "EXCLUDES", 
        "EQUALS"
      ], 
      "required": true, 
      "title": "Set operation to constraint values.", 
      "type": "string"
    }, 
    "rhs_value": {
      "description": "List of values.", 
      "items": {
        "type": "string"
      }, 
      "required": false, 
      "title": "Array of values to perform operation.", 
      "type": "array"
    }, 
    "rhs_value_with_type": {
      "$ref": "ConstraintValue, 
      "description": "List of values.", 
      "required": false, 
      "title": "Array of values to perform operation."
    }, 
    "value_constraint": {
      "$ref": "ValueConstraintExpression, 
      "description": "Values to apply the conditional constraint on target.", 
      "required": true, 
      "title": "Value Constraint"
    }
  }, 
  "title": "Represents the leaf level conditional value constraint.", 
  "type": "object"
}