afv-library/skills/getting-metadata-api-context/data/metadata_api/DocumentCategory.json

42 lines
1.9 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"sections": [
"title",
"description",
"file_information",
"directory_location",
"fields",
"wsdl_segment",
"declarative_metadata_sample_definition"
],
"title": "DocumentCategory - Metadata API",
"description": "Represents a document category.",
"file_information": ".documentCategory",
"directory_location": "documentCategory",
"fields_columns": [
"type",
"description",
"required"
],
"fields": {
"description": {
"type": "string",
"description": "A description of the DocumentCategory."
},
"isProtected": {
"type": "boolean",
"description": "An auto-generated value that doesnt impact the behavior of the metadata type. The default value is false."
},
"masterLabel": {
"type": "string",
"required": true,
"description": "The master label of the DocumentCategory. This internal label doesnt get translated."
}
},
"wsdl_segment": "```xml\n<xsd:complexType name=\"DocumentCategory\">\n <xsd:complexContent>\n <xsd:extension base=\"tns:Metadata\">\n <xsd:sequence>\n <xsd:element name=\"description\" minOccurs=\"0\" type=\"xsd:string\"/>\n <xsd:element name=\"isProtected\" minOccurs=\"0\" type=\"xsd:boolean\"/>\n <xsd:element name=\"masterLabel\" type=\"xsd:string\"/>\n </xsd:sequence>\n </xsd:extension>\n </xsd:complexContent>\n</xsd:complexType>\n<xsd:complexType name=\"Metadata\">\n <xsd:sequence>\n <xsd:element name=\"fullName\" minOccurs=\"0\" type=\"xsd:string\"/>\n </xsd:sequence>\n</xsd:complexType>\n```",
"declarative_metadata_sample_definition": [
{
"description": "The following is an example of a DocumentCategory component.",
"code": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<DocumentCategory xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <masterLabel>Address_Proof</masterLabel>\n</DocumentCategory>"
}
]
}