---
id: v1-role-criteria-level1
title: RoleCriteriaLevel1
pagination_label: RoleCriteriaLevel1
sidebar_label: RoleCriteriaLevel1
sidebar_class_name: typescriptsdk
keywords: ['typescript', 'TypeScript', 'sdk', 'RoleCriteriaLevel1', 'v1RoleCriteriaLevel1']
slug: /tools/sdk/typescript/roles/models/role-criteria-level1
tags: ['SDK', 'Software Development Kit', 'RoleCriteriaLevel1', 'v1RoleCriteriaLevel1']
---

# RoleCriteriaLevel1

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**operation** | **(optional)** `RoleCriteriaOperation` |  | [default to undefined]
**key** | **(optional)** `RoleCriteriaKey` |  | [default to undefined]
**stringValue** | **(optional)** `string` | String value to test the Identity attribute, Account attribute, or Entitlement specified in the key w/r/t the specified operation. If this criteria is a leaf node, that is, if the operation is one of EQUALS, NOT_EQUALS, CONTAINS, DOES_NOT_CONTAIN, STARTS_WITH, or ENDS_WITH, this field is required. Otherwise, specifying it is an error. | [default to undefined]
**children** | **(optional)** `Array<RoleCriteriaLevel2>` | Array of child criteria. Required if the operation is AND or OR, otherwise it must be left null. A maximum of three levels of criteria are supported, including leaf nodes. Additionally, AND nodes can only be children or OR nodes and vice-versa. | [default to undefined]

