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

# \<resource> element

A `resource` element has the following XML attributes:

* `schema`: a required attribute specifying 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>)* schema URN for the resource. Standard SCIM resources already have URNs assigned for them, such as `urn:scim:schemas:core:1.0`. A new URN must be obtained for custom resources using any of the standard URN assignment methods.

* `name`: a required attribute specifying the name of the resource used to access it through the SCIM REST API.

* `mapping`: a custom Java class that provides the logic for the resource mapper. This class must extend the `com.unboundid.scim.ldap.ResourceMapper` class.

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

* `description`: a required element describing the resource.

* `endpoint`: a required element specifying the endpoint to access the resource using the SCIM REST API.

* `LDAPSearchRef`: a mandatory element that points to an `LDAPSearch` element. The `LDAPSearch` element allows a SCIM query for the resource to be handled by an Lightweight Directory Access Protocol (LDAP) *(tooltip: \<div class="paragraph">
  \<p>An open, cross platform protocol used for interacting with directory services.\</p>
  \</div>)* service and also specifies how the SCIM resource ID is mapped to the LDAP server.

* `LDAPAdd`: an optional element specifying information to allow a new SCIM resource to be added through an LDAP service. If the element is not provided then new resources cannot be created through the SCIM service.

* `attribute`: one or more elements specifying the SCIM attributes for the resource.
