{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "GoogleCloudHealthcareV1ConsentPolicy",
  "description": "Represents a user's consent in terms of the resources that can be accessed and under what conditions.",
  "properties": {
    "authorizationRule": {
      "$ref": "#/components/schemas/Expr",
      "description": "Required. The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have `IN` operator as well as at most 10 logical operators that are limited to `AND` (`&&`), `OR` (`||`)."
    },
    "resourceAttributes": {
      "description": "The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.",
      "items": {
        "$ref": "#/components/schemas/Attribute"
      },
      "type": "array"
    }
  },
  "type": "object"
}