---
schema_version: "1"
id: ff462b0ca9416ff0098df895580de8cb0783d7ea101085deea969dbbecdac1f4
title: DisclosureDefinition
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_disclosuredefinition.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_disclosuredefinition.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d19be8eca5f34347eacc54b663e7937d58249cb2a3ccb8ab49121b200f1e2f07
description: Represents information that defines a disclosure type, such as details of the publisher or vendor who created or implemented the report.
---
# DisclosureDefinition

Represents information that defines a disclosure type, such as details of the publisher or vendor who created or implemented the report.

## Parent Type

This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/metadata.htm "HTML (New Window)") metadata type and inherits its fullName field.

## File Suffix and Directory Location

DisclosureDefinition components have the suffix .disclosureDefinition and are stored in the disclosureDefinitions folder.

## Version

DisclosureDefinition components are available in API version 57.0 and later.

## Special Access Rules

The DisclosureAndComplianceHubAddOn license is required to access this object along with user access for the Disclosure Compliance Hub permission set license.

## Fields

<table class="featureTable sort_table" summary="">


          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d1080900e101">Field Name</th>

              <th class="featureTableHeader  " id="d1080900e104">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d1080900e101" data-title="Field Name"><span class="keyword parmname">description</span></td>

              <td class="entry" headers="d1080900e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: string</p>

                <p class="p"><strong class="ph b">Description</strong>: The description about the disclosure definition.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d1080900e101" data-title="Field Name"><span class="keyword parmname">disclosureType</span></td>

              <td class="entry" headers="d1080900e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: string</p>

                <p class="p"><strong class="ph b">Description</strong>:</p>

                <p class="p">Required.</p>

                <p class="p">The API name of the disclosure type
                  associated with this definition.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d1080900e101" data-title="Field Name"><span class="keyword parmname">isProtected</span></td>

              <td class="entry" headers="d1080900e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: boolean</p>

                <p class="p"><strong class="ph b">Description</strong>: An auto-generated value that doesn’t impact the behavior
                  of the metadata type. The default is <samp class="codeph nolang">false</samp>.</p>

              </td>

            </tr>

            <tr>
              <td class="entry" headers="d1080900e101" data-title="Field Name"><span class="keyword parmname">masterLabel</span></td>

              <td class="entry" headers="d1080900e104" data-title="Description">
                <p class="p"><strong class="ph b">Field Type</strong>: string</p>

                <p class="p"><strong class="ph b">Description</strong>:</p>

                <p class="p">Required.</p>

                <p class="p">A user-friendly name for
                  DisclosureDefinition, which is defined when the
                  DisclosureDefinition is created.</p>

              </td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

The following is an example of a DisclosureDefinition component.

<?xml version="1.0" encoding="UTF-8"?>
<DisclosureDefinition
	xmlns="http://soap.sforce.com/2006/04/metadata">
	<description\>This is GRI Disclosure Definition</description\>
	<disclosureType\>disclstype10</disclosureType\>
	<isProtected\>false</isProtected\>
	<masterLabel\>GRI</masterLabel\>
</DisclosureDefinition\>

The following is an example package.xml that references the previous definition.

<?xml version="1.0" encoding="UTF-8"?>
<Package
	xmlns="http://soap.sforce.com/2006/04/metadata">
	<fullName\>Pkg</fullName\>
	<types\>
		<members\>GRI</members\>
		<name\>DisclosureDefinition</name\>
	</types\>
	<types\>
		<members\>dt12</members\>
		<name\>DisclosureType</name\>
	</types\>
	<version\>57.0</version\>
</Package\>

## Wildcard Support in the Manifest File

This metadata type supports the wildcard character \* (asterisk) in the package.xml manifest file. For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm "HTML (New Window)").