---
title: "&lt;subAttribute&gt; element"
description: A subAttribute element has the following XML attributes:
component: pingdirectory
version: 10.1
page_id: pingdirectory:pingdatasync_server_administration_guide:pd_sync_subattribute_element
canonical_url: https://docs.pingidentity.com/pingdirectory/10.1/pingdatasync_server_administration_guide/pd_sync_subattribute_element.html
llms_txt: https://docs.pingidentity.com/pingdirectory/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: September 13, 2023
---

# \<subAttribute> element

A `subAttribute` element has the following XML attributes:

* `name`: a required element specifying the name of the sub-attribute.

* `readOnly`: an optional attribute indicating whether the System for Cross-domain Identity Management (SCIM) *(tooltip: \<div class="paragraph">
  \<p>An application-level, HTTP-based protocol for provisioning and managing user identity information. SCIM supplies a common schema for representing users and groups and provides a REST API.\</p>
  \</div>)* sub-attribute is not allowed to be updated by the SCIM service consumer. The default value is `false`.

* `required`: an optional attribute indicating whether the SCIM sub-attribute is required to be present in the SCIM attribute. The default value is `false`.

* `dataType`: a required attribute specifying the simple data type for the SCIM sub-attribute. The following values are permitted: `binary`, `boolean`, `dateTime`, `integer`, and `string`.

* `caseExact`: an optional attribute that is only applicable for string data types. It indicates whether comparisons between two string values use a case-exact match or a case-ignore match. The default value is `false`.

A `subAttribute` element contains the following XML elements in sequence:

* `description`: a required element describing the sub-attribute.

* `mapping`: an optional element specifying a mapping between the SCIM sub-attribute and an Lightweight Directory Access Protocol (LDAP) *(tooltip: \<div class="paragraph">
  \<p>An open, cross platform protocol used for interacting with directory services.\</p>
  \</div>)* attribute. This element is not applicable within the `complexMultiValued` element.
