{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "attr_based_filter",
  "description": "Attribute-based filter.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/cloud-identity-engine-api-attr_based_filter-schema.json",
  "type": "object",
  "properties": {
    "attrName": {
      "description": "Attribute name",
      "type": "string",
      "enum": [
        "User Principal Name",
        "Common-Name",
        "Name",
        "Distinguished Name",
        "SAM Account Name",
        "Unique Identifier"
      ],
      "example": "Distinguished Name"
    },
    "attrValue": {
      "description": "Attribute value",
      "type": "string",
      "example": "CN=Jack,UID=Park,DC=example,DC=com"
    },
    "match": {
      "description": "Value you want to match.",
      "type": "string",
      "enum": [
        "equal",
        "textSearch"
      ],
      "example": "equal"
    }
  },
  "required": [
    "attrName",
    "attrValue",
    "match"
  ]
}
