---
title: "&lt;attribute&gt; element"
description: An attribute element has the following XML attributes:
component: pingdirectory
version: 10.1
page_id: pingdirectory:pingdatasync_server_administration_guide:pd_sync_attribute_element
canonical_url: https://docs.pingidentity.com/pingdirectory/10.1/pingdatasync_server_administration_guide/pd_sync_attribute_element.html
revdate: September 13, 2023
---

# \<attribute> element

An `attribute` element has the following XML attributes:

* `schema`: a required attribute specifying the schema URN for 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>)* attribute. If omitted, the schema URN is assumed to be the same as that of the enclosing resource, so this only needs to be provided for SCIM extension attributes. Standard SCIM attributes already have URNs assigned for them, such as `urn:scim:schemas:core:1.0`. A new URN must be obtained for custom SCIM attributes using any of the standard URN assignment methods.

* `name`: a required attribute specifying the name of the SCIM attribute.

* `readOnly`: an optional attribute indicating whether the SCIM 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 attribute is required to be present in the resource. The default value is `false`.

An `attribute` element contains the following XML elements in sequence:

* `description`: a required element describing the attribute. Then just one of the following elements:

* `simple`: specifies a simple, singular SCIM attribute.

* `complex`: specifies a complex, singular SCIM attribute.

* `simpleMultiValued`: specifies a simple, multi-valued SCIM attribute.

* `complexMultiValued`: specifies a complex, multi-valued SCIM attribute.
