Skip to content

Instantly share code, notes, and snippets.

@kevinohara80
Created March 18, 2015 02:31
Show Gist options
  • Save kevinohara80/073fe2c824b6c006b120 to your computer and use it in GitHub Desktop.
Save kevinohara80/073fe2c824b6c006b120 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!--
Salesforce.com Metadata API version 32.0
Copyright 2006-2014 Salesforce.com, inc. All Rights Reserved
-->
<definitions targetNamespace="http://soap.sforce.com/2006/04/metadata" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://soap.sforce.com/2006/04/metadata">
<types>
<xsd:schema elementFormDefault="qualified" targetNamespace="http://soap.sforce.com/2006/04/metadata">
<xsd:complexType name="CancelDeployResult">
<xsd:sequence>
<xsd:element name="done" type="xsd:boolean"/>
<xsd:element name="id" type="tns:ID"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DeployResult">
<xsd:sequence>
<xsd:element name="canceledBy" minOccurs="0" type="xsd:string"/>
<xsd:element name="canceledByName" minOccurs="0" type="xsd:string"/>
<xsd:element name="checkOnly" type="xsd:boolean"/>
<xsd:element name="completedDate" minOccurs="0" type="xsd:dateTime"/>
<xsd:element name="createdBy" type="xsd:string"/>
<xsd:element name="createdByName" type="xsd:string"/>
<xsd:element name="createdDate" type="xsd:dateTime"/>
<xsd:element name="details" type="tns:DeployDetails"/>
<xsd:element name="done" type="xsd:boolean"/>
<xsd:element name="errorMessage" minOccurs="0" type="xsd:string"/>
<xsd:element name="errorStatusCode" minOccurs="0" type="tns:StatusCode"/>
<xsd:element name="id" type="tns:ID"/>
<xsd:element name="ignoreWarnings" type="xsd:boolean"/>
<xsd:element name="lastModifiedDate" minOccurs="0" type="xsd:dateTime"/>
<xsd:element name="numberComponentErrors" type="xsd:int"/>
<xsd:element name="numberComponentsDeployed" type="xsd:int"/>
<xsd:element name="numberComponentsTotal" type="xsd:int"/>
<xsd:element name="numberTestErrors" type="xsd:int"/>
<xsd:element name="numberTestsCompleted" type="xsd:int"/>
<xsd:element name="numberTestsTotal" type="xsd:int"/>
<xsd:element name="rollbackOnError" type="xsd:boolean"/>
<xsd:element name="runTestsEnabled" type="xsd:boolean"/>
<xsd:element name="startDate" minOccurs="0" type="xsd:dateTime"/>
<xsd:element name="stateDetail" minOccurs="0" type="xsd:string"/>
<xsd:element name="status" type="tns:DeployStatus"/>
<xsd:element name="success" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DeployDetails">
<xsd:sequence>
<xsd:element name="componentFailures" minOccurs="0" maxOccurs="unbounded" type="tns:DeployMessage"/>
<xsd:element name="componentSuccesses" minOccurs="0" maxOccurs="unbounded" type="tns:DeployMessage"/>
<xsd:element name="retrieveResult" minOccurs="0" type="tns:RetrieveResult"/>
<xsd:element name="runTestResult" minOccurs="0" type="tns:RunTestsResult"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DeployMessage">
<xsd:sequence>
<xsd:element name="changed" type="xsd:boolean"/>
<xsd:element name="columnNumber" minOccurs="0" type="xsd:int"/>
<xsd:element name="componentType" minOccurs="0" type="xsd:string"/>
<xsd:element name="created" type="xsd:boolean"/>
<xsd:element name="createdDate" type="xsd:dateTime"/>
<xsd:element name="deleted" type="xsd:boolean"/>
<xsd:element name="fileName" type="xsd:string"/>
<xsd:element name="fullName" type="xsd:string"/>
<xsd:element name="id" minOccurs="0" type="xsd:string"/>
<xsd:element name="lineNumber" minOccurs="0" type="xsd:int"/>
<xsd:element name="problem" minOccurs="0" type="xsd:string"/>
<xsd:element name="problemType" minOccurs="0" type="tns:DeployProblemType"/>
<xsd:element name="success" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="DeployProblemType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Warning"/>
<xsd:enumeration value="Error"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="RetrieveResult">
<xsd:sequence>
<xsd:element name="done" type="xsd:boolean"/>
<xsd:element name="errorMessage" minOccurs="0" type="xsd:string"/>
<xsd:element name="errorStatusCode" minOccurs="0" type="tns:StatusCode"/>
<xsd:element name="fileProperties" minOccurs="0" maxOccurs="unbounded" type="tns:FileProperties"/>
<xsd:element name="id" type="xsd:string"/>
<xsd:element name="messages" minOccurs="0" maxOccurs="unbounded" type="tns:RetrieveMessage"/>
<xsd:element name="status" type="tns:RetrieveStatus"/>
<xsd:element name="success" type="xsd:boolean"/>
<xsd:element name="zipFile" type="xsd:base64Binary"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FileProperties">
<xsd:sequence>
<xsd:element name="createdById" type="xsd:string"/>
<xsd:element name="createdByName" type="xsd:string"/>
<xsd:element name="createdDate" type="xsd:dateTime"/>
<xsd:element name="fileName" type="xsd:string"/>
<xsd:element name="fullName" type="xsd:string"/>
<xsd:element name="id" type="xsd:string"/>
<xsd:element name="lastModifiedById" type="xsd:string"/>
<xsd:element name="lastModifiedByName" type="xsd:string"/>
<xsd:element name="lastModifiedDate" type="xsd:dateTime"/>
<xsd:element name="manageableState" minOccurs="0" type="tns:ManageableState"/>
<xsd:element name="namespacePrefix" minOccurs="0" type="xsd:string"/>
<xsd:element name="type" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ManageableState">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="released"/>
<xsd:enumeration value="deleted"/>
<xsd:enumeration value="deprecated"/>
<xsd:enumeration value="installed"/>
<xsd:enumeration value="beta"/>
<xsd:enumeration value="unmanaged"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="RetrieveMessage">
<xsd:sequence>
<xsd:element name="fileName" type="xsd:string"/>
<xsd:element name="problem" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="RetrieveStatus">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Pending"/>
<xsd:enumeration value="InProgress"/>
<xsd:enumeration value="Succeeded"/>
<xsd:enumeration value="Failed"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="RunTestsResult">
<xsd:sequence>
<xsd:element name="codeCoverage" minOccurs="0" maxOccurs="unbounded" type="tns:CodeCoverageResult"/>
<xsd:element name="codeCoverageWarnings" minOccurs="0" maxOccurs="unbounded" type="tns:CodeCoverageWarning"/>
<xsd:element name="failures" minOccurs="0" maxOccurs="unbounded" type="tns:RunTestFailure"/>
<xsd:element name="numFailures" type="xsd:int"/>
<xsd:element name="numTestsRun" type="xsd:int"/>
<xsd:element name="successes" minOccurs="0" maxOccurs="unbounded" type="tns:RunTestSuccess"/>
<xsd:element name="totalTime" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CodeCoverageResult">
<xsd:sequence>
<xsd:element name="dmlInfo" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
<xsd:element name="id" type="tns:ID"/>
<xsd:element name="locationsNotCovered" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
<xsd:element name="methodInfo" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="namespace" type="xsd:string" nillable="true"/>
<xsd:element name="numLocations" type="xsd:int"/>
<xsd:element name="numLocationsNotCovered" type="xsd:int"/>
<xsd:element name="soqlInfo" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
<xsd:element name="soslInfo" minOccurs="0" maxOccurs="unbounded" type="tns:CodeLocation"/>
<xsd:element name="type" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CodeLocation">
<xsd:sequence>
<xsd:element name="column" type="xsd:int"/>
<xsd:element name="line" type="xsd:int"/>
<xsd:element name="numExecutions" type="xsd:int"/>
<xsd:element name="time" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CodeCoverageWarning">
<xsd:sequence>
<xsd:element name="id" type="tns:ID"/>
<xsd:element name="message" type="xsd:string"/>
<xsd:element name="name" type="xsd:string" nillable="true"/>
<xsd:element name="namespace" type="xsd:string" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RunTestFailure">
<xsd:sequence>
<xsd:element name="id" type="tns:ID"/>
<xsd:element name="message" type="xsd:string"/>
<xsd:element name="methodName" type="xsd:string" nillable="true"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="namespace" type="xsd:string" nillable="true"/>
<xsd:element name="packageName" type="xsd:string"/>
<xsd:element name="stackTrace" type="xsd:string" nillable="true"/>
<xsd:element name="time" type="xsd:double"/>
<xsd:element name="type" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RunTestSuccess">
<xsd:sequence>
<xsd:element name="id" type="tns:ID"/>
<xsd:element name="methodName" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="namespace" type="xsd:string" nillable="true"/>
<xsd:element name="time" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="DeployStatus">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Pending"/>
<xsd:enumeration value="InProgress"/>
<xsd:enumeration value="Succeeded"/>
<xsd:enumeration value="SucceededPartial"/>
<xsd:enumeration value="Failed"/>
<xsd:enumeration value="Canceling"/>
<xsd:enumeration value="Canceled"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="Metadata">
<xsd:sequence>
<xsd:element name="fullName" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AccountSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="enableAccountOwnerReport" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableAccountTeams" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showViewHierarchyLink" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ActivitiesSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="allowUsersToRelateMultipleContactsToTasksAndEvents" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableActivityReminders" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableClickCreateEvents" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableDragAndDropScheduling" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableEmailTracking" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableEventScheduler" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableGroupTasks" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableListViewScheduling" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableLogNote" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableMultidayEvents" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableRecurringEvents" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableRecurringTasks" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableSidebarCalendarShortcut" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableSimpleTaskCreateUI" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableUNSTaskDelegatedToNotifications" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="meetingRequestsLogo" minOccurs="0" type="xsd:string"/>
<xsd:element name="showCustomLogoMeetingRequests" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showEventDetailsMultiUserCalendar" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showHomePageHoverLinksForEvents" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showMyTasksHoverLinks" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showRequestedMeetingsOnHomePage" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="AddressSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="countriesAndStates" type="tns:CountriesAndStates"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CountriesAndStates">
<xsd:sequence>
<xsd:element name="countries" minOccurs="0" maxOccurs="unbounded" type="tns:Country"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Country">
<xsd:sequence>
<xsd:element name="active" type="xsd:boolean"/>
<xsd:element name="integrationValue" type="xsd:string"/>
<xsd:element name="isoCode" type="xsd:string"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="orgDefault" type="xsd:boolean"/>
<xsd:element name="standard" type="xsd:boolean"/>
<xsd:element name="states" minOccurs="0" maxOccurs="unbounded" type="tns:State"/>
<xsd:element name="visible" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="State">
<xsd:sequence>
<xsd:element name="active" type="xsd:boolean"/>
<xsd:element name="integrationValue" type="xsd:string"/>
<xsd:element name="isoCode" type="xsd:string"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="standard" type="xsd:boolean"/>
<xsd:element name="visible" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AnalyticSnapshot">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="groupColumn" minOccurs="0" type="xsd:string"/>
<xsd:element name="mappings" minOccurs="0" maxOccurs="unbounded" type="tns:AnalyticSnapshotMapping"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="runningUser" minOccurs="0" type="xsd:string"/>
<xsd:element name="sourceReport" type="xsd:string"/>
<xsd:element name="targetObject" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="AnalyticSnapshotMapping">
<xsd:sequence>
<xsd:element name="aggregateType" minOccurs="0" type="tns:ReportSummaryType"/>
<xsd:element name="sourceField" type="xsd:string"/>
<xsd:element name="sourceType" type="tns:ReportJobSourceTypes"/>
<xsd:element name="targetField" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ReportSummaryType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Sum"/>
<xsd:enumeration value="Average"/>
<xsd:enumeration value="Maximum"/>
<xsd:enumeration value="Minimum"/>
<xsd:enumeration value="None"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ReportJobSourceTypes">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="tabular"/>
<xsd:enumeration value="summary"/>
<xsd:enumeration value="snapshot"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="AppMenu">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="appMenuItems" minOccurs="0" maxOccurs="unbounded" type="tns:AppMenuItem"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="AppMenuItem">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="type" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ApprovalProcess">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="active" type="xsd:boolean"/>
<xsd:element name="allowRecall" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="allowedSubmitters" minOccurs="0" maxOccurs="unbounded" type="tns:ApprovalSubmitter"/>
<xsd:element name="approvalPageFields" minOccurs="0" type="tns:ApprovalPageField"/>
<xsd:element name="approvalStep" minOccurs="0" maxOccurs="unbounded" type="tns:ApprovalStep"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="emailTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="enableMobileDeviceAccess" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="entryCriteria" minOccurs="0" type="tns:ApprovalEntryCriteria"/>
<xsd:element name="finalApprovalActions" minOccurs="0" type="tns:ApprovalAction"/>
<xsd:element name="finalApprovalRecordLock" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="finalRejectionActions" minOccurs="0" type="tns:ApprovalAction"/>
<xsd:element name="finalRejectionRecordLock" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="initialSubmissionActions" minOccurs="0" type="tns:ApprovalAction"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="nextAutomatedApprover" minOccurs="0" type="tns:NextAutomatedApprover"/>
<xsd:element name="postTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="recallActions" minOccurs="0" type="tns:ApprovalAction"/>
<xsd:element name="recordEditability" type="tns:RecordEditabilityType"/>
<xsd:element name="showApprovalHistory" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ApprovalSubmitter">
<xsd:sequence>
<xsd:element name="submitter" minOccurs="0" type="xsd:string"/>
<xsd:element name="type" type="tns:ProcessSubmitterType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ProcessSubmitterType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="group"/>
<xsd:enumeration value="role"/>
<xsd:enumeration value="user"/>
<xsd:enumeration value="roleSubordinates"/>
<xsd:enumeration value="roleSubordinatesInternal"/>
<xsd:enumeration value="owner"/>
<xsd:enumeration value="creator"/>
<xsd:enumeration value="partnerUser"/>
<xsd:enumeration value="customerPortalUser"/>
<xsd:enumeration value="portalRole"/>
<xsd:enumeration value="portalRoleSubordinates"/>
<xsd:enumeration value="allInternalUsers"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ApprovalPageField">
<xsd:sequence>
<xsd:element name="field" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ApprovalStep">
<xsd:sequence>
<xsd:element name="allowDelegate" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="approvalActions" minOccurs="0" type="tns:ApprovalAction"/>
<xsd:element name="assignedApprover" type="tns:ApprovalStepApprover"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="entryCriteria" minOccurs="0" type="tns:ApprovalEntryCriteria"/>
<xsd:element name="ifCriteriaNotMet" minOccurs="0" type="tns:StepCriteriaNotMetType"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="rejectBehavior" minOccurs="0" type="tns:ApprovalStepRejectBehavior"/>
<xsd:element name="rejectionActions" minOccurs="0" type="tns:ApprovalAction"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ApprovalAction">
<xsd:sequence>
<xsd:element name="action" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowActionReference"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="WorkflowActionReference">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="type" type="tns:WorkflowActionType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="WorkflowActionType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="FieldUpdate"/>
<xsd:enumeration value="KnowledgePublish"/>
<xsd:enumeration value="Task"/>
<xsd:enumeration value="Alert"/>
<xsd:enumeration value="Send"/>
<xsd:enumeration value="OutboundMessage"/>
<xsd:enumeration value="FlowAction"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ApprovalStepApprover">
<xsd:sequence>
<xsd:element name="approver" minOccurs="0" maxOccurs="unbounded" type="tns:Approver"/>
<xsd:element name="whenMultipleApprovers" minOccurs="0" type="tns:RoutingType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Approver">
<xsd:sequence>
<xsd:element name="name" minOccurs="0" type="xsd:string"/>
<xsd:element name="type" type="tns:NextOwnerType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="NextOwnerType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="adhoc"/>
<xsd:enumeration value="user"/>
<xsd:enumeration value="userHierarchyField"/>
<xsd:enumeration value="relatedUserField"/>
<xsd:enumeration value="queue"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="RoutingType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Unanimous"/>
<xsd:enumeration value="FirstResponse"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ApprovalEntryCriteria">
<xsd:sequence>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="criteriaItems" minOccurs="0" maxOccurs="unbounded" type="tns:FilterItem"/>
<xsd:element name="formula" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FilterItem">
<xsd:sequence>
<xsd:element name="field" type="xsd:string"/>
<xsd:element name="operation" type="tns:FilterOperation"/>
<xsd:element name="value" minOccurs="0" type="xsd:string"/>
<xsd:element name="valueField" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="FilterOperation">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="equals"/>
<xsd:enumeration value="notEqual"/>
<xsd:enumeration value="lessThan"/>
<xsd:enumeration value="greaterThan"/>
<xsd:enumeration value="lessOrEqual"/>
<xsd:enumeration value="greaterOrEqual"/>
<xsd:enumeration value="contains"/>
<xsd:enumeration value="notContain"/>
<xsd:enumeration value="startsWith"/>
<xsd:enumeration value="includes"/>
<xsd:enumeration value="excludes"/>
<xsd:enumeration value="within"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="StepCriteriaNotMetType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ApproveRecord"/>
<xsd:enumeration value="RejectRecord"/>
<xsd:enumeration value="GotoNextStep"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ApprovalStepRejectBehavior">
<xsd:sequence>
<xsd:element name="type" type="tns:StepRejectBehaviorType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="StepRejectBehaviorType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="RejectRequest"/>
<xsd:enumeration value="BackToPrevious"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="NextAutomatedApprover">
<xsd:sequence>
<xsd:element name="useApproverFieldOfRecordOwner" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="userHierarchyField" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="RecordEditabilityType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="AdminOnly"/>
<xsd:enumeration value="AdminOrCurrentApprover"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="AssignmentRule">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="active" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="ruleEntry" minOccurs="0" maxOccurs="unbounded" type="tns:RuleEntry"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="RuleEntry">
<xsd:sequence>
<xsd:element name="assignedTo" minOccurs="0" type="xsd:string"/>
<xsd:element name="assignedToType" minOccurs="0" type="tns:AssignToLookupValueType"/>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="businessHours" minOccurs="0" type="xsd:string"/>
<xsd:element name="businessHoursSource" minOccurs="0" type="tns:BusinessHoursSourceType"/>
<xsd:element name="criteriaItems" minOccurs="0" maxOccurs="unbounded" type="tns:FilterItem"/>
<xsd:element name="disableEscalationWhenModified" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="escalationAction" minOccurs="0" maxOccurs="unbounded" type="tns:EscalationAction"/>
<xsd:element name="escalationStartTime" minOccurs="0" type="tns:EscalationStartTimeType"/>
<xsd:element name="formula" minOccurs="0" type="xsd:string"/>
<xsd:element name="notifyCcRecipients" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="overrideExistingTeams" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="replyToEmail" minOccurs="0" type="xsd:string"/>
<xsd:element name="senderEmail" minOccurs="0" type="xsd:string"/>
<xsd:element name="senderName" minOccurs="0" type="xsd:string"/>
<xsd:element name="team" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="template" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="AssignToLookupValueType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="User"/>
<xsd:enumeration value="Queue"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="BusinessHoursSourceType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="Case"/>
<xsd:enumeration value="Static"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="EscalationAction">
<xsd:sequence>
<xsd:element name="assignedTo" minOccurs="0" type="xsd:string"/>
<xsd:element name="assignedToTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="assignedToType" minOccurs="0" type="tns:AssignToLookupValueType"/>
<xsd:element name="minutesToEscalation" minOccurs="0" type="xsd:int"/>
<xsd:element name="notifyCaseOwner" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="notifyEmail" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="notifyTo" minOccurs="0" type="xsd:string"/>
<xsd:element name="notifyToTemplate" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="EscalationStartTimeType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="CaseCreation"/>
<xsd:enumeration value="CaseLastModified"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="AssignmentRules">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="assignmentRule" minOccurs="0" maxOccurs="unbounded" type="tns:AssignmentRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="AuraDefinitionBundle">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="controllerContent" minOccurs="0" type="xsd:base64Binary"/>
<xsd:element name="documentationContent" minOccurs="0" type="xsd:base64Binary"/>
<xsd:element name="helperContent" minOccurs="0" type="xsd:base64Binary"/>
<xsd:element name="markup" type="xsd:base64Binary"/>
<xsd:element name="modelContent" minOccurs="0" type="xsd:base64Binary"/>
<xsd:element name="rendererContent" minOccurs="0" type="xsd:base64Binary"/>
<xsd:element name="styleContent" minOccurs="0" type="xsd:base64Binary"/>
<xsd:element name="testsuiteContent" minOccurs="0" type="xsd:base64Binary"/>
<xsd:element name="type" type="tns:AuraBundleType"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="AuraBundleType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Application"/>
<xsd:enumeration value="Component"/>
<xsd:enumeration value="Event"/>
<xsd:enumeration value="Interface"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="AuthProvider">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="authorizeUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="consumerKey" minOccurs="0" type="xsd:string"/>
<xsd:element name="consumerSecret" type="xsd:string"/>
<xsd:element name="defaultScopes" minOccurs="0" type="xsd:string"/>
<xsd:element name="errorUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="executionUser" minOccurs="0" type="xsd:string"/>
<xsd:element name="friendlyName" type="xsd:string"/>
<xsd:element name="iconUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="idTokenIssuer" minOccurs="0" type="xsd:string"/>
<xsd:element name="includeOrgIdInIdentifier" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="portal" minOccurs="0" type="xsd:string"/>
<xsd:element name="providerType" type="tns:AuthProviderType"/>
<xsd:element name="registrationHandler" minOccurs="0" type="xsd:string"/>
<xsd:element name="sendAccessTokenInHeader" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="sendClientCredentialsInHeader" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="tokenUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="userInfoUrl" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="AuthProviderType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Facebook"/>
<xsd:enumeration value="Janrain"/>
<xsd:enumeration value="Salesforce"/>
<xsd:enumeration value="OpenIdConnect"/>
<xsd:enumeration value="MicrosoftACS"/>
<xsd:enumeration value="LinkedIn"/>
<xsd:enumeration value="Twitter"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="AutoResponseRule">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="active" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="ruleEntry" minOccurs="0" maxOccurs="unbounded" type="tns:RuleEntry"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="AutoResponseRules">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="autoResponseRule" minOccurs="0" maxOccurs="unbounded" type="tns:AutoResponseRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="BaseSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="sharedTo" type="tns:SharedTo"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="SharedTo">
<xsd:sequence>
<xsd:element name="allCustomerPortalUsers" minOccurs="0" type="xsd:string"/>
<xsd:element name="allInternalUsers" minOccurs="0" type="xsd:string"/>
<xsd:element name="allPartnerUsers" minOccurs="0" type="xsd:string"/>
<xsd:element name="group" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="groups" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="managerSubordinates" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="managers" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="portalRole" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="portalRoleAndSubordinates" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="queue" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="role" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="roleAndSubordinates" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="roleAndSubordinatesInternal" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="roles" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="rolesAndSubordinates" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="territories" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="territoriesAndSubordinates" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="territory" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="territoryAndSubordinates" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CriteriaBasedSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:BaseSharingRule">
<xsd:sequence>
<xsd:element name="criteriaItems" minOccurs="0" maxOccurs="unbounded" type="tns:FilterItem"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="AccountCriteriaBasedSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:CriteriaBasedSharingRule">
<xsd:sequence>
<xsd:element name="accountAccessLevel" type="tns:ShareAccessLevelNoNone"/>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="caseAccessLevel" type="tns:ShareAccessLevelNoAll"/>
<xsd:element name="contactAccessLevel" type="tns:ShareAccessLevelNoAll"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="opportunityAccessLevel" type="tns:ShareAccessLevelNoAll"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="ShareAccessLevelNoNone">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Read"/>
<xsd:enumeration value="Edit"/>
<xsd:enumeration value="All"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ShareAccessLevelNoAll">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="Read"/>
<xsd:enumeration value="Edit"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CampaignCriteriaBasedSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:CriteriaBasedSharingRule">
<xsd:sequence>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="campaignAccessLevel" type="tns:ShareAccessLevelNoNone"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CaseCriteriaBasedSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:CriteriaBasedSharingRule">
<xsd:sequence>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="caseAccessLevel" type="tns:ShareAccessLevelReadEdit"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="ShareAccessLevelReadEdit">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Read"/>
<xsd:enumeration value="Edit"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ContactCriteriaBasedSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:CriteriaBasedSharingRule">
<xsd:sequence>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="contactAccessLevel" type="tns:ShareAccessLevelReadEdit"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CustomObjectCriteriaBasedSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:CriteriaBasedSharingRule">
<xsd:sequence>
<xsd:element name="accessLevel" type="xsd:string"/>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="LeadCriteriaBasedSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:CriteriaBasedSharingRule">
<xsd:sequence>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="leadAccessLevel" type="tns:ShareAccessLevelReadEdit"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="OpportunityCriteriaBasedSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:CriteriaBasedSharingRule">
<xsd:sequence>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="opportunityAccessLevel" type="tns:ShareAccessLevelReadEdit"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="UserCriteriaBasedSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:CriteriaBasedSharingRule">
<xsd:sequence>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="userAccessLevel" type="tns:ShareAccessLevelReadEdit"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="OwnerSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:BaseSharingRule">
<xsd:sequence>
<xsd:element name="sharedFrom" type="tns:SharedTo"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="AccountOwnerSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:OwnerSharingRule">
<xsd:sequence>
<xsd:element name="accountAccessLevel" type="tns:ShareAccessLevelNoNone"/>
<xsd:element name="caseAccessLevel" type="tns:ShareAccessLevelNoAll"/>
<xsd:element name="contactAccessLevel" type="tns:ShareAccessLevelNoAll"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="opportunityAccessLevel" type="tns:ShareAccessLevelNoAll"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="AccountTerritorySharingRule">
<xsd:complexContent>
<xsd:extension base="tns:OwnerSharingRule">
<xsd:sequence>
<xsd:element name="accountAccessLevel" type="tns:ShareAccessLevelNoNone"/>
<xsd:element name="caseAccessLevel" type="tns:ShareAccessLevelNoAll"/>
<xsd:element name="contactAccessLevel" type="tns:ShareAccessLevelNoAll"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="opportunityAccessLevel" type="tns:ShareAccessLevelNoAll"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CampaignOwnerSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:OwnerSharingRule">
<xsd:sequence>
<xsd:element name="campaignAccessLevel" type="tns:ShareAccessLevelNoNone"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CaseOwnerSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:OwnerSharingRule">
<xsd:sequence>
<xsd:element name="caseAccessLevel" type="tns:ShareAccessLevelReadEdit"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ContactOwnerSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:OwnerSharingRule">
<xsd:sequence>
<xsd:element name="contactAccessLevel" type="tns:ShareAccessLevelReadEdit"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CustomObjectOwnerSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:OwnerSharingRule">
<xsd:sequence>
<xsd:element name="accessLevel" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="LeadOwnerSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:OwnerSharingRule">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="leadAccessLevel" type="tns:ShareAccessLevelReadEdit"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="OpportunityOwnerSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:OwnerSharingRule">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="opportunityAccessLevel" type="tns:ShareAccessLevelReadEdit"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="UserMembershipSharingRule">
<xsd:complexContent>
<xsd:extension base="tns:OwnerSharingRule">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="userAccessLevel" type="tns:ShareAccessLevelReadEdit"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="BusinessHoursEntry">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="active" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="default" type="xsd:boolean"/>
<xsd:element name="fridayEndTime" minOccurs="0" type="xsd:time"/>
<xsd:element name="fridayStartTime" minOccurs="0" type="xsd:time"/>
<xsd:element name="mondayEndTime" minOccurs="0" type="xsd:time"/>
<xsd:element name="mondayStartTime" minOccurs="0" type="xsd:time"/>
<xsd:element name="name" minOccurs="0" type="xsd:string"/>
<xsd:element name="saturdayEndTime" minOccurs="0" type="xsd:time"/>
<xsd:element name="saturdayStartTime" minOccurs="0" type="xsd:time"/>
<xsd:element name="sundayEndTime" minOccurs="0" type="xsd:time"/>
<xsd:element name="sundayStartTime" minOccurs="0" type="xsd:time"/>
<xsd:element name="thursdayEndTime" minOccurs="0" type="xsd:time"/>
<xsd:element name="thursdayStartTime" minOccurs="0" type="xsd:time"/>
<xsd:element name="timeZoneId" minOccurs="0" type="xsd:string"/>
<xsd:element name="tuesdayEndTime" minOccurs="0" type="xsd:time"/>
<xsd:element name="tuesdayStartTime" minOccurs="0" type="xsd:time"/>
<xsd:element name="wednesdayEndTime" minOccurs="0" type="xsd:time"/>
<xsd:element name="wednesdayStartTime" minOccurs="0" type="xsd:time"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="BusinessHoursSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="businessHours" minOccurs="0" maxOccurs="unbounded" type="tns:BusinessHoursEntry"/>
<xsd:element name="holidays" minOccurs="0" maxOccurs="unbounded" type="tns:Holiday"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Holiday">
<xsd:sequence>
<xsd:element name="activityDate" minOccurs="0" type="xsd:date"/>
<xsd:element name="businessHours" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="endTime" minOccurs="0" type="xsd:time"/>
<xsd:element name="isRecurring" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="name" minOccurs="0" type="xsd:string"/>
<xsd:element name="recurrenceDayOfMonth" minOccurs="0" type="xsd:int"/>
<xsd:element name="recurrenceDayOfWeek" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="recurrenceDayOfWeekMask" minOccurs="0" type="xsd:int"/>
<xsd:element name="recurrenceEndDate" minOccurs="0" type="xsd:date"/>
<xsd:element name="recurrenceInstance" minOccurs="0" type="xsd:string"/>
<xsd:element name="recurrenceInterval" minOccurs="0" type="xsd:int"/>
<xsd:element name="recurrenceMonthOfYear" minOccurs="0" type="xsd:string"/>
<xsd:element name="recurrenceStartDate" minOccurs="0" type="xsd:date"/>
<xsd:element name="recurrenceType" minOccurs="0" type="xsd:string"/>
<xsd:element name="startTime" minOccurs="0" type="xsd:time"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="BusinessProcess">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="isActive" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="values" minOccurs="0" maxOccurs="unbounded" type="tns:PicklistValue"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="PicklistValue">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="allowEmail" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="closed" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="color" minOccurs="0" type="xsd:string"/>
<xsd:element name="controllingFieldValues" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="converted" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="cssExposed" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="default" type="xsd:boolean"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="forecastCategory" minOccurs="0" type="tns:ForecastCategories"/>
<xsd:element name="highPriority" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="probability" minOccurs="0" type="xsd:int"/>
<xsd:element name="reverseRole" minOccurs="0" type="xsd:string"/>
<xsd:element name="reviewed" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="won" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="ForecastCategories">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Omitted"/>
<xsd:enumeration value="Pipeline"/>
<xsd:enumeration value="BestCase"/>
<xsd:enumeration value="Forecast"/>
<xsd:enumeration value="Closed"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CallCenter">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="adapterUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="customSettings" minOccurs="0" type="xsd:string"/>
<xsd:element name="displayName" type="xsd:string"/>
<xsd:element name="displayNameLabel" type="xsd:string"/>
<xsd:element name="internalNameLabel" type="xsd:string"/>
<xsd:element name="sections" minOccurs="0" maxOccurs="unbounded" type="tns:CallCenterSection"/>
<xsd:element name="version" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CallCenterSection">
<xsd:sequence>
<xsd:element name="items" minOccurs="0" maxOccurs="unbounded" type="tns:CallCenterItem"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CallCenterItem">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CaseSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="caseAssignNotificationTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="caseCloseNotificationTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="caseCommentNotificationTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="caseCreateNotificationTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="caseFeedItemSettings" minOccurs="0" maxOccurs="unbounded" type="tns:FeedItemSettings"/>
<xsd:element name="closeCaseThroughStatusChange" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="defaultCaseOwner" minOccurs="0" type="xsd:string"/>
<xsd:element name="defaultCaseOwnerType" minOccurs="0" type="xsd:string"/>
<xsd:element name="defaultCaseUser" minOccurs="0" type="xsd:string"/>
<xsd:element name="emailToCase" minOccurs="0" type="tns:EmailToCaseSettings"/>
<xsd:element name="enableCaseFeed" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableDraftEmails" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableEarlyEscalationRuleTriggers" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableNewEmailDefaultTemplate" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableSuggestedArticlesApplication" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableSuggestedArticlesCustomerPortal" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableSuggestedArticlesPartnerPortal" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableSuggestedSolutions" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="keepRecordTypeOnAssignmentRule" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="newEmailDefaultTemplateClass" minOccurs="0" type="xsd:string"/>
<xsd:element name="notifyContactOnCaseComment" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="notifyDefaultCaseOwner" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="notifyOwnerOnCaseComment" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="notifyOwnerOnCaseOwnerChange" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showFewerCloseActions" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="useSystemEmailAddress" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="webToCase" minOccurs="0" type="tns:WebToCaseSettings"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FeedItemSettings">
<xsd:sequence>
<xsd:element name="characterLimit" minOccurs="0" type="xsd:int"/>
<xsd:element name="collapseThread" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="displayFormat" minOccurs="0" type="tns:FeedItemDisplayFormat"/>
<xsd:element name="feedItemType" type="tns:FeedItemType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="FeedItemDisplayFormat">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Default"/>
<xsd:enumeration value="HideBlankLines"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="FeedItemType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="TrackedChange"/>
<xsd:enumeration value="UserStatus"/>
<xsd:enumeration value="TextPost"/>
<xsd:enumeration value="AdvancedTextPost"/>
<xsd:enumeration value="LinkPost"/>
<xsd:enumeration value="ContentPost"/>
<xsd:enumeration value="PollPost"/>
<xsd:enumeration value="RypplePost"/>
<xsd:enumeration value="ProfileSkillPost"/>
<xsd:enumeration value="DashboardComponentSnapshot"/>
<xsd:enumeration value="ApprovalPost"/>
<xsd:enumeration value="CaseCommentPost"/>
<xsd:enumeration value="ReplyPost"/>
<xsd:enumeration value="EmailMessageEvent"/>
<xsd:enumeration value="CallLogPost"/>
<xsd:enumeration value="ChangeStatusPost"/>
<xsd:enumeration value="AttachArticleEvent"/>
<xsd:enumeration value="MilestoneEvent"/>
<xsd:enumeration value="ActivityEvent"/>
<xsd:enumeration value="ChatTranscriptPost"/>
<xsd:enumeration value="CollaborationGroupCreated"/>
<xsd:enumeration value="CollaborationGroupUnarchived"/>
<xsd:enumeration value="SocialPost"/>
<xsd:enumeration value="QuestionPost"/>
<xsd:enumeration value="FacebookPost"/>
<xsd:enumeration value="BasicTemplateFeedItem"/>
<xsd:enumeration value="CreateRecordEvent"/>
<xsd:enumeration value="CanvasPost"/>
<xsd:enumeration value="AnnouncementPost"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="EmailToCaseSettings">
<xsd:sequence>
<xsd:element name="enableEmailToCase" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableHtmlEmail" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableOnDemandEmailToCase" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableThreadIDInBody" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableThreadIDInSubject" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="notifyOwnerOnNewCaseEmail" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="overEmailLimitAction" minOccurs="0" type="tns:EmailToCaseOnFailureActionType"/>
<xsd:element name="routingAddresses" minOccurs="0" maxOccurs="unbounded" type="tns:EmailToCaseRoutingAddress"/>
<xsd:element name="unauthorizedSenderAction" minOccurs="0" type="tns:EmailToCaseOnFailureActionType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="EmailToCaseOnFailureActionType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Bounce"/>
<xsd:enumeration value="Discard"/>
<xsd:enumeration value="Requeue"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="EmailToCaseRoutingAddress">
<xsd:sequence>
<xsd:element name="addressType" minOccurs="0" type="tns:EmailToCaseRoutingAddressType"/>
<xsd:element name="authorizedSenders" minOccurs="0" type="xsd:string"/>
<xsd:element name="caseOrigin" minOccurs="0" type="xsd:string"/>
<xsd:element name="caseOwner" minOccurs="0" type="xsd:string"/>
<xsd:element name="caseOwnerType" minOccurs="0" type="xsd:string"/>
<xsd:element name="casePriority" minOccurs="0" type="xsd:string"/>
<xsd:element name="createTask" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="emailAddress" minOccurs="0" type="xsd:string"/>
<xsd:element name="routingName" minOccurs="0" type="xsd:string"/>
<xsd:element name="saveEmailHeaders" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="taskStatus" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="EmailToCaseRoutingAddressType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="EmailToCase"/>
<xsd:enumeration value="Outlook"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="WebToCaseSettings">
<xsd:sequence>
<xsd:element name="caseOrigin" minOccurs="0" type="xsd:string"/>
<xsd:element name="defaultResponseTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="enableWebToCase" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ChannelLayout">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="enabledChannels" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="layoutItems" minOccurs="0" maxOccurs="unbounded" type="tns:ChannelLayoutItem"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ChannelLayoutItem">
<xsd:sequence>
<xsd:element name="field" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ChatterAnswersSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="emailFollowersOnBestAnswer" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="emailFollowersOnReply" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="emailOwnerOnPrivateReply" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="emailOwnerOnReply" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableAnswerViaEmail" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableChatterAnswers" type="xsd:boolean"/>
<xsd:element name="enableFacebookSSO" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableInlinePublisher" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableReputation" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableRichTextEditor" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="facebookAuthProvider" minOccurs="0" type="xsd:string"/>
<xsd:element name="showInPortals" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Community">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="active" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="communityFeedPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="emailFooterDocument" minOccurs="0" type="xsd:string"/>
<xsd:element name="emailHeaderDocument" minOccurs="0" type="xsd:string"/>
<xsd:element name="emailNotificationUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="enableChatterAnswers" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enablePrivateQuestions" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="expertsGroup" minOccurs="0" type="xsd:string"/>
<xsd:element name="portal" minOccurs="0" type="xsd:string"/>
<xsd:element name="reputationLevels" minOccurs="0" type="tns:ReputationLevels"/>
<xsd:element name="showInPortal" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="site" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ReputationLevels">
<xsd:sequence>
<xsd:element name="chatterAnswersReputationLevels" minOccurs="0" maxOccurs="unbounded" type="tns:ChatterAnswersReputationLevel"/>
<xsd:element name="ideaReputationLevels" minOccurs="0" maxOccurs="unbounded" type="tns:IdeaReputationLevel"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ChatterAnswersReputationLevel">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="IdeaReputationLevel">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CompactLayout">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="label" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CompanySettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="fiscalYear" minOccurs="0" type="tns:FiscalYearSettings"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FiscalYearSettings">
<xsd:sequence>
<xsd:element name="fiscalYearNameBasedOn" minOccurs="0" type="xsd:string"/>
<xsd:element name="startMonth" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ConnectedApp">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="attributes" minOccurs="0" maxOccurs="unbounded" type="tns:ConnectedAppAttribute"/>
<xsd:element name="canvasConfig" minOccurs="0" type="tns:ConnectedAppCanvasConfig"/>
<xsd:element name="contactEmail" type="xsd:string"/>
<xsd:element name="contactPhone" minOccurs="0" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="iconUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="infoUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="ipRanges" minOccurs="0" maxOccurs="unbounded" type="tns:ConnectedAppIpRange"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="logoUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="mobileAppConfig" minOccurs="0" type="tns:ConnectedAppMobileDetailConfig"/>
<xsd:element name="mobileStartUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="oauthConfig" minOccurs="0" type="tns:ConnectedAppOauthConfig"/>
<xsd:element name="samlConfig" minOccurs="0" type="tns:ConnectedAppSamlConfig"/>
<xsd:element name="startUrl" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ConnectedAppAttribute">
<xsd:sequence>
<xsd:element name="formula" type="xsd:string"/>
<xsd:element name="key" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ConnectedAppCanvasConfig">
<xsd:sequence>
<xsd:element name="accessMethod" type="tns:AccessMethod"/>
<xsd:element name="canvasUrl" type="xsd:string"/>
<xsd:element name="lifecycleClass" minOccurs="0" type="xsd:string"/>
<xsd:element name="locations" minOccurs="0" maxOccurs="unbounded" type="tns:CanvasLocationOptions"/>
<xsd:element name="options" minOccurs="0" maxOccurs="unbounded" type="tns:CanvasOptions"/>
<xsd:element name="samlInitiationMethod" minOccurs="0" type="tns:SamlInitiationMethod"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="AccessMethod">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Get"/>
<xsd:enumeration value="Post"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="CanvasLocationOptions">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="Chatter"/>
<xsd:enumeration value="UserProfile"/>
<xsd:enumeration value="Visualforce"/>
<xsd:enumeration value="Aura"/>
<xsd:enumeration value="Publisher"/>
<xsd:enumeration value="ChatterFeed"/>
<xsd:enumeration value="ServiceDesk"/>
<xsd:enumeration value="OpenCTI"/>
<xsd:enumeration value="AppLauncher"/>
<xsd:enumeration value="MobileNav"/>
<xsd:enumeration value="PageLayout"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="CanvasOptions">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="HideShare"/>
<xsd:enumeration value="HideHeader"/>
<xsd:enumeration value="PersonalEnabled"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="SamlInitiationMethod">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="IdpInitiated"/>
<xsd:enumeration value="SpInitiated"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ConnectedAppIpRange">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="end" type="xsd:string"/>
<xsd:element name="start" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ConnectedAppMobileDetailConfig">
<xsd:sequence>
<xsd:element name="applicationBinaryFile" minOccurs="0" type="xsd:base64Binary"/>
<xsd:element name="applicationBinaryFileName" minOccurs="0" type="xsd:string"/>
<xsd:element name="applicationBundleIdentifier" minOccurs="0" type="xsd:string"/>
<xsd:element name="applicationFileLength" minOccurs="0" type="xsd:int"/>
<xsd:element name="applicationIconFile" minOccurs="0" type="xsd:string"/>
<xsd:element name="applicationIconFileName" minOccurs="0" type="xsd:string"/>
<xsd:element name="applicationInstallUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="devicePlatform" type="tns:DevicePlatformType"/>
<xsd:element name="deviceType" minOccurs="0" type="tns:DeviceType"/>
<xsd:element name="minimumOsVersion" minOccurs="0" type="xsd:string"/>
<xsd:element name="privateApp" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="version" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="DevicePlatformType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ios"/>
<xsd:enumeration value="android"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="DeviceType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="phone"/>
<xsd:enumeration value="tablet"/>
<xsd:enumeration value="minitablet"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ConnectedAppOauthConfig">
<xsd:sequence>
<xsd:element name="callbackUrl" type="xsd:string"/>
<xsd:element name="certificate" minOccurs="0" type="xsd:string"/>
<xsd:element name="consumerKey" minOccurs="0" type="xsd:string"/>
<xsd:element name="consumerSecret" minOccurs="0" type="xsd:string"/>
<xsd:element name="scopes" minOccurs="0" maxOccurs="unbounded" type="tns:ConnectedAppOauthAccessScope"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ConnectedAppOauthAccessScope">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Basic"/>
<xsd:enumeration value="Api"/>
<xsd:enumeration value="Web"/>
<xsd:enumeration value="Full"/>
<xsd:enumeration value="Chatter"/>
<xsd:enumeration value="CustomApplications"/>
<xsd:enumeration value="RefreshToken"/>
<xsd:enumeration value="OpenID"/>
<xsd:enumeration value="Profile"/>
<xsd:enumeration value="Email"/>
<xsd:enumeration value="Address"/>
<xsd:enumeration value="Phone"/>
<xsd:enumeration value="OfflineAccess"/>
<xsd:enumeration value="CustomPermissions"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ConnectedAppSamlConfig">
<xsd:sequence>
<xsd:element name="acsUrl" type="xsd:string"/>
<xsd:element name="certificate" minOccurs="0" type="xsd:string"/>
<xsd:element name="encryptionCertificate" minOccurs="0" type="xsd:string"/>
<xsd:element name="encryptionType" minOccurs="0" type="tns:SamlEncryptionType"/>
<xsd:element name="entityUrl" type="xsd:string"/>
<xsd:element name="issuer" minOccurs="0" type="xsd:string"/>
<xsd:element name="samlNameIdFormat" minOccurs="0" type="tns:SamlNameIdFormatType"/>
<xsd:element name="samlSubjectCustomAttr" minOccurs="0" type="xsd:string"/>
<xsd:element name="samlSubjectType" type="tns:SamlSubjectType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="SamlEncryptionType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="AES_128"/>
<xsd:enumeration value="AES_256"/>
<xsd:enumeration value="Triple_Des"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="SamlNameIdFormatType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Unspecified"/>
<xsd:enumeration value="EmailAddress"/>
<xsd:enumeration value="Persistent"/>
<xsd:enumeration value="Transient"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="SamlSubjectType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Username"/>
<xsd:enumeration value="FederationId"/>
<xsd:enumeration value="UserId"/>
<xsd:enumeration value="SpokeId"/>
<xsd:enumeration value="CustomAttribute"/>
<xsd:enumeration value="PersistentId"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ContractSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="autoCalculateEndDate" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="autoExpirationDelay" minOccurs="0" type="xsd:string"/>
<xsd:element name="autoExpirationRecipient" minOccurs="0" type="xsd:string"/>
<xsd:element name="autoExpireContracts" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableContractHistoryTracking" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="notifyOwnersOnContractExpiration" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CorsWhitelistOrigin">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="urlPattern" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CustomApplication">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="customApplicationComponents" minOccurs="0" type="tns:CustomApplicationComponents"/>
<xsd:element name="defaultLandingTab" minOccurs="0" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="detailPageRefreshMethod" minOccurs="0" type="xsd:string"/>
<xsd:element name="domainWhitelist" minOccurs="0" type="tns:DomainWhitelist"/>
<xsd:element name="enableKeyboardShortcuts" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableMultiMonitorComponents" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="isServiceCloudConsole" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="keyboardShortcuts" minOccurs="0" type="tns:KeyboardShortcuts"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
<xsd:element name="listPlacement" minOccurs="0" type="tns:ListPlacement"/>
<xsd:element name="listRefreshMethod" minOccurs="0" type="xsd:string"/>
<xsd:element name="liveAgentConfig" minOccurs="0" type="tns:LiveAgentConfig"/>
<xsd:element name="logo" minOccurs="0" type="xsd:string"/>
<xsd:element name="pushNotifications" minOccurs="0" type="tns:PushNotifications"/>
<xsd:element name="saveUserSessions" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="tab" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="workspaceMappings" minOccurs="0" type="tns:WorkspaceMappings"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CustomApplicationComponents">
<xsd:sequence>
<xsd:element name="alignment" type="xsd:string"/>
<xsd:element name="customApplicationComponent" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DomainWhitelist">
<xsd:sequence>
<xsd:element name="domain" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="KeyboardShortcuts">
<xsd:sequence>
<xsd:element name="customShortcut" minOccurs="0" maxOccurs="unbounded" type="tns:CustomShortcut"/>
<xsd:element name="defaultShortcut" minOccurs="0" maxOccurs="unbounded" type="tns:DefaultShortcut"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomShortcut">
<xsd:complexContent>
<xsd:extension base="tns:DefaultShortcut">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="eventName" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="DefaultShortcut">
<xsd:sequence>
<xsd:element name="action" type="xsd:string"/>
<xsd:element name="active" type="xsd:boolean"/>
<xsd:element name="keyCommand" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ListPlacement">
<xsd:sequence>
<xsd:element name="height" minOccurs="0" type="xsd:int"/>
<xsd:element name="location" type="xsd:string"/>
<xsd:element name="units" minOccurs="0" type="xsd:string"/>
<xsd:element name="width" minOccurs="0" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LiveAgentConfig">
<xsd:sequence>
<xsd:element name="enableLiveChat" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="openNewAccountSubtab" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="openNewCaseSubtab" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="openNewContactSubtab" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="openNewLeadSubtab" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="openNewVFPageSubtab" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="pagesToOpen" minOccurs="0" type="tns:PagesToOpen"/>
<xsd:element name="showKnowledgeArticles" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PagesToOpen">
<xsd:sequence>
<xsd:element name="pageToOpen" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PushNotifications">
<xsd:sequence>
<xsd:element name="pushNotification" minOccurs="0" maxOccurs="unbounded" type="tns:PushNotification"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PushNotification">
<xsd:sequence>
<xsd:element name="fieldNames" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="objectName" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="WorkspaceMappings">
<xsd:sequence>
<xsd:element name="mapping" minOccurs="0" maxOccurs="unbounded" type="tns:WorkspaceMapping"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="WorkspaceMapping">
<xsd:sequence>
<xsd:element name="fieldName" minOccurs="0" type="xsd:string"/>
<xsd:element name="tab" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomApplicationComponent">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="buttonIconUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="buttonStyle" minOccurs="0" type="xsd:string"/>
<xsd:element name="buttonText" minOccurs="0" type="xsd:string"/>
<xsd:element name="buttonWidth" minOccurs="0" type="xsd:int"/>
<xsd:element name="height" minOccurs="0" type="xsd:int"/>
<xsd:element name="isHeightFixed" type="xsd:boolean"/>
<xsd:element name="isHidden" type="xsd:boolean"/>
<xsd:element name="isWidthFixed" type="xsd:boolean"/>
<xsd:element name="visualforcePage" type="xsd:string"/>
<xsd:element name="width" minOccurs="0" type="xsd:int"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CustomDataType">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="customDataTypeComponents" minOccurs="0" maxOccurs="unbounded" type="tns:CustomDataTypeComponent"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="displayFormula" minOccurs="0" type="xsd:string"/>
<xsd:element name="editComponentsOnSeparateLines" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="rightAligned" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="supportComponentsInReports" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CustomDataTypeComponent">
<xsd:sequence>
<xsd:element name="developerSuffix" type="xsd:string"/>
<xsd:element name="enforceFieldRequiredness" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="length" minOccurs="0" type="xsd:int"/>
<xsd:element name="precision" minOccurs="0" type="xsd:int"/>
<xsd:element name="scale" minOccurs="0" type="xsd:int"/>
<xsd:element name="sortOrder" minOccurs="0" type="tns:SortOrder"/>
<xsd:element name="sortPriority" minOccurs="0" type="xsd:int"/>
<xsd:element name="type" type="tns:FieldType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="SortOrder">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Asc"/>
<xsd:enumeration value="Desc"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="FieldType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="AutoNumber"/>
<xsd:enumeration value="Lookup"/>
<xsd:enumeration value="MasterDetail"/>
<xsd:enumeration value="Checkbox"/>
<xsd:enumeration value="Currency"/>
<xsd:enumeration value="Date"/>
<xsd:enumeration value="DateTime"/>
<xsd:enumeration value="Email"/>
<xsd:enumeration value="Number"/>
<xsd:enumeration value="Percent"/>
<xsd:enumeration value="Phone"/>
<xsd:enumeration value="Picklist"/>
<xsd:enumeration value="MultiselectPicklist"/>
<xsd:enumeration value="Text"/>
<xsd:enumeration value="TextArea"/>
<xsd:enumeration value="LongTextArea"/>
<xsd:enumeration value="Html"/>
<xsd:enumeration value="Url"/>
<xsd:enumeration value="EncryptedText"/>
<xsd:enumeration value="Summary"/>
<xsd:enumeration value="Hierarchy"/>
<xsd:enumeration value="File"/>
<xsd:enumeration value="CustomDataType"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CustomField">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="caseSensitive" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="customDataType" minOccurs="0" type="xsd:string"/>
<xsd:element name="defaultValue" minOccurs="0" type="xsd:string"/>
<xsd:element name="deleteConstraint" minOccurs="0" type="tns:DeleteConstraint"/>
<xsd:element name="deprecated" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="displayFormat" minOccurs="0" type="xsd:string"/>
<xsd:element name="escapeMarkup" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="externalDeveloperName" minOccurs="0" type="xsd:string"/>
<xsd:element name="externalId" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="formula" minOccurs="0" type="xsd:string"/>
<xsd:element name="formulaTreatBlanksAs" minOccurs="0" type="tns:TreatBlanksAs"/>
<xsd:element name="inlineHelpText" minOccurs="0" type="xsd:string"/>
<xsd:element name="isFilteringDisabled" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="isNameField" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="isSortingDisabled" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
<xsd:element name="length" minOccurs="0" type="xsd:int"/>
<xsd:element name="lookupFilter" minOccurs="0" type="tns:LookupFilter"/>
<xsd:element name="maskChar" minOccurs="0" type="tns:EncryptedFieldMaskChar"/>
<xsd:element name="maskType" minOccurs="0" type="tns:EncryptedFieldMaskType"/>
<xsd:element name="picklist" minOccurs="0" type="tns:Picklist"/>
<xsd:element name="populateExistingRows" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="precision" minOccurs="0" type="xsd:int"/>
<xsd:element name="referenceTargetField" minOccurs="0" type="xsd:string"/>
<xsd:element name="referenceTo" minOccurs="0" type="xsd:string"/>
<xsd:element name="relationshipLabel" minOccurs="0" type="xsd:string"/>
<xsd:element name="relationshipName" minOccurs="0" type="xsd:string"/>
<xsd:element name="relationshipOrder" minOccurs="0" type="xsd:int"/>
<xsd:element name="reparentableMasterDetail" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="required" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="restrictedAdminField" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="scale" minOccurs="0" type="xsd:int"/>
<xsd:element name="startingNumber" minOccurs="0" type="xsd:int"/>
<xsd:element name="stripMarkup" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="summarizedField" minOccurs="0" type="xsd:string"/>
<xsd:element name="summaryFilterItems" minOccurs="0" maxOccurs="unbounded" type="tns:FilterItem"/>
<xsd:element name="summaryForeignKey" minOccurs="0" type="xsd:string"/>
<xsd:element name="summaryOperation" minOccurs="0" type="tns:SummaryOperations"/>
<xsd:element name="trackFeedHistory" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="trackHistory" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="trackTrending" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="type" minOccurs="0" type="tns:FieldType"/>
<xsd:element name="unique" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="visibleLines" minOccurs="0" type="xsd:int"/>
<xsd:element name="writeRequiresMasterRead" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="DeleteConstraint">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Cascade"/>
<xsd:enumeration value="Restrict"/>
<xsd:enumeration value="SetNull"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="TreatBlanksAs">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="BlankAsBlank"/>
<xsd:enumeration value="BlankAsZero"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="LookupFilter">
<xsd:sequence>
<xsd:element name="active" type="xsd:boolean"/>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="errorMessage" minOccurs="0" type="xsd:string"/>
<xsd:element name="filterItems" minOccurs="0" maxOccurs="unbounded" type="tns:FilterItem"/>
<xsd:element name="infoMessage" minOccurs="0" type="xsd:string"/>
<xsd:element name="isOptional" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="EncryptedFieldMaskChar">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="asterisk"/>
<xsd:enumeration value="X"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="EncryptedFieldMaskType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="all"/>
<xsd:enumeration value="creditCard"/>
<xsd:enumeration value="ssn"/>
<xsd:enumeration value="lastFour"/>
<xsd:enumeration value="sin"/>
<xsd:enumeration value="nino"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="Picklist">
<xsd:sequence>
<xsd:element name="controllingField" minOccurs="0" type="xsd:string"/>
<xsd:element name="picklistValues" minOccurs="0" maxOccurs="unbounded" type="tns:PicklistValue"/>
<xsd:element name="sorted" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="SummaryOperations">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="count"/>
<xsd:enumeration value="sum"/>
<xsd:enumeration value="min"/>
<xsd:enumeration value="max"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CustomLabel">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="categories" minOccurs="0" type="xsd:string"/>
<xsd:element name="language" type="xsd:string"/>
<xsd:element name="protected" type="xsd:boolean"/>
<xsd:element name="shortDescription" type="xsd:string"/>
<xsd:element name="value" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CustomLabels">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="labels" minOccurs="0" maxOccurs="unbounded" type="tns:CustomLabel"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CustomMetadata">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
<xsd:element name="values" minOccurs="0" maxOccurs="unbounded" type="tns:CustomMetadataValue"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CustomMetadataValue">
<xsd:sequence>
<xsd:element name="field" type="xsd:string"/>
<xsd:element name="value" type="xsd:anyType" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomObject">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="actionOverrides" minOccurs="0" maxOccurs="unbounded" type="tns:ActionOverride"/>
<xsd:element name="articleTypeChannelDisplay" minOccurs="0" type="tns:ArticleTypeChannelDisplay"/>
<xsd:element name="businessProcesses" minOccurs="0" maxOccurs="unbounded" type="tns:BusinessProcess"/>
<xsd:element name="compactLayoutAssignment" minOccurs="0" type="xsd:string"/>
<xsd:element name="compactLayouts" minOccurs="0" maxOccurs="unbounded" type="tns:CompactLayout"/>
<xsd:element name="customHelp" minOccurs="0" type="xsd:string"/>
<xsd:element name="customHelpPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="customSettingsType" minOccurs="0" type="tns:CustomSettingsType"/>
<xsd:element name="customSettingsVisibility" minOccurs="0" type="tns:CustomSettingsVisibility"/>
<xsd:element name="deploymentStatus" minOccurs="0" type="tns:DeploymentStatus"/>
<xsd:element name="deprecated" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="enableActivities" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableBulkApi" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableDivisions" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableEnhancedLookup" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableFeeds" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableHistory" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableReports" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableSharing" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableStreamingApi" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="externalDataSource" minOccurs="0" type="xsd:string"/>
<xsd:element name="externalName" minOccurs="0" type="xsd:string"/>
<xsd:element name="externalRepository" minOccurs="0" type="xsd:string"/>
<xsd:element name="externalSharingModel" minOccurs="0" type="tns:SharingModel"/>
<xsd:element name="fieldSets" minOccurs="0" maxOccurs="unbounded" type="tns:FieldSet"/>
<xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="tns:CustomField"/>
<xsd:element name="gender" minOccurs="0" type="tns:Gender"/>
<xsd:element name="historyRetentionPolicy" minOccurs="0" type="tns:HistoryRetentionPolicy"/>
<xsd:element name="household" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
<xsd:element name="listViews" minOccurs="0" maxOccurs="unbounded" type="tns:ListView"/>
<xsd:element name="nameField" minOccurs="0" type="tns:CustomField"/>
<xsd:element name="pluralLabel" minOccurs="0" type="xsd:string"/>
<xsd:element name="recordTypeTrackFeedHistory" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="recordTypeTrackHistory" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="recordTypes" minOccurs="0" maxOccurs="unbounded" type="tns:RecordType"/>
<xsd:element name="searchLayouts" minOccurs="0" type="tns:SearchLayouts"/>
<xsd:element name="sharingModel" minOccurs="0" type="tns:SharingModel"/>
<xsd:element name="sharingReasons" minOccurs="0" maxOccurs="unbounded" type="tns:SharingReason"/>
<xsd:element name="sharingRecalculations" minOccurs="0" maxOccurs="unbounded" type="tns:SharingRecalculation"/>
<xsd:element name="startsWith" minOccurs="0" type="tns:StartsWith"/>
<xsd:element name="validationRules" minOccurs="0" maxOccurs="unbounded" type="tns:ValidationRule"/>
<xsd:element name="webLinks" minOccurs="0" maxOccurs="unbounded" type="tns:WebLink"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ActionOverride">
<xsd:sequence>
<xsd:element name="actionName" minOccurs="0" type="xsd:string"/>
<xsd:element name="comment" minOccurs="0" type="xsd:string"/>
<xsd:element name="content" minOccurs="0" type="xsd:string"/>
<xsd:element name="skipRecordTypeSelect" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="type" minOccurs="0" type="tns:ActionOverrideType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ActionOverrideType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Default"/>
<xsd:enumeration value="Standard"/>
<xsd:enumeration value="Scontrol"/>
<xsd:enumeration value="Visualforce"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ArticleTypeChannelDisplay">
<xsd:sequence>
<xsd:element name="articleTypeTemplates" minOccurs="0" maxOccurs="unbounded" type="tns:ArticleTypeTemplate"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArticleTypeTemplate">
<xsd:sequence>
<xsd:element name="channel" type="tns:Channel"/>
<xsd:element name="page" minOccurs="0" type="xsd:string"/>
<xsd:element name="template" type="tns:Template"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="Channel">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="AllChannels"/>
<xsd:enumeration value="App"/>
<xsd:enumeration value="Pkb"/>
<xsd:enumeration value="Csp"/>
<xsd:enumeration value="Prm"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Template">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Page"/>
<xsd:enumeration value="Tab"/>
<xsd:enumeration value="Toc"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="CustomSettingsType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="List"/>
<xsd:enumeration value="Hierarchy"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="CustomSettingsVisibility">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Protected"/>
<xsd:enumeration value="Public"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="DeploymentStatus">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="InDevelopment"/>
<xsd:enumeration value="Deployed"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="SharingModel">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Private"/>
<xsd:enumeration value="Read"/>
<xsd:enumeration value="ReadSelect"/>
<xsd:enumeration value="ReadWrite"/>
<xsd:enumeration value="ReadWriteTransfer"/>
<xsd:enumeration value="FullAccess"/>
<xsd:enumeration value="ControlledByParent"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FieldSet">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="availableFields" minOccurs="0" maxOccurs="unbounded" type="tns:FieldSetItem"/>
<xsd:element name="description" type="xsd:string"/>
<xsd:element name="displayedFields" minOccurs="0" maxOccurs="unbounded" type="tns:FieldSetItem"/>
<xsd:element name="label" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FieldSetItem">
<xsd:sequence>
<xsd:element name="field" minOccurs="0" type="xsd:string"/>
<xsd:element name="isFieldManaged" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="isRequired" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="Gender">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Neuter"/>
<xsd:enumeration value="Masculine"/>
<xsd:enumeration value="Feminine"/>
<xsd:enumeration value="AnimateMasculine"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="HistoryRetentionPolicy">
<xsd:sequence>
<xsd:element name="archiveAfterMonths" type="xsd:int"/>
<xsd:element name="archiveRetentionYears" type="xsd:int"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ListView">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="columns" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="division" minOccurs="0" type="xsd:string"/>
<xsd:element name="filterScope" type="tns:FilterScope"/>
<xsd:element name="filters" minOccurs="0" maxOccurs="unbounded" type="tns:ListViewFilter"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="language" minOccurs="0" type="tns:Language"/>
<xsd:element name="queue" minOccurs="0" type="xsd:string"/>
<xsd:element name="sharedTo" minOccurs="0" type="tns:SharedTo"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="FilterScope">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Everything"/>
<xsd:enumeration value="Mine"/>
<xsd:enumeration value="Queue"/>
<xsd:enumeration value="Delegated"/>
<xsd:enumeration value="MyTerritory"/>
<xsd:enumeration value="MyTeamTerritory"/>
<xsd:enumeration value="Team"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ListViewFilter">
<xsd:sequence>
<xsd:element name="field" type="xsd:string"/>
<xsd:element name="operation" type="tns:FilterOperation"/>
<xsd:element name="value" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="Language">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="en_US"/>
<xsd:enumeration value="de"/>
<xsd:enumeration value="es"/>
<xsd:enumeration value="fr"/>
<xsd:enumeration value="it"/>
<xsd:enumeration value="ja"/>
<xsd:enumeration value="sv"/>
<xsd:enumeration value="ko"/>
<xsd:enumeration value="zh_TW"/>
<xsd:enumeration value="zh_CN"/>
<xsd:enumeration value="pt_BR"/>
<xsd:enumeration value="nl_NL"/>
<xsd:enumeration value="da"/>
<xsd:enumeration value="th"/>
<xsd:enumeration value="fi"/>
<xsd:enumeration value="ru"/>
<xsd:enumeration value="es_MX"/>
<xsd:enumeration value="no"/>
<xsd:enumeration value="hu"/>
<xsd:enumeration value="pl"/>
<xsd:enumeration value="cs"/>
<xsd:enumeration value="tr"/>
<xsd:enumeration value="in"/>
<xsd:enumeration value="ro"/>
<xsd:enumeration value="vi"/>
<xsd:enumeration value="uk"/>
<xsd:enumeration value="iw"/>
<xsd:enumeration value="el"/>
<xsd:enumeration value="bg"/>
<xsd:enumeration value="en_GB"/>
<xsd:enumeration value="ar"/>
<xsd:enumeration value="sk"/>
<xsd:enumeration value="pt_PT"/>
<xsd:enumeration value="fr_CA"/>
<xsd:enumeration value="ka"/>
<xsd:enumeration value="sr"/>
<xsd:enumeration value="sh"/>
<xsd:enumeration value="en_AU"/>
<xsd:enumeration value="en_MY"/>
<xsd:enumeration value="en_IN"/>
<xsd:enumeration value="en_PH"/>
<xsd:enumeration value="en_CA"/>
<xsd:enumeration value="sl"/>
<xsd:enumeration value="ro_MD"/>
<xsd:enumeration value="hr"/>
<xsd:enumeration value="bs"/>
<xsd:enumeration value="mk"/>
<xsd:enumeration value="lv"/>
<xsd:enumeration value="lt"/>
<xsd:enumeration value="et"/>
<xsd:enumeration value="sq"/>
<xsd:enumeration value="sh_ME"/>
<xsd:enumeration value="mt"/>
<xsd:enumeration value="ga"/>
<xsd:enumeration value="eu"/>
<xsd:enumeration value="cy"/>
<xsd:enumeration value="is"/>
<xsd:enumeration value="ms"/>
<xsd:enumeration value="tl"/>
<xsd:enumeration value="lb"/>
<xsd:enumeration value="rm"/>
<xsd:enumeration value="hy"/>
<xsd:enumeration value="hi"/>
<xsd:enumeration value="ur"/>
<xsd:enumeration value="bn"/>
<xsd:enumeration value="de_AT"/>
<xsd:enumeration value="de_CH"/>
<xsd:enumeration value="ta"/>
<xsd:enumeration value="eo"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="RecordType">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="active" type="xsd:boolean"/>
<xsd:element name="businessProcess" minOccurs="0" type="xsd:string"/>
<xsd:element name="compactLayoutAssignment" minOccurs="0" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="picklistValues" minOccurs="0" maxOccurs="unbounded" type="tns:RecordTypePicklistValue"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="RecordTypePicklistValue">
<xsd:sequence>
<xsd:element name="picklist" type="xsd:string"/>
<xsd:element name="values" minOccurs="0" maxOccurs="unbounded" type="tns:PicklistValue"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SearchLayouts">
<xsd:sequence>
<xsd:element name="customTabListAdditionalFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="excludedStandardButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="listViewButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="lookupDialogsAdditionalFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="lookupFilterFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="lookupPhoneDialogsAdditionalFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="searchFilterFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="searchResultsAdditionalFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="searchResultsCustomButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SharingReason">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="SharingRecalculation">
<xsd:sequence>
<xsd:element name="className" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="StartsWith">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Consonant"/>
<xsd:enumeration value="Vowel"/>
<xsd:enumeration value="Special"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ValidationRule">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="active" type="xsd:boolean"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="errorConditionFormula" type="xsd:string"/>
<xsd:element name="errorDisplayField" minOccurs="0" type="xsd:string"/>
<xsd:element name="errorMessage" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="WebLink">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="availability" type="tns:WebLinkAvailability"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="displayType" type="tns:WebLinkDisplayType"/>
<xsd:element name="encodingKey" minOccurs="0" type="tns:Encoding"/>
<xsd:element name="hasMenubar" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="hasScrollbars" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="hasToolbar" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="height" minOccurs="0" type="xsd:int"/>
<xsd:element name="isResizable" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="linkType" type="tns:WebLinkType"/>
<xsd:element name="masterLabel" minOccurs="0" type="xsd:string"/>
<xsd:element name="openType" type="tns:WebLinkWindowType"/>
<xsd:element name="page" minOccurs="0" type="xsd:string"/>
<xsd:element name="position" minOccurs="0" type="tns:WebLinkPosition"/>
<xsd:element name="protected" type="xsd:boolean"/>
<xsd:element name="requireRowSelection" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="scontrol" minOccurs="0" type="xsd:string"/>
<xsd:element name="showsLocation" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showsStatus" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="url" minOccurs="0" type="xsd:string"/>
<xsd:element name="width" minOccurs="0" type="xsd:int"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="WebLinkAvailability">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="online"/>
<xsd:enumeration value="offline"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="WebLinkDisplayType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="link"/>
<xsd:enumeration value="button"/>
<xsd:enumeration value="massActionButton"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Encoding">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="UTF-8"/>
<xsd:enumeration value="ISO-8859-1"/>
<xsd:enumeration value="Shift_JIS"/>
<xsd:enumeration value="ISO-2022-JP"/>
<xsd:enumeration value="EUC-JP"/>
<xsd:enumeration value="ks_c_5601-1987"/>
<xsd:enumeration value="Big5"/>
<xsd:enumeration value="GB2312"/>
<xsd:enumeration value="Big5-HKSCS"/>
<xsd:enumeration value="x-SJIS_0213"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="WebLinkType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="url"/>
<xsd:enumeration value="sControl"/>
<xsd:enumeration value="javascript"/>
<xsd:enumeration value="page"/>
<xsd:enumeration value="flow"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="WebLinkWindowType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="newWindow"/>
<xsd:enumeration value="sidebar"/>
<xsd:enumeration value="noSidebar"/>
<xsd:enumeration value="replace"/>
<xsd:enumeration value="onClickJavaScript"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="WebLinkPosition">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="fullScreen"/>
<xsd:enumeration value="none"/>
<xsd:enumeration value="topLeft"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CustomObjectTranslation">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="caseValues" minOccurs="0" maxOccurs="unbounded" type="tns:ObjectNameCaseValue"/>
<xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="tns:CustomFieldTranslation"/>
<xsd:element name="gender" minOccurs="0" type="tns:Gender"/>
<xsd:element name="layouts" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutTranslation"/>
<xsd:element name="nameFieldLabel" minOccurs="0" type="xsd:string"/>
<xsd:element name="quickActions" minOccurs="0" maxOccurs="unbounded" type="tns:QuickActionTranslation"/>
<xsd:element name="recordTypes" minOccurs="0" maxOccurs="unbounded" type="tns:RecordTypeTranslation"/>
<xsd:element name="sharingReasons" minOccurs="0" maxOccurs="unbounded" type="tns:SharingReasonTranslation"/>
<xsd:element name="standardFields" minOccurs="0" maxOccurs="unbounded" type="tns:StandardFieldTranslation"/>
<xsd:element name="startsWith" minOccurs="0" type="tns:StartsWith"/>
<xsd:element name="validationRules" minOccurs="0" maxOccurs="unbounded" type="tns:ValidationRuleTranslation"/>
<xsd:element name="webLinks" minOccurs="0" maxOccurs="unbounded" type="tns:WebLinkTranslation"/>
<xsd:element name="workflowTasks" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowTaskTranslation"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ObjectNameCaseValue">
<xsd:sequence>
<xsd:element name="article" minOccurs="0" type="tns:Article"/>
<xsd:element name="caseType" minOccurs="0" type="tns:CaseType"/>
<xsd:element name="plural" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="possessive" minOccurs="0" type="tns:Possessive"/>
<xsd:element name="value" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="Article">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="Indefinite"/>
<xsd:enumeration value="Definite"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="CaseType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Nominative"/>
<xsd:enumeration value="Accusative"/>
<xsd:enumeration value="Genitive"/>
<xsd:enumeration value="Dative"/>
<xsd:enumeration value="Inessive"/>
<xsd:enumeration value="Elative"/>
<xsd:enumeration value="Illative"/>
<xsd:enumeration value="Adessive"/>
<xsd:enumeration value="Ablative"/>
<xsd:enumeration value="Allative"/>
<xsd:enumeration value="Essive"/>
<xsd:enumeration value="Translative"/>
<xsd:enumeration value="Partitive"/>
<xsd:enumeration value="Objective"/>
<xsd:enumeration value="Subjective"/>
<xsd:enumeration value="Instrumental"/>
<xsd:enumeration value="Prepositional"/>
<xsd:enumeration value="Locative"/>
<xsd:enumeration value="Vocative"/>
<xsd:enumeration value="Sublative"/>
<xsd:enumeration value="Superessive"/>
<xsd:enumeration value="Delative"/>
<xsd:enumeration value="Causalfinal"/>
<xsd:enumeration value="Essiveformal"/>
<xsd:enumeration value="Termanative"/>
<xsd:enumeration value="Distributive"/>
<xsd:enumeration value="Ergative"/>
<xsd:enumeration value="Adverbial"/>
<xsd:enumeration value="Abessive"/>
<xsd:enumeration value="Comitative"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Possessive">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="First"/>
<xsd:enumeration value="Second"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CustomFieldTranslation">
<xsd:sequence>
<xsd:element name="caseValues" minOccurs="0" maxOccurs="unbounded" type="tns:ObjectNameCaseValue"/>
<xsd:element name="gender" minOccurs="0" type="tns:Gender"/>
<xsd:element name="help" minOccurs="0" type="xsd:string"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
<xsd:element name="lookupFilter" minOccurs="0" type="tns:LookupFilterTranslation"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="picklistValues" minOccurs="0" maxOccurs="unbounded" type="tns:PicklistValueTranslation"/>
<xsd:element name="relationshipLabel" minOccurs="0" type="xsd:string"/>
<xsd:element name="startsWith" minOccurs="0" type="tns:StartsWith"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LookupFilterTranslation">
<xsd:sequence>
<xsd:element name="errorMessage" type="xsd:string"/>
<xsd:element name="informationalMessage" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PicklistValueTranslation">
<xsd:sequence>
<xsd:element name="masterLabel" type="xsd:string"/>
<xsd:element name="translation" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LayoutTranslation">
<xsd:sequence>
<xsd:element name="layout" type="xsd:string"/>
<xsd:element name="layoutType" minOccurs="0" type="xsd:string"/>
<xsd:element name="sections" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutSectionTranslation"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LayoutSectionTranslation">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="section" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="QuickActionTranslation">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RecordTypeTranslation">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SharingReasonTranslation">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="StandardFieldTranslation">
<xsd:sequence>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ValidationRuleTranslation">
<xsd:sequence>
<xsd:element name="errorMessage" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="WebLinkTranslation">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="WorkflowTaskTranslation">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="subject" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomPageWebLink">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="availability" type="tns:WebLinkAvailability"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="displayType" type="tns:WebLinkDisplayType"/>
<xsd:element name="encodingKey" minOccurs="0" type="tns:Encoding"/>
<xsd:element name="hasMenubar" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="hasScrollbars" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="hasToolbar" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="height" minOccurs="0" type="xsd:int"/>
<xsd:element name="isResizable" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="linkType" type="tns:WebLinkType"/>
<xsd:element name="masterLabel" minOccurs="0" type="xsd:string"/>
<xsd:element name="openType" type="tns:WebLinkWindowType"/>
<xsd:element name="page" minOccurs="0" type="xsd:string"/>
<xsd:element name="position" minOccurs="0" type="tns:WebLinkPosition"/>
<xsd:element name="protected" type="xsd:boolean"/>
<xsd:element name="requireRowSelection" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="scontrol" minOccurs="0" type="xsd:string"/>
<xsd:element name="showsLocation" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showsStatus" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="url" minOccurs="0" type="xsd:string"/>
<xsd:element name="width" minOccurs="0" type="xsd:int"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CustomPermission">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="connectedApp" minOccurs="0" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="requiredPermission" minOccurs="0" maxOccurs="unbounded" type="tns:CustomPermissionDependencyRequired"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CustomPermissionDependencyRequired">
<xsd:sequence>
<xsd:element name="customPermission" type="xsd:string"/>
<xsd:element name="dependency" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomSite">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="active" type="xsd:boolean"/>
<xsd:element name="allowHomePage" type="xsd:boolean"/>
<xsd:element name="allowStandardAnswersPages" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="allowStandardIdeasPages" type="xsd:boolean"/>
<xsd:element name="allowStandardLookups" type="xsd:boolean"/>
<xsd:element name="allowStandardSearch" type="xsd:boolean"/>
<xsd:element name="analyticsTrackingCode" minOccurs="0" type="xsd:string"/>
<xsd:element name="authorizationRequiredPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="bandwidthExceededPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="changePasswordPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="chatterAnswersForgotPasswordConfirmPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="chatterAnswersForgotPasswordPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="chatterAnswersHelpPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="chatterAnswersLoginPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="chatterAnswersRegistrationPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="clickjackProtectionLevel" type="tns:SiteClickjackProtectionLevel"/>
<xsd:element name="customWebAddresses" minOccurs="0" maxOccurs="unbounded" type="tns:SiteWebAddress"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="favoriteIcon" minOccurs="0" type="xsd:string"/>
<xsd:element name="fileNotFoundPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="genericErrorPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="guestProfile" minOccurs="0" type="xsd:string"/>
<xsd:element name="inMaintenancePage" minOccurs="0" type="xsd:string"/>
<xsd:element name="inactiveIndexPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="indexPage" type="xsd:string"/>
<xsd:element name="masterLabel" type="xsd:string"/>
<xsd:element name="myProfilePage" minOccurs="0" type="xsd:string"/>
<xsd:element name="portal" minOccurs="0" type="xsd:string"/>
<xsd:element name="requireHttps" type="xsd:boolean"/>
<xsd:element name="requireInsecurePortalAccess" type="xsd:boolean"/>
<xsd:element name="robotsTxtPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="rootComponent" minOccurs="0" type="xsd:string"/>
<xsd:element name="selfRegPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="serverIsDown" minOccurs="0" type="xsd:string"/>
<xsd:element name="siteAdmin" minOccurs="0" type="xsd:string"/>
<xsd:element name="siteRedirectMappings" minOccurs="0" maxOccurs="unbounded" type="tns:SiteRedirectMapping"/>
<xsd:element name="siteTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="siteType" type="tns:SiteType"/>
<xsd:element name="subdomain" minOccurs="0" type="xsd:string"/>
<xsd:element name="urlPathPrefix" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="SiteClickjackProtectionLevel">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="AllowAllFraming"/>
<xsd:enumeration value="SameOriginOnly"/>
<xsd:enumeration value="NoFraming"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="SiteWebAddress">
<xsd:sequence>
<xsd:element name="certificate" minOccurs="0" type="xsd:string"/>
<xsd:element name="domainName" type="xsd:string"/>
<xsd:element name="primary" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SiteRedirectMapping">
<xsd:sequence>
<xsd:element name="action" type="tns:SiteRedirect"/>
<xsd:element name="isActive" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="source" type="xsd:string"/>
<xsd:element name="target" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="SiteRedirect">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Permanent"/>
<xsd:enumeration value="Temporary"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="SiteType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Siteforce"/>
<xsd:enumeration value="Visualforce"/>
<xsd:enumeration value="User"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="CustomTab">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="auraComponent" minOccurs="0" type="xsd:string"/>
<xsd:element name="customObject" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="flexiPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="frameHeight" minOccurs="0" type="xsd:int"/>
<xsd:element name="hasSidebar" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="icon" minOccurs="0" type="xsd:string"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
<xsd:element name="mobileReady" type="xsd:boolean"/>
<xsd:element name="motif" type="xsd:string"/>
<xsd:element name="page" minOccurs="0" type="xsd:string"/>
<xsd:element name="scontrol" minOccurs="0" type="xsd:string"/>
<xsd:element name="splashPageLink" minOccurs="0" type="xsd:string"/>
<xsd:element name="url" minOccurs="0" type="xsd:string"/>
<xsd:element name="urlEncodingKey" minOccurs="0" type="tns:Encoding"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Dashboard">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="backgroundEndColor" type="xsd:string"/>
<xsd:element name="backgroundFadeDirection" type="tns:ChartBackgroundDirection"/>
<xsd:element name="backgroundStartColor" type="xsd:string"/>
<xsd:element name="dashboardFilters" minOccurs="0" maxOccurs="unbounded" type="tns:DashboardFilter"/>
<xsd:element name="dashboardResultRefreshedDate" minOccurs="0" type="xsd:string"/>
<xsd:element name="dashboardResultRunningUser" minOccurs="0" type="xsd:string"/>
<xsd:element name="dashboardType" minOccurs="0" type="tns:DashboardType"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="leftSection" type="tns:DashboardComponentSection"/>
<xsd:element name="middleSection" minOccurs="0" type="tns:DashboardComponentSection"/>
<xsd:element name="rightSection" type="tns:DashboardComponentSection"/>
<xsd:element name="runningUser" minOccurs="0" type="xsd:string"/>
<xsd:element name="textColor" type="xsd:string"/>
<xsd:element name="title" type="xsd:string"/>
<xsd:element name="titleColor" type="xsd:string"/>
<xsd:element name="titleSize" type="xsd:int"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="ChartBackgroundDirection">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="TopToBottom"/>
<xsd:enumeration value="LeftToRight"/>
<xsd:enumeration value="Diagonal"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="DashboardFilter">
<xsd:sequence>
<xsd:element name="dashboardFilterOptions" minOccurs="0" maxOccurs="unbounded" type="tns:DashboardFilterOption"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DashboardFilterOption">
<xsd:sequence>
<xsd:element name="operator" type="tns:DashboardFilterOperation"/>
<xsd:element name="values" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="DashboardFilterOperation">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="equals"/>
<xsd:enumeration value="notEqual"/>
<xsd:enumeration value="lessThan"/>
<xsd:enumeration value="greaterThan"/>
<xsd:enumeration value="lessOrEqual"/>
<xsd:enumeration value="greaterOrEqual"/>
<xsd:enumeration value="contains"/>
<xsd:enumeration value="notContain"/>
<xsd:enumeration value="startsWith"/>
<xsd:enumeration value="includes"/>
<xsd:enumeration value="excludes"/>
<xsd:enumeration value="between"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="DashboardType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="SpecifiedUser"/>
<xsd:enumeration value="LoggedInUser"/>
<xsd:enumeration value="MyTeamUser"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="DashboardComponentSection">
<xsd:sequence>
<xsd:element name="columnSize" type="tns:DashboardComponentSize"/>
<xsd:element name="components" minOccurs="0" maxOccurs="unbounded" type="tns:DashboardComponent"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="DashboardComponentSize">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Narrow"/>
<xsd:enumeration value="Medium"/>
<xsd:enumeration value="Wide"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="DashboardComponent">
<xsd:sequence>
<xsd:element name="autoselectColumnsFromReport" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="chartAxisRange" minOccurs="0" type="tns:ChartRangeType"/>
<xsd:element name="chartAxisRangeMax" minOccurs="0" type="xsd:double"/>
<xsd:element name="chartAxisRangeMin" minOccurs="0" type="xsd:double"/>
<xsd:element name="chartSummary" minOccurs="0" maxOccurs="unbounded" type="tns:ChartSummary"/>
<xsd:element name="componentType" type="tns:DashboardComponentType"/>
<xsd:element name="dashboardFilterColumns" minOccurs="0" maxOccurs="unbounded" type="tns:DashboardFilterColumn"/>
<xsd:element name="dashboardTableColumn" minOccurs="0" maxOccurs="unbounded" type="tns:DashboardTableColumn"/>
<xsd:element name="displayUnits" minOccurs="0" type="tns:ChartUnits"/>
<xsd:element name="drillDownUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="drillEnabled" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="drillToDetailEnabled" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableHover" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="expandOthers" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="footer" minOccurs="0" type="xsd:string"/>
<xsd:element name="gaugeMax" minOccurs="0" type="xsd:double"/>
<xsd:element name="gaugeMin" minOccurs="0" type="xsd:double"/>
<xsd:element name="groupingColumn" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="header" minOccurs="0" type="xsd:string"/>
<xsd:element name="indicatorBreakpoint1" minOccurs="0" type="xsd:double"/>
<xsd:element name="indicatorBreakpoint2" minOccurs="0" type="xsd:double"/>
<xsd:element name="indicatorHighColor" minOccurs="0" type="xsd:string"/>
<xsd:element name="indicatorLowColor" minOccurs="0" type="xsd:string"/>
<xsd:element name="indicatorMiddleColor" minOccurs="0" type="xsd:string"/>
<xsd:element name="legendPosition" minOccurs="0" type="tns:ChartLegendPosition"/>
<xsd:element name="maxValuesDisplayed" minOccurs="0" type="xsd:int"/>
<xsd:element name="metricLabel" minOccurs="0" type="xsd:string"/>
<xsd:element name="page" minOccurs="0" type="xsd:string"/>
<xsd:element name="pageHeightInPixels" minOccurs="0" type="xsd:int"/>
<xsd:element name="report" minOccurs="0" type="xsd:string"/>
<xsd:element name="scontrol" minOccurs="0" type="xsd:string"/>
<xsd:element name="scontrolHeightInPixels" minOccurs="0" type="xsd:int"/>
<xsd:element name="showPercentage" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showPicturesOnCharts" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showPicturesOnTables" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showTotal" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showValues" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="sortBy" minOccurs="0" type="tns:DashboardComponentFilter"/>
<xsd:element name="title" minOccurs="0" type="xsd:string"/>
<xsd:element name="useReportChart" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ChartRangeType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Auto"/>
<xsd:enumeration value="Manual"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ChartSummary">
<xsd:sequence>
<xsd:element name="aggregate" minOccurs="0" type="tns:ReportSummaryType"/>
<xsd:element name="axisBinding" minOccurs="0" type="tns:ChartAxis"/>
<xsd:element name="column" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ChartAxis">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="x"/>
<xsd:enumeration value="y"/>
<xsd:enumeration value="y2"/>
<xsd:enumeration value="r"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="DashboardComponentType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Bar"/>
<xsd:enumeration value="BarGrouped"/>
<xsd:enumeration value="BarStacked"/>
<xsd:enumeration value="BarStacked100"/>
<xsd:enumeration value="Column"/>
<xsd:enumeration value="ColumnGrouped"/>
<xsd:enumeration value="ColumnStacked"/>
<xsd:enumeration value="ColumnStacked100"/>
<xsd:enumeration value="Line"/>
<xsd:enumeration value="LineGrouped"/>
<xsd:enumeration value="Pie"/>
<xsd:enumeration value="Table"/>
<xsd:enumeration value="Metric"/>
<xsd:enumeration value="Gauge"/>
<xsd:enumeration value="LineCumulative"/>
<xsd:enumeration value="LineGroupedCumulative"/>
<xsd:enumeration value="Scontrol"/>
<xsd:enumeration value="VisualforcePage"/>
<xsd:enumeration value="Donut"/>
<xsd:enumeration value="Funnel"/>
<xsd:enumeration value="ColumnLine"/>
<xsd:enumeration value="ColumnLineGrouped"/>
<xsd:enumeration value="ColumnLineStacked"/>
<xsd:enumeration value="ColumnLineStacked100"/>
<xsd:enumeration value="Scatter"/>
<xsd:enumeration value="ScatterGrouped"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="DashboardFilterColumn">
<xsd:sequence>
<xsd:element name="column" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DashboardTableColumn">
<xsd:sequence>
<xsd:element name="aggregateType" minOccurs="0" type="tns:ReportSummaryType"/>
<xsd:element name="calculatePercent" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="column" type="xsd:string"/>
<xsd:element name="decimalPlaces" minOccurs="0" type="xsd:int"/>
<xsd:element name="showTotal" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="sortBy" minOccurs="0" type="tns:DashboardComponentFilter"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="DashboardComponentFilter">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="RowLabelAscending"/>
<xsd:enumeration value="RowLabelDescending"/>
<xsd:enumeration value="RowValueAscending"/>
<xsd:enumeration value="RowValueDescending"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ChartUnits">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Auto"/>
<xsd:enumeration value="Integer"/>
<xsd:enumeration value="Hundreds"/>
<xsd:enumeration value="Thousands"/>
<xsd:enumeration value="Millions"/>
<xsd:enumeration value="Billions"/>
<xsd:enumeration value="Trillions"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ChartLegendPosition">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Right"/>
<xsd:enumeration value="Bottom"/>
<xsd:enumeration value="OnChart"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="DataCategoryGroup">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="active" type="xsd:boolean"/>
<xsd:element name="dataCategory" type="tns:DataCategory"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="objectUsage" minOccurs="0" type="tns:ObjectUsage"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="DataCategory">
<xsd:sequence>
<xsd:element name="dataCategory" minOccurs="0" maxOccurs="unbounded" type="tns:DataCategory"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ObjectUsage">
<xsd:sequence>
<xsd:element name="object" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="EntitlementProcess">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="active" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="businessHours" minOccurs="0" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="entryStartDateField" minOccurs="0" type="xsd:string"/>
<xsd:element name="exitCriteriaBooleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="exitCriteriaFilterItems" minOccurs="0" maxOccurs="unbounded" type="tns:FilterItem"/>
<xsd:element name="exitCriteriaFormula" minOccurs="0" type="xsd:string"/>
<xsd:element name="isVersionDefault" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="milestones" minOccurs="0" maxOccurs="unbounded" type="tns:EntitlementProcessMilestoneItem"/>
<xsd:element name="name" minOccurs="0" type="xsd:string"/>
<xsd:element name="versionMaster" minOccurs="0" type="xsd:string"/>
<xsd:element name="versionNotes" minOccurs="0" type="xsd:string"/>
<xsd:element name="versionNumber" minOccurs="0" type="xsd:int"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="EntitlementProcessMilestoneItem">
<xsd:sequence>
<xsd:element name="businessHours" minOccurs="0" type="xsd:string"/>
<xsd:element name="criteriaBooleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="milestoneCriteriaFilterItems" minOccurs="0" maxOccurs="unbounded" type="tns:FilterItem"/>
<xsd:element name="milestoneCriteriaFormula" minOccurs="0" type="xsd:string"/>
<xsd:element name="milestoneName" minOccurs="0" type="xsd:string"/>
<xsd:element name="minutesCustomClass" minOccurs="0" type="xsd:string"/>
<xsd:element name="minutesToComplete" minOccurs="0" type="xsd:int"/>
<xsd:element name="successActions" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowActionReference"/>
<xsd:element name="timeTriggers" minOccurs="0" maxOccurs="unbounded" type="tns:EntitlementProcessMilestoneTimeTrigger"/>
<xsd:element name="useCriteriaStartTime" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="EntitlementProcessMilestoneTimeTrigger">
<xsd:sequence>
<xsd:element name="actions" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowActionReference"/>
<xsd:element name="timeLength" minOccurs="0" type="xsd:int"/>
<xsd:element name="workflowTimeTriggerUnit" type="tns:MilestoneTimeUnits"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="MilestoneTimeUnits">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Minutes"/>
<xsd:enumeration value="Hours"/>
<xsd:enumeration value="Days"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="EntitlementSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="assetLookupLimitedToActiveEntitlementsOnAccount" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="assetLookupLimitedToActiveEntitlementsOnContact" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="assetLookupLimitedToSameAccount" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="assetLookupLimitedToSameContact" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableEntitlementVersioning" type="xsd:boolean"/>
<xsd:element name="enableEntitlements" type="xsd:boolean"/>
<xsd:element name="entitlementLookupLimitedToActiveStatus" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="entitlementLookupLimitedToSameAccount" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="entitlementLookupLimitedToSameAsset" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="entitlementLookupLimitedToSameContact" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="EntitlementTemplate">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="businessHours" minOccurs="0" type="xsd:string"/>
<xsd:element name="casesPerEntitlement" minOccurs="0" type="xsd:int"/>
<xsd:element name="entitlementProcess" minOccurs="0" type="xsd:string"/>
<xsd:element name="isPerIncident" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="term" minOccurs="0" type="xsd:int"/>
<xsd:element name="type" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="EscalationRule">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="active" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="ruleEntry" minOccurs="0" maxOccurs="unbounded" type="tns:RuleEntry"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="EscalationRules">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="escalationRule" minOccurs="0" maxOccurs="unbounded" type="tns:EscalationRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ExternalDataSource">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="apiKey" minOccurs="0" type="xsd:string"/>
<xsd:element name="authProvider" minOccurs="0" type="xsd:string"/>
<xsd:element name="certificate" minOccurs="0" type="xsd:string"/>
<xsd:element name="customConfiguration" minOccurs="0" type="xsd:string"/>
<xsd:element name="endpoint" minOccurs="0" type="xsd:string"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="oauthRefreshToken" minOccurs="0" type="xsd:string"/>
<xsd:element name="oauthScope" minOccurs="0" type="xsd:string"/>
<xsd:element name="oauthToken" minOccurs="0" type="xsd:string"/>
<xsd:element name="password" minOccurs="0" type="xsd:string"/>
<xsd:element name="principalType" type="tns:ExternalPrincipalType"/>
<xsd:element name="protocol" type="tns:AuthenticationProtocol"/>
<xsd:element name="repository" minOccurs="0" type="xsd:string"/>
<xsd:element name="type" type="tns:ExternalDataSourceType"/>
<xsd:element name="username" minOccurs="0" type="xsd:string"/>
<xsd:element name="version" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="ExternalPrincipalType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Anonymous"/>
<xsd:enumeration value="PerUser"/>
<xsd:enumeration value="NamedUser"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="AuthenticationProtocol">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="NoAuthentication"/>
<xsd:enumeration value="Oauth"/>
<xsd:enumeration value="Password"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ExternalDataSourceType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Identity"/>
<xsd:enumeration value="OData"/>
<xsd:enumeration value="Limits"/>
<xsd:enumeration value="SimpleURL"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FlexiPage">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="flexiPageRegions" minOccurs="0" maxOccurs="unbounded" type="tns:FlexiPageRegion"/>
<xsd:element name="masterLabel" type="xsd:string"/>
<xsd:element name="quickActionList" minOccurs="0" type="tns:QuickActionList"/>
<xsd:element name="type" type="tns:FlexiPageType"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlexiPageRegion">
<xsd:sequence>
<xsd:element name="componentInstances" minOccurs="0" maxOccurs="unbounded" type="tns:ComponentInstance"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ComponentInstance">
<xsd:sequence>
<xsd:element name="componentInstanceProperties" minOccurs="0" maxOccurs="unbounded" type="tns:ComponentInstanceProperty"/>
<xsd:element name="componentName" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ComponentInstanceProperty">
<xsd:sequence>
<xsd:element name="name" minOccurs="0" type="xsd:string"/>
<xsd:element name="value" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="QuickActionList">
<xsd:sequence>
<xsd:element name="quickActionListItems" minOccurs="0" maxOccurs="unbounded" type="tns:QuickActionListItem"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="QuickActionListItem">
<xsd:sequence>
<xsd:element name="quickActionName" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="FlexiPageType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="AppPage"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="Flow">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="actionCalls" minOccurs="0" maxOccurs="unbounded" type="tns:FlowActionCall"/>
<xsd:element name="apexPluginCalls" minOccurs="0" maxOccurs="unbounded" type="tns:FlowApexPluginCall"/>
<xsd:element name="assignments" minOccurs="0" maxOccurs="unbounded" type="tns:FlowAssignment"/>
<xsd:element name="choices" minOccurs="0" maxOccurs="unbounded" type="tns:FlowChoice"/>
<xsd:element name="constants" minOccurs="0" maxOccurs="unbounded" type="tns:FlowConstant"/>
<xsd:element name="decisions" minOccurs="0" maxOccurs="unbounded" type="tns:FlowDecision"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="dynamicChoiceSets" minOccurs="0" maxOccurs="unbounded" type="tns:FlowDynamicChoiceSet"/>
<xsd:element name="formulas" minOccurs="0" maxOccurs="unbounded" type="tns:FlowFormula"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="loops" minOccurs="0" maxOccurs="unbounded" type="tns:FlowLoop"/>
<xsd:element name="processMetadataValues" minOccurs="0" maxOccurs="unbounded" type="tns:FlowMetadataValue"/>
<xsd:element name="processType" minOccurs="0" type="tns:FlowProcessType"/>
<xsd:element name="recordCreates" minOccurs="0" maxOccurs="unbounded" type="tns:FlowRecordCreate"/>
<xsd:element name="recordDeletes" minOccurs="0" maxOccurs="unbounded" type="tns:FlowRecordDelete"/>
<xsd:element name="recordLookups" minOccurs="0" maxOccurs="unbounded" type="tns:FlowRecordLookup"/>
<xsd:element name="recordUpdates" minOccurs="0" maxOccurs="unbounded" type="tns:FlowRecordUpdate"/>
<xsd:element name="screens" minOccurs="0" maxOccurs="unbounded" type="tns:FlowScreen"/>
<xsd:element name="startElementReference" minOccurs="0" type="xsd:string"/>
<xsd:element name="steps" minOccurs="0" maxOccurs="unbounded" type="tns:FlowStep"/>
<xsd:element name="subflows" minOccurs="0" maxOccurs="unbounded" type="tns:FlowSubflow"/>
<xsd:element name="textTemplates" minOccurs="0" maxOccurs="unbounded" type="tns:FlowTextTemplate"/>
<xsd:element name="variables" minOccurs="0" maxOccurs="unbounded" type="tns:FlowVariable"/>
<xsd:element name="waits" minOccurs="0" maxOccurs="unbounded" type="tns:FlowWait"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowActionCall">
<xsd:complexContent>
<xsd:extension base="tns:FlowNode">
<xsd:sequence>
<xsd:element name="actionName" type="xsd:string"/>
<xsd:element name="actionType" type="tns:InvocableActionType"/>
<xsd:element name="connector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="faultConnector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="inputParameters" minOccurs="0" maxOccurs="unbounded" type="tns:FlowActionCallInputParameter"/>
<xsd:element name="outputParameters" minOccurs="0" maxOccurs="unbounded" type="tns:FlowActionCallOutputParameter"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowNode">
<xsd:complexContent>
<xsd:extension base="tns:FlowElement">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="locationX" type="xsd:int"/>
<xsd:element name="locationY" type="xsd:int"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowElement">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowBaseElement">
<xsd:sequence>
<xsd:element name="processMetadataValues" minOccurs="0" maxOccurs="unbounded" type="tns:FlowMetadataValue"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FlowMetadataValue">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" minOccurs="0" type="tns:FlowElementReferenceOrValue"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FlowElementReferenceOrValue">
<xsd:sequence>
<xsd:element name="booleanValue" minOccurs="0" type="xsd:boolean" nillable="true"/>
<xsd:element name="dateTimeValue" minOccurs="0" type="xsd:dateTime"/>
<xsd:element name="dateValue" minOccurs="0" type="xsd:date"/>
<xsd:element name="elementReference" minOccurs="0" type="xsd:string"/>
<xsd:element name="numberValue" minOccurs="0" type="xsd:double" nillable="true"/>
<xsd:element name="stringValue" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FlowActionCallInputParameter">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" minOccurs="0" type="tns:FlowElementReferenceOrValue"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowActionCallOutputParameter">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="assignToReference" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowApexPluginCallInputParameter">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" minOccurs="0" type="tns:FlowElementReferenceOrValue"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowApexPluginCallOutputParameter">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="assignToReference" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowAssignmentItem">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="assignToReference" type="xsd:string"/>
<xsd:element name="operator" type="tns:FlowAssignmentOperator"/>
<xsd:element name="value" minOccurs="0" type="tns:FlowElementReferenceOrValue"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="FlowAssignmentOperator">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Assign"/>
<xsd:enumeration value="Add"/>
<xsd:enumeration value="Subtract"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FlowChoiceUserInput">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="isRequired" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="promptText" minOccurs="0" type="xsd:string"/>
<xsd:element name="validationRule" minOccurs="0" type="tns:FlowInputValidationRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowInputValidationRule">
<xsd:sequence>
<xsd:element name="errorMessage" type="xsd:string"/>
<xsd:element name="formulaExpression" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FlowCondition">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="leftValueReference" type="xsd:string"/>
<xsd:element name="operator" type="tns:FlowComparisonOperator"/>
<xsd:element name="rightValue" minOccurs="0" type="tns:FlowElementReferenceOrValue"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="FlowComparisonOperator">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="EqualTo"/>
<xsd:enumeration value="NotEqualTo"/>
<xsd:enumeration value="GreaterThan"/>
<xsd:enumeration value="LessThan"/>
<xsd:enumeration value="GreaterThanOrEqualTo"/>
<xsd:enumeration value="LessThanOrEqualTo"/>
<xsd:enumeration value="StartsWith"/>
<xsd:enumeration value="EndsWith"/>
<xsd:enumeration value="Contains"/>
<xsd:enumeration value="IsNull"/>
<xsd:enumeration value="WasSet"/>
<xsd:enumeration value="WasSelected"/>
<xsd:enumeration value="WasVisited"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FlowConnector">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="targetReference" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowInputFieldAssignment">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="field" type="xsd:string"/>
<xsd:element name="value" minOccurs="0" type="tns:FlowElementReferenceOrValue"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowOutputFieldAssignment">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="assignToReference" type="xsd:string"/>
<xsd:element name="field" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowRecordFilter">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="field" type="xsd:string"/>
<xsd:element name="operator" type="tns:FlowRecordFilterOperator"/>
<xsd:element name="value" minOccurs="0" type="tns:FlowElementReferenceOrValue"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="FlowRecordFilterOperator">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="EqualTo"/>
<xsd:enumeration value="NotEqualTo"/>
<xsd:enumeration value="GreaterThan"/>
<xsd:enumeration value="LessThan"/>
<xsd:enumeration value="GreaterThanOrEqualTo"/>
<xsd:enumeration value="LessThanOrEqualTo"/>
<xsd:enumeration value="StartsWith"/>
<xsd:enumeration value="EndsWith"/>
<xsd:enumeration value="Contains"/>
<xsd:enumeration value="IsNull"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FlowSubflowInputAssignment">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" minOccurs="0" type="tns:FlowElementReferenceOrValue"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowSubflowOutputAssignment">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="assignToReference" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowWaitEventInputParameter">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" minOccurs="0" type="tns:FlowElementReferenceOrValue"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowWaitEventOutputParameter">
<xsd:complexContent>
<xsd:extension base="tns:FlowBaseElement">
<xsd:sequence>
<xsd:element name="assignToReference" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowChoice">
<xsd:complexContent>
<xsd:extension base="tns:FlowElement">
<xsd:sequence>
<xsd:element name="choiceText" type="xsd:string"/>
<xsd:element name="dataType" type="tns:FlowDataType"/>
<xsd:element name="userInput" minOccurs="0" type="tns:FlowChoiceUserInput"/>
<xsd:element name="value" minOccurs="0" type="tns:FlowElementReferenceOrValue"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="FlowDataType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Currency"/>
<xsd:enumeration value="Date"/>
<xsd:enumeration value="Number"/>
<xsd:enumeration value="String"/>
<xsd:enumeration value="Boolean"/>
<xsd:enumeration value="SObject"/>
<xsd:enumeration value="DateTime"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FlowConstant">
<xsd:complexContent>
<xsd:extension base="tns:FlowElement">
<xsd:sequence>
<xsd:element name="dataType" type="tns:FlowDataType"/>
<xsd:element name="value" minOccurs="0" type="tns:FlowElementReferenceOrValue"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowDynamicChoiceSet">
<xsd:complexContent>
<xsd:extension base="tns:FlowElement">
<xsd:sequence>
<xsd:element name="dataType" type="tns:FlowDataType"/>
<xsd:element name="displayField" type="xsd:string"/>
<xsd:element name="filters" minOccurs="0" maxOccurs="unbounded" type="tns:FlowRecordFilter"/>
<xsd:element name="limit" minOccurs="0" type="xsd:int"/>
<xsd:element name="object" type="xsd:string"/>
<xsd:element name="outputAssignments" minOccurs="0" maxOccurs="unbounded" type="tns:FlowOutputFieldAssignment"/>
<xsd:element name="sortField" minOccurs="0" type="xsd:string"/>
<xsd:element name="sortOrder" minOccurs="0" type="tns:SortOrder"/>
<xsd:element name="valueField" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowFormula">
<xsd:complexContent>
<xsd:extension base="tns:FlowElement">
<xsd:sequence>
<xsd:element name="dataType" minOccurs="0" type="tns:FlowDataType"/>
<xsd:element name="expression" type="xsd:string"/>
<xsd:element name="scale" minOccurs="0" type="xsd:int"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowRule">
<xsd:complexContent>
<xsd:extension base="tns:FlowElement">
<xsd:sequence>
<xsd:element name="conditionLogic" type="xsd:string"/>
<xsd:element name="conditions" minOccurs="0" maxOccurs="unbounded" type="tns:FlowCondition"/>
<xsd:element name="connector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="label" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowScreenField">
<xsd:complexContent>
<xsd:extension base="tns:FlowElement">
<xsd:sequence>
<xsd:element name="choiceReferences" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="dataType" minOccurs="0" type="tns:FlowDataType"/>
<xsd:element name="defaultSelectedChoiceReference" minOccurs="0" type="xsd:string"/>
<xsd:element name="defaultValue" minOccurs="0" type="tns:FlowElementReferenceOrValue"/>
<xsd:element name="fieldText" minOccurs="0" type="xsd:string"/>
<xsd:element name="fieldType" type="tns:FlowScreenFieldType"/>
<xsd:element name="helpText" minOccurs="0" type="xsd:string"/>
<xsd:element name="isRequired" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="scale" minOccurs="0" type="xsd:int"/>
<xsd:element name="validationRule" minOccurs="0" type="tns:FlowInputValidationRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="FlowScreenFieldType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="DisplayText"/>
<xsd:enumeration value="InputField"/>
<xsd:enumeration value="LargeTextArea"/>
<xsd:enumeration value="PasswordField"/>
<xsd:enumeration value="RadioButtons"/>
<xsd:enumeration value="DropdownBox"/>
<xsd:enumeration value="MultiSelectCheckboxes"/>
<xsd:enumeration value="MultiSelectPicklist"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FlowTextTemplate">
<xsd:complexContent>
<xsd:extension base="tns:FlowElement">
<xsd:sequence>
<xsd:element name="text" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowVariable">
<xsd:complexContent>
<xsd:extension base="tns:FlowElement">
<xsd:sequence>
<xsd:element name="dataType" type="tns:FlowDataType"/>
<xsd:element name="isCollection" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="isInput" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="isOutput" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="objectType" minOccurs="0" type="xsd:string"/>
<xsd:element name="scale" minOccurs="0" type="xsd:int"/>
<xsd:element name="value" minOccurs="0" type="tns:FlowElementReferenceOrValue"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowWaitEvent">
<xsd:complexContent>
<xsd:extension base="tns:FlowElement">
<xsd:sequence>
<xsd:element name="conditionLogic" minOccurs="0" type="xsd:string"/>
<xsd:element name="conditions" minOccurs="0" maxOccurs="unbounded" type="tns:FlowCondition"/>
<xsd:element name="connector" type="tns:FlowConnector"/>
<xsd:element name="eventType" type="xsd:string"/>
<xsd:element name="inputParameters" minOccurs="0" maxOccurs="unbounded" type="tns:FlowWaitEventInputParameter"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="outputParameters" minOccurs="0" maxOccurs="unbounded" type="tns:FlowWaitEventOutputParameter"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowApexPluginCall">
<xsd:complexContent>
<xsd:extension base="tns:FlowNode">
<xsd:sequence>
<xsd:element name="apexClass" type="xsd:string"/>
<xsd:element name="connector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="faultConnector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="inputParameters" minOccurs="0" maxOccurs="unbounded" type="tns:FlowApexPluginCallInputParameter"/>
<xsd:element name="outputParameters" minOccurs="0" maxOccurs="unbounded" type="tns:FlowApexPluginCallOutputParameter"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowAssignment">
<xsd:complexContent>
<xsd:extension base="tns:FlowNode">
<xsd:sequence>
<xsd:element name="assignmentItems" minOccurs="0" maxOccurs="unbounded" type="tns:FlowAssignmentItem"/>
<xsd:element name="connector" minOccurs="0" type="tns:FlowConnector"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowDecision">
<xsd:complexContent>
<xsd:extension base="tns:FlowNode">
<xsd:sequence>
<xsd:element name="defaultConnector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="defaultConnectorLabel" minOccurs="0" type="xsd:string"/>
<xsd:element name="rules" minOccurs="0" maxOccurs="unbounded" type="tns:FlowRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowLoop">
<xsd:complexContent>
<xsd:extension base="tns:FlowNode">
<xsd:sequence>
<xsd:element name="assignNextValueToReference" type="xsd:string"/>
<xsd:element name="collectionReference" type="xsd:string"/>
<xsd:element name="iterationOrder" minOccurs="0" type="tns:IterationOrder"/>
<xsd:element name="nextValueConnector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="noMoreValuesConnector" minOccurs="0" type="tns:FlowConnector"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="IterationOrder">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Asc"/>
<xsd:enumeration value="Desc"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FlowRecordCreate">
<xsd:complexContent>
<xsd:extension base="tns:FlowNode">
<xsd:sequence>
<xsd:element name="assignRecordIdToReference" minOccurs="0" type="xsd:string"/>
<xsd:element name="connector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="faultConnector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="inputAssignments" minOccurs="0" maxOccurs="unbounded" type="tns:FlowInputFieldAssignment"/>
<xsd:element name="inputReference" minOccurs="0" type="xsd:string"/>
<xsd:element name="object" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowRecordDelete">
<xsd:complexContent>
<xsd:extension base="tns:FlowNode">
<xsd:sequence>
<xsd:element name="connector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="faultConnector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="filters" minOccurs="0" maxOccurs="unbounded" type="tns:FlowRecordFilter"/>
<xsd:element name="inputReference" minOccurs="0" type="xsd:string"/>
<xsd:element name="object" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowRecordLookup">
<xsd:complexContent>
<xsd:extension base="tns:FlowNode">
<xsd:sequence>
<xsd:element name="assignNullValuesIfNoRecordsFound" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="connector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="faultConnector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="filters" minOccurs="0" maxOccurs="unbounded" type="tns:FlowRecordFilter"/>
<xsd:element name="object" type="xsd:string"/>
<xsd:element name="outputAssignments" minOccurs="0" maxOccurs="unbounded" type="tns:FlowOutputFieldAssignment"/>
<xsd:element name="outputReference" minOccurs="0" type="xsd:string"/>
<xsd:element name="queriedFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="sortField" minOccurs="0" type="xsd:string"/>
<xsd:element name="sortOrder" minOccurs="0" type="tns:SortOrder"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowRecordUpdate">
<xsd:complexContent>
<xsd:extension base="tns:FlowNode">
<xsd:sequence>
<xsd:element name="connector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="faultConnector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="filters" minOccurs="0" maxOccurs="unbounded" type="tns:FlowRecordFilter"/>
<xsd:element name="inputAssignments" minOccurs="0" maxOccurs="unbounded" type="tns:FlowInputFieldAssignment"/>
<xsd:element name="inputReference" minOccurs="0" type="xsd:string"/>
<xsd:element name="object" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowScreen">
<xsd:complexContent>
<xsd:extension base="tns:FlowNode">
<xsd:sequence>
<xsd:element name="allowBack" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="allowFinish" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="connector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="tns:FlowScreenField"/>
<xsd:element name="helpText" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowStep">
<xsd:complexContent>
<xsd:extension base="tns:FlowNode">
<xsd:sequence>
<xsd:element name="connectors" minOccurs="0" maxOccurs="unbounded" type="tns:FlowConnector"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowSubflow">
<xsd:complexContent>
<xsd:extension base="tns:FlowNode">
<xsd:sequence>
<xsd:element name="connector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="flowName" type="xsd:string"/>
<xsd:element name="inputAssignments" minOccurs="0" maxOccurs="unbounded" type="tns:FlowSubflowInputAssignment"/>
<xsd:element name="outputAssignments" minOccurs="0" maxOccurs="unbounded" type="tns:FlowSubflowOutputAssignment"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FlowWait">
<xsd:complexContent>
<xsd:extension base="tns:FlowNode">
<xsd:sequence>
<xsd:element name="defaultConnector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="defaultConnectorLabel" type="xsd:string"/>
<xsd:element name="faultConnector" minOccurs="0" type="tns:FlowConnector"/>
<xsd:element name="waitEvents" minOccurs="0" maxOccurs="unbounded" type="tns:FlowWaitEvent"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="InvocableActionType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="quickAction"/>
<xsd:enumeration value="submit"/>
<xsd:enumeration value="chatterPost"/>
<xsd:enumeration value="emailSimple"/>
<xsd:enumeration value="emailAlert"/>
<xsd:enumeration value="flow"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="FlowProcessType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="AutoLaunchedFlow"/>
<xsd:enumeration value="Flow"/>
<xsd:enumeration value="Workflow"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="Folder">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="accessType" minOccurs="0" type="tns:FolderAccessTypes"/>
<xsd:element name="folderShares" minOccurs="0" maxOccurs="unbounded" type="tns:FolderShare"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="publicFolderAccess" minOccurs="0" type="tns:PublicFolderAccess"/>
<xsd:element name="sharedTo" minOccurs="0" type="tns:SharedTo"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="FolderAccessTypes">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Shared"/>
<xsd:enumeration value="Public"/>
<xsd:enumeration value="Hidden"/>
<xsd:enumeration value="PublicInternal"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FolderShare">
<xsd:sequence>
<xsd:element name="accessLevel" type="tns:FolderShareAccessLevel"/>
<xsd:element name="sharedTo" type="xsd:string"/>
<xsd:element name="sharedToType" type="tns:FolderSharedToType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="FolderShareAccessLevel">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="View"/>
<xsd:enumeration value="EditAllContents"/>
<xsd:enumeration value="Manage"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="FolderSharedToType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Group"/>
<xsd:enumeration value="Role"/>
<xsd:enumeration value="RoleAndSubordinates"/>
<xsd:enumeration value="RoleAndSubordinatesInternal"/>
<xsd:enumeration value="Manager"/>
<xsd:enumeration value="ManagerAndSubordinatesInternal"/>
<xsd:enumeration value="Organization"/>
<xsd:enumeration value="Territory"/>
<xsd:enumeration value="TerritoryAndSubordinates"/>
<xsd:enumeration value="AllPrmUsers"/>
<xsd:enumeration value="User"/>
<xsd:enumeration value="PartnerUser"/>
<xsd:enumeration value="AllCspUsers"/>
<xsd:enumeration value="CustomerPortalUser"/>
<xsd:enumeration value="PortalRole"/>
<xsd:enumeration value="PortalRoleAndSubordinates"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="PublicFolderAccess">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ReadOnly"/>
<xsd:enumeration value="ReadWrite"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="DashboardFolder">
<xsd:complexContent>
<xsd:extension base="tns:Folder">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="DocumentFolder">
<xsd:complexContent>
<xsd:extension base="tns:Folder">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="EmailFolder">
<xsd:complexContent>
<xsd:extension base="tns:Folder">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ReportFolder">
<xsd:complexContent>
<xsd:extension base="tns:Folder">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ForecastingSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="displayCurrency" minOccurs="0" type="tns:DisplayCurrency"/>
<xsd:element name="enableForecasts" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="forecastingTypeSettings" minOccurs="0" maxOccurs="unbounded" type="tns:ForecastingTypeSettings"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="DisplayCurrency">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="CORPORATE"/>
<xsd:enumeration value="PERSONAL"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ForecastingTypeSettings">
<xsd:sequence>
<xsd:element name="active" type="xsd:boolean"/>
<xsd:element name="adjustmentsSettings" type="tns:AdjustmentsSettings"/>
<xsd:element name="forecastRangeSettings" type="tns:ForecastRangeSettings"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="opportunityListFieldsSelectedSettings" type="tns:OpportunityListFieldsSelectedSettings"/>
<xsd:element name="quotasSettings" type="tns:QuotasSettings"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AdjustmentsSettings">
<xsd:sequence>
<xsd:element name="enableAdjustments" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ForecastRangeSettings">
<xsd:sequence>
<xsd:element name="beginning" type="xsd:int"/>
<xsd:element name="displaying" type="xsd:int"/>
<xsd:element name="periodType" type="tns:PeriodTypes"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="PeriodTypes">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Month"/>
<xsd:enumeration value="Quarter"/>
<xsd:enumeration value="Week"/>
<xsd:enumeration value="Year"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="OpportunityListFieldsSelectedSettings">
<xsd:sequence>
<xsd:element name="field" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="QuotasSettings">
<xsd:sequence>
<xsd:element name="showQuotas" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Group">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="doesIncludeBosses" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="HomePageComponent">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="body" minOccurs="0" type="xsd:string"/>
<xsd:element name="height" minOccurs="0" type="xsd:int"/>
<xsd:element name="links" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="page" minOccurs="0" type="xsd:string"/>
<xsd:element name="pageComponentType" type="tns:PageComponentType"/>
<xsd:element name="showLabel" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showScrollbars" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="width" minOccurs="0" type="tns:PageComponentWidth"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="PageComponentType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="links"/>
<xsd:enumeration value="htmlArea"/>
<xsd:enumeration value="imageOrNote"/>
<xsd:enumeration value="visualforcePage"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="PageComponentWidth">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="narrow"/>
<xsd:enumeration value="wide"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="HomePageLayout">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="narrowComponents" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="wideComponents" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="IdeasSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="enableChatterProfile" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableIdeaThemes" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableIdeas" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableIdeasReputation" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="halfLife" minOccurs="0" type="xsd:double"/>
<xsd:element name="ideasProfilePage" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="InstalledPackage">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="password" minOccurs="0" type="xsd:string"/>
<xsd:element name="versionNumber" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="KnowledgeSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="answers" minOccurs="0" type="tns:KnowledgeAnswerSettings"/>
<xsd:element name="cases" minOccurs="0" type="tns:KnowledgeCaseSettings"/>
<xsd:element name="defaultLanguage" minOccurs="0" type="xsd:string"/>
<xsd:element name="enableChatterQuestionKBDeflection" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableCreateEditOnArticlesTab" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableExternalMediaContent" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableKnowledge" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="languages" minOccurs="0" type="tns:KnowledgeLanguageSettings"/>
<xsd:element name="showArticleSummariesCustomerPortal" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showArticleSummariesInternalApp" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showArticleSummariesPartnerPortal" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showValidationStatusField" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="KnowledgeAnswerSettings">
<xsd:sequence>
<xsd:element name="assignTo" minOccurs="0" type="xsd:string"/>
<xsd:element name="defaultArticleType" minOccurs="0" type="xsd:string"/>
<xsd:element name="enableArticleCreation" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="KnowledgeCaseSettings">
<xsd:sequence>
<xsd:element name="articlePDFCreationProfile" minOccurs="0" type="xsd:string"/>
<xsd:element name="articlePublicSharingSites" minOccurs="0" type="tns:KnowledgeSitesSettings"/>
<xsd:element name="articlePublicSharingSitesChatterAnswers" minOccurs="0" type="tns:KnowledgeSitesSettings"/>
<xsd:element name="assignTo" minOccurs="0" type="xsd:string"/>
<xsd:element name="customizationClass" minOccurs="0" type="xsd:string"/>
<xsd:element name="defaultContributionArticleType" minOccurs="0" type="xsd:string"/>
<xsd:element name="editor" minOccurs="0" type="tns:KnowledgeCaseEditor"/>
<xsd:element name="enableArticleCreation" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableArticlePublicSharingSites" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="useProfileForPDFCreation" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="KnowledgeSitesSettings">
<xsd:sequence>
<xsd:element name="site" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="KnowledgeCaseEditor">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="simple"/>
<xsd:enumeration value="standard"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="KnowledgeLanguageSettings">
<xsd:sequence>
<xsd:element name="language" minOccurs="0" maxOccurs="unbounded" type="tns:KnowledgeLanguage"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="KnowledgeLanguage">
<xsd:sequence>
<xsd:element name="active" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="defaultAssignee" minOccurs="0" type="xsd:string"/>
<xsd:element name="defaultAssigneeType" minOccurs="0" type="tns:KnowledgeLanguageLookupValueType"/>
<xsd:element name="defaultReviewer" minOccurs="0" type="xsd:string"/>
<xsd:element name="defaultReviewerType" minOccurs="0" type="tns:KnowledgeLanguageLookupValueType"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="KnowledgeLanguageLookupValueType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="User"/>
<xsd:enumeration value="Queue"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="Layout">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="customButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="customConsoleComponents" minOccurs="0" type="tns:CustomConsoleComponents"/>
<xsd:element name="emailDefault" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="excludeButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="feedLayout" minOccurs="0" type="tns:FeedLayout"/>
<xsd:element name="headers" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutHeader"/>
<xsd:element name="layoutSections" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutSection"/>
<xsd:element name="miniLayout" minOccurs="0" type="tns:MiniLayout"/>
<xsd:element name="multilineLayoutFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="quickActionList" minOccurs="0" type="tns:QuickActionList"/>
<xsd:element name="relatedContent" minOccurs="0" type="tns:RelatedContent"/>
<xsd:element name="relatedLists" minOccurs="0" maxOccurs="unbounded" type="tns:RelatedListItem"/>
<xsd:element name="relatedObjects" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="runAssignmentRulesDefault" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showEmailCheckbox" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showHighlightsPanel" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showInteractionLogPanel" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showKnowledgeComponent" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showRunAssignmentRulesCheckbox" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showSolutionSection" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showSubmitAndAttachButton" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="summaryLayout" minOccurs="0" type="tns:SummaryLayout"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CustomConsoleComponents">
<xsd:sequence>
<xsd:element name="primaryTabComponents" minOccurs="0" type="tns:PrimaryTabComponents"/>
<xsd:element name="subtabComponents" minOccurs="0" type="tns:SubtabComponents"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PrimaryTabComponents">
<xsd:sequence>
<xsd:element name="containers" minOccurs="0" maxOccurs="unbounded" type="tns:Container"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Container">
<xsd:sequence>
<xsd:element name="height" minOccurs="0" type="xsd:int"/>
<xsd:element name="isContainerAutoSizeEnabled" type="xsd:boolean"/>
<xsd:element name="region" type="xsd:string"/>
<xsd:element name="sidebarComponents" minOccurs="0" maxOccurs="unbounded" type="tns:SidebarComponent"/>
<xsd:element name="style" type="xsd:string"/>
<xsd:element name="unit" type="xsd:string"/>
<xsd:element name="width" minOccurs="0" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SidebarComponent">
<xsd:sequence>
<xsd:element name="componentType" type="xsd:string"/>
<xsd:element name="height" minOccurs="0" type="xsd:int"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
<xsd:element name="lookup" minOccurs="0" type="xsd:string"/>
<xsd:element name="page" minOccurs="0" type="xsd:string"/>
<xsd:element name="relatedLists" minOccurs="0" maxOccurs="unbounded" type="tns:RelatedList"/>
<xsd:element name="unit" minOccurs="0" type="xsd:string"/>
<xsd:element name="width" minOccurs="0" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RelatedList">
<xsd:sequence>
<xsd:element name="hideOnDetail" type="xsd:boolean"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SubtabComponents">
<xsd:sequence>
<xsd:element name="containers" minOccurs="0" maxOccurs="unbounded" type="tns:Container"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FeedLayout">
<xsd:sequence>
<xsd:element name="autocollapsePublisher" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="compactFeed" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="feedFilterPosition" minOccurs="0" type="tns:FeedLayoutFilterPosition"/>
<xsd:element name="feedFilters" minOccurs="0" maxOccurs="unbounded" type="tns:FeedLayoutFilter"/>
<xsd:element name="fullWidthFeed" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="hideSidebar" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="leftComponents" minOccurs="0" maxOccurs="unbounded" type="tns:FeedLayoutComponent"/>
<xsd:element name="rightComponents" minOccurs="0" maxOccurs="unbounded" type="tns:FeedLayoutComponent"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="FeedLayoutFilterPosition">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="CenterDropDown"/>
<xsd:enumeration value="LeftFixed"/>
<xsd:enumeration value="LeftFloat"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FeedLayoutFilter">
<xsd:sequence>
<xsd:element name="feedFilterType" type="tns:FeedLayoutFilterType"/>
<xsd:element name="feedItemType" minOccurs="0" type="tns:FeedItemType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="FeedLayoutFilterType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="AllUpdates"/>
<xsd:enumeration value="FeedItemType"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FeedLayoutComponent">
<xsd:sequence>
<xsd:element name="componentType" type="tns:FeedLayoutComponentType"/>
<xsd:element name="height" minOccurs="0" type="xsd:int"/>
<xsd:element name="page" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="FeedLayoutComponentType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="HelpAndToolLinks"/>
<xsd:enumeration value="CustomButtons"/>
<xsd:enumeration value="Following"/>
<xsd:enumeration value="Followers"/>
<xsd:enumeration value="CustomLinks"/>
<xsd:enumeration value="Milestones"/>
<xsd:enumeration value="Topics"/>
<xsd:enumeration value="Visualforce"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="LayoutHeader">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="PersonalTagging"/>
<xsd:enumeration value="PublicTagging"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="LayoutSection">
<xsd:sequence>
<xsd:element name="customLabel" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="detailHeading" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="editHeading" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
<xsd:element name="layoutColumns" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutColumn"/>
<xsd:element name="style" type="tns:LayoutSectionStyle"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LayoutColumn">
<xsd:sequence>
<xsd:element name="layoutItems" minOccurs="0" maxOccurs="unbounded" type="tns:LayoutItem"/>
<xsd:element name="reserved" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LayoutItem">
<xsd:sequence>
<xsd:element name="behavior" minOccurs="0" type="tns:UiBehavior"/>
<xsd:element name="canvas" minOccurs="0" type="xsd:string"/>
<xsd:element name="component" minOccurs="0" type="xsd:string"/>
<xsd:element name="customLink" minOccurs="0" type="xsd:string"/>
<xsd:element name="emptySpace" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="field" minOccurs="0" type="xsd:string"/>
<xsd:element name="height" minOccurs="0" type="xsd:int"/>
<xsd:element name="page" minOccurs="0" type="xsd:string"/>
<xsd:element name="reportChartComponent" minOccurs="0" type="tns:ReportChartComponentLayoutItem"/>
<xsd:element name="scontrol" minOccurs="0" type="xsd:string"/>
<xsd:element name="showLabel" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showScrollbars" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="width" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="UiBehavior">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Edit"/>
<xsd:enumeration value="Required"/>
<xsd:enumeration value="Readonly"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ReportChartComponentLayoutItem">
<xsd:sequence>
<xsd:element name="cacheData" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="contextFilterableField" minOccurs="0" type="xsd:string"/>
<xsd:element name="error" minOccurs="0" type="xsd:string"/>
<xsd:element name="hideOnError" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="includeContext" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="reportName" type="xsd:string"/>
<xsd:element name="showTitle" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="size" minOccurs="0" type="tns:ReportChartComponentSize"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ReportChartComponentSize">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="SMALL"/>
<xsd:enumeration value="MEDIUM"/>
<xsd:enumeration value="LARGE"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="LayoutSectionStyle">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="TwoColumnsTopToBottom"/>
<xsd:enumeration value="TwoColumnsLeftToRight"/>
<xsd:enumeration value="OneColumn"/>
<xsd:enumeration value="CustomLinks"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="MiniLayout">
<xsd:sequence>
<xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="relatedLists" minOccurs="0" maxOccurs="unbounded" type="tns:RelatedListItem"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RelatedListItem">
<xsd:sequence>
<xsd:element name="customButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="excludeButtons" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="relatedList" type="xsd:string"/>
<xsd:element name="sortField" minOccurs="0" type="xsd:string"/>
<xsd:element name="sortOrder" minOccurs="0" type="tns:SortOrder"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RelatedContent">
<xsd:sequence>
<xsd:element name="relatedContentItems" minOccurs="0" maxOccurs="unbounded" type="tns:RelatedContentItem"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RelatedContentItem">
<xsd:sequence>
<xsd:element name="layoutItem" type="tns:LayoutItem"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SummaryLayout">
<xsd:sequence>
<xsd:element name="masterLabel" type="xsd:string"/>
<xsd:element name="sizeX" type="xsd:int"/>
<xsd:element name="sizeY" minOccurs="0" type="xsd:int"/>
<xsd:element name="sizeZ" minOccurs="0" type="xsd:int"/>
<xsd:element name="summaryLayoutItems" minOccurs="0" maxOccurs="unbounded" type="tns:SummaryLayoutItem"/>
<xsd:element name="summaryLayoutStyle" type="tns:SummaryLayoutStyle"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SummaryLayoutItem">
<xsd:sequence>
<xsd:element name="customLink" minOccurs="0" type="xsd:string"/>
<xsd:element name="field" minOccurs="0" type="xsd:string"/>
<xsd:element name="posX" type="xsd:int"/>
<xsd:element name="posY" minOccurs="0" type="xsd:int"/>
<xsd:element name="posZ" minOccurs="0" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="SummaryLayoutStyle">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Default"/>
<xsd:enumeration value="QuoteTemplate"/>
<xsd:enumeration value="DefaultQuoteTemplate"/>
<xsd:enumeration value="CaseInteraction"/>
<xsd:enumeration value="QuickActionLayoutLeftRight"/>
<xsd:enumeration value="QuickActionLayoutTopDown"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="Letterhead">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="available" type="xsd:boolean"/>
<xsd:element name="backgroundColor" type="xsd:string"/>
<xsd:element name="bodyColor" type="xsd:string"/>
<xsd:element name="bottomLine" type="tns:LetterheadLine"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="footer" type="tns:LetterheadHeaderFooter"/>
<xsd:element name="header" type="tns:LetterheadHeaderFooter"/>
<xsd:element name="middleLine" type="tns:LetterheadLine"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="topLine" type="tns:LetterheadLine"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="LetterheadLine">
<xsd:sequence>
<xsd:element name="color" type="xsd:string"/>
<xsd:element name="height" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LetterheadHeaderFooter">
<xsd:sequence>
<xsd:element name="backgroundColor" type="xsd:string"/>
<xsd:element name="height" type="xsd:int"/>
<xsd:element name="horizontalAlignment" minOccurs="0" type="tns:LetterheadHorizontalAlignment"/>
<xsd:element name="logo" minOccurs="0" type="xsd:string"/>
<xsd:element name="verticalAlignment" minOccurs="0" type="tns:LetterheadVerticalAlignment"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="LetterheadHorizontalAlignment">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="Left"/>
<xsd:enumeration value="Center"/>
<xsd:enumeration value="Right"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="LetterheadVerticalAlignment">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="Top"/>
<xsd:enumeration value="Middle"/>
<xsd:enumeration value="Bottom"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="LiveAgentSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="enableLiveAgent" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="LiveChatAgentConfig">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="assignments" minOccurs="0" type="tns:AgentConfigAssignments"/>
<xsd:element name="autoGreeting" minOccurs="0" type="xsd:string"/>
<xsd:element name="capacity" minOccurs="0" type="xsd:int"/>
<xsd:element name="criticalWaitTime" minOccurs="0" type="xsd:int"/>
<xsd:element name="customAgentName" minOccurs="0" type="xsd:string"/>
<xsd:element name="enableAgentFileTransfer" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableAgentSneakPeek" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableAutoAwayOnDecline" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableChatMonitoring" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableChatTransfer" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableLogoutSound" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableNotifications" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableRequestSound" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableSneakPeek" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableWhisperMessage" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="supervisorDefaultAgentStatusFilter" minOccurs="0" type="tns:SupervisorAgentStatusFilter"/>
<xsd:element name="supervisorDefaultButtonFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="supervisorDefaultSkillFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="supervisorSkills" minOccurs="0" type="tns:SupervisorAgentConfigSkills"/>
<xsd:element name="transferableButtons" minOccurs="0" type="tns:AgentConfigButtons"/>
<xsd:element name="transferableSkills" minOccurs="0" type="tns:AgentConfigSkills"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="AgentConfigAssignments">
<xsd:sequence>
<xsd:element name="profiles" minOccurs="0" type="tns:AgentConfigProfileAssignments"/>
<xsd:element name="users" minOccurs="0" type="tns:AgentConfigUserAssignments"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AgentConfigProfileAssignments">
<xsd:sequence>
<xsd:element name="profile" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AgentConfigUserAssignments">
<xsd:sequence>
<xsd:element name="user" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="SupervisorAgentStatusFilter">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Online"/>
<xsd:enumeration value="Away"/>
<xsd:enumeration value="Offline"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="SupervisorAgentConfigSkills">
<xsd:sequence>
<xsd:element name="skill" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AgentConfigButtons">
<xsd:sequence>
<xsd:element name="button" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AgentConfigSkills">
<xsd:sequence>
<xsd:element name="skill" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LiveChatButton">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="animation" minOccurs="0" type="tns:LiveChatButtonPresentation"/>
<xsd:element name="autoGreeting" minOccurs="0" type="xsd:string"/>
<xsd:element name="chatPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="customAgentName" minOccurs="0" type="xsd:string"/>
<xsd:element name="deployments" minOccurs="0" type="tns:LiveChatButtonDeployments"/>
<xsd:element name="enableQueue" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="inviteEndPosition" minOccurs="0" type="tns:LiveChatButtonInviteEndPosition"/>
<xsd:element name="inviteImage" minOccurs="0" type="xsd:string"/>
<xsd:element name="inviteStartPosition" minOccurs="0" type="tns:LiveChatButtonInviteStartPosition"/>
<xsd:element name="isActive" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="numberOfReroutingAttempts" minOccurs="0" type="xsd:int"/>
<xsd:element name="offlineImage" minOccurs="0" type="xsd:string"/>
<xsd:element name="onlineImage" minOccurs="0" type="xsd:string"/>
<xsd:element name="optionsCustomRoutingIsEnabled" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="optionsHasInviteAfterAccept" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="optionsHasInviteAfterReject" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="optionsHasRerouteDeclinedRequest" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="optionsIsAutoAccept" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="optionsIsInviteAutoRemove" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="overallQueueLength" minOccurs="0" type="xsd:int"/>
<xsd:element name="perAgentQueueLength" minOccurs="0" type="xsd:int"/>
<xsd:element name="postChatPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="postChatUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="preChatFormPage" minOccurs="0" type="xsd:string"/>
<xsd:element name="preChatFormUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="pushTimeOut" minOccurs="0" type="xsd:int"/>
<xsd:element name="routingType" type="tns:LiveChatButtonRoutingType"/>
<xsd:element name="site" minOccurs="0" type="xsd:string"/>
<xsd:element name="skills" minOccurs="0" type="tns:LiveChatButtonSkills"/>
<xsd:element name="timeToRemoveInvite" minOccurs="0" type="xsd:int"/>
<xsd:element name="type" type="tns:LiveChatButtonType"/>
<xsd:element name="windowLanguage" minOccurs="0" type="tns:Language"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="LiveChatButtonPresentation">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Slide"/>
<xsd:enumeration value="Fade"/>
<xsd:enumeration value="Appear"/>
<xsd:enumeration value="Custom"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="LiveChatButtonDeployments">
<xsd:sequence>
<xsd:element name="deployment" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="LiveChatButtonInviteEndPosition">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="TopLeft"/>
<xsd:enumeration value="Top"/>
<xsd:enumeration value="TopRight"/>
<xsd:enumeration value="Left"/>
<xsd:enumeration value="Center"/>
<xsd:enumeration value="Right"/>
<xsd:enumeration value="BottomLeft"/>
<xsd:enumeration value="Bottom"/>
<xsd:enumeration value="BottomRight"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="LiveChatButtonInviteStartPosition">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="TopLeft"/>
<xsd:enumeration value="TopLeftTop"/>
<xsd:enumeration value="Top"/>
<xsd:enumeration value="TopRightTop"/>
<xsd:enumeration value="TopRight"/>
<xsd:enumeration value="TopRightRight"/>
<xsd:enumeration value="Right"/>
<xsd:enumeration value="BottomRightRight"/>
<xsd:enumeration value="BottomRight"/>
<xsd:enumeration value="BottomRightBottom"/>
<xsd:enumeration value="Bottom"/>
<xsd:enumeration value="BottomLeftBottom"/>
<xsd:enumeration value="BottomLeft"/>
<xsd:enumeration value="BottomLeftLeft"/>
<xsd:enumeration value="Left"/>
<xsd:enumeration value="TopLeftLeft"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="LiveChatButtonRoutingType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Choice"/>
<xsd:enumeration value="LeastActive"/>
<xsd:enumeration value="MostAvailable"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="LiveChatButtonSkills">
<xsd:sequence>
<xsd:element name="skill" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="LiveChatButtonType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Standard"/>
<xsd:enumeration value="Invite"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="LiveChatDeployment">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="brandingImage" minOccurs="0" type="xsd:string"/>
<xsd:element name="displayQueuePosition" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="domainWhiteList" minOccurs="0" type="tns:LiveChatDeploymentDomainWhitelist"/>
<xsd:element name="enablePrechatApi" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableTranscriptSave" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="mobileBrandingImage" minOccurs="0" type="xsd:string"/>
<xsd:element name="site" minOccurs="0" type="xsd:string"/>
<xsd:element name="windowTitle" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="LiveChatDeploymentDomainWhitelist">
<xsd:sequence>
<xsd:element name="domain" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ManagedTopic">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="managedTopicType" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="position" type="xsd:int"/>
<xsd:element name="topicDescription" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ManagedTopics">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="managedTopic" minOccurs="0" maxOccurs="unbounded" type="tns:ManagedTopic"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="MarketingActionSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="enableMarketingAction" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="MetadataWithContent">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="content" minOccurs="0" type="xsd:base64Binary"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ApexClass">
<xsd:complexContent>
<xsd:extension base="tns:MetadataWithContent">
<xsd:sequence>
<xsd:element name="apiVersion" type="xsd:double"/>
<xsd:element name="packageVersions" minOccurs="0" maxOccurs="unbounded" type="tns:PackageVersion"/>
<xsd:element name="status" type="tns:ApexCodeUnitStatus"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="PackageVersion">
<xsd:sequence>
<xsd:element name="majorNumber" type="xsd:int"/>
<xsd:element name="minorNumber" type="xsd:int"/>
<xsd:element name="namespace" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ApexCodeUnitStatus">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Inactive"/>
<xsd:enumeration value="Active"/>
<xsd:enumeration value="Deleted"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ApexComponent">
<xsd:complexContent>
<xsd:extension base="tns:MetadataWithContent">
<xsd:sequence>
<xsd:element name="apiVersion" minOccurs="0" type="xsd:double"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="packageVersions" minOccurs="0" maxOccurs="unbounded" type="tns:PackageVersion"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ApexPage">
<xsd:complexContent>
<xsd:extension base="tns:MetadataWithContent">
<xsd:sequence>
<xsd:element name="apiVersion" type="xsd:double"/>
<xsd:element name="availableInTouch" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="confirmationTokenRequired" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="packageVersions" minOccurs="0" maxOccurs="unbounded" type="tns:PackageVersion"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ApexTrigger">
<xsd:complexContent>
<xsd:extension base="tns:MetadataWithContent">
<xsd:sequence>
<xsd:element name="apiVersion" type="xsd:double"/>
<xsd:element name="packageVersions" minOccurs="0" maxOccurs="unbounded" type="tns:PackageVersion"/>
<xsd:element name="status" type="tns:ApexCodeUnitStatus"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="DataPipeline">
<xsd:complexContent>
<xsd:extension base="tns:MetadataWithContent">
<xsd:sequence>
<xsd:element name="apiVersion" type="xsd:double"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="scriptType" type="tns:DataPipelineType"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="DataPipelineType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Pig"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="Document">
<xsd:complexContent>
<xsd:extension base="tns:MetadataWithContent">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="internalUseOnly" type="xsd:boolean"/>
<xsd:element name="keywords" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" minOccurs="0" type="xsd:string"/>
<xsd:element name="public" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="EmailTemplate">
<xsd:complexContent>
<xsd:extension base="tns:MetadataWithContent">
<xsd:sequence>
<xsd:element name="apiVersion" minOccurs="0" type="xsd:double"/>
<xsd:element name="attachedDocuments" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="attachments" minOccurs="0" maxOccurs="unbounded" type="tns:Attachment"/>
<xsd:element name="available" type="xsd:boolean"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="encodingKey" type="tns:Encoding"/>
<xsd:element name="letterhead" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="packageVersions" minOccurs="0" maxOccurs="unbounded" type="tns:PackageVersion"/>
<xsd:element name="style" type="tns:EmailTemplateStyle"/>
<xsd:element name="subject" minOccurs="0" type="xsd:string"/>
<xsd:element name="textOnly" minOccurs="0" type="xsd:string"/>
<xsd:element name="type" type="tns:EmailTemplateType"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Attachment">
<xsd:sequence>
<xsd:element name="content" type="xsd:base64Binary"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="EmailTemplateStyle">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="none"/>
<xsd:enumeration value="freeForm"/>
<xsd:enumeration value="formalLetter"/>
<xsd:enumeration value="promotionRight"/>
<xsd:enumeration value="promotionLeft"/>
<xsd:enumeration value="newsletter"/>
<xsd:enumeration value="products"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="EmailTemplateType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="text"/>
<xsd:enumeration value="html"/>
<xsd:enumeration value="custom"/>
<xsd:enumeration value="visualforce"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="Scontrol">
<xsd:complexContent>
<xsd:extension base="tns:MetadataWithContent">
<xsd:sequence>
<xsd:element name="contentSource" type="tns:SControlContentSource"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="encodingKey" type="tns:Encoding"/>
<xsd:element name="fileContent" minOccurs="0" type="xsd:base64Binary"/>
<xsd:element name="fileName" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="supportsCaching" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="SControlContentSource">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="HTML"/>
<xsd:enumeration value="URL"/>
<xsd:enumeration value="Snippet"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="SiteDotCom">
<xsd:complexContent>
<xsd:extension base="tns:MetadataWithContent">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="siteType" type="tns:SiteType"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="StaticResource">
<xsd:complexContent>
<xsd:extension base="tns:MetadataWithContent">
<xsd:sequence>
<xsd:element name="cacheControl" type="tns:StaticResourceCacheControl"/>
<xsd:element name="contentType" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="StaticResourceCacheControl">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Private"/>
<xsd:enumeration value="Public"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="UiPlugin">
<xsd:complexContent>
<xsd:extension base="tns:MetadataWithContent">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="extensionPointIdentifier" type="xsd:string"/>
<xsd:element name="isEnabled" type="xsd:boolean"/>
<xsd:element name="language" type="xsd:string"/>
<xsd:element name="masterLabel" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="MilestoneType">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="recurrenceType" minOccurs="0" type="tns:MilestoneTypeRecurrenceType"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="MilestoneTypeRecurrenceType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="none"/>
<xsd:enumeration value="recursIndependently"/>
<xsd:enumeration value="recursChained"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="MobileSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="chatterMobile" minOccurs="0" type="tns:ChatterMobileSettings"/>
<xsd:element name="dashboardMobile" minOccurs="0" type="tns:DashboardMobileSettings"/>
<xsd:element name="salesforceMobile" minOccurs="0" type="tns:SFDCMobileSettings"/>
<xsd:element name="touchMobile" minOccurs="0" type="tns:TouchMobileSettings"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ChatterMobileSettings">
<xsd:sequence>
<xsd:element name="enablePushNotifications" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DashboardMobileSettings">
<xsd:sequence>
<xsd:element name="enableDashboardIPadApp" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SFDCMobileSettings">
<xsd:sequence>
<xsd:element name="enableMobileLite" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableUserToDeviceLinking" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="TouchMobileSettings">
<xsd:sequence>
<xsd:element name="enableTouchAppIPad" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableTouchAppIPhone" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableTouchBrowserIPad" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableTouchIosPhone" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableVisualforceInTouch" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="NameSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="enableMiddleName" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableNameSuffix" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Network">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="allowMembersToFlag" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="branding" minOccurs="0" type="tns:Branding"/>
<xsd:element name="caseCommentEmailTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="changePasswordTemplate" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="emailSenderAddress" type="xsd:string"/>
<xsd:element name="emailSenderName" type="xsd:string"/>
<xsd:element name="enableGuestChatter" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableInvitation" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableKnowledgeable" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableNicknameDisplay" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enablePrivateMessages" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableReputation" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="feedChannel" minOccurs="0" type="xsd:string"/>
<xsd:element name="forgotPasswordTemplate" type="xsd:string"/>
<xsd:element name="logoutUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="networkMemberGroups" minOccurs="0" type="tns:NetworkMemberGroup"/>
<xsd:element name="newSenderAddress" minOccurs="0" type="xsd:string"/>
<xsd:element name="picassoSite" minOccurs="0" type="xsd:string"/>
<xsd:element name="reputationLevels" minOccurs="0" type="tns:ReputationLevelDefinitions"/>
<xsd:element name="reputationPointsRules" minOccurs="0" type="tns:ReputationPointsRules"/>
<xsd:element name="selfRegProfile" minOccurs="0" type="xsd:string"/>
<xsd:element name="selfRegistration" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="sendWelcomeEmail" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="site" type="xsd:string"/>
<xsd:element name="status" type="tns:NetworkStatus"/>
<xsd:element name="tabs" type="tns:NetworkTabSet"/>
<xsd:element name="urlPathPrefix" minOccurs="0" type="xsd:string"/>
<xsd:element name="welcomeTemplate" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Branding">
<xsd:sequence>
<xsd:element name="loginFooterText" minOccurs="0" type="xsd:string"/>
<xsd:element name="loginLogo" minOccurs="0" type="xsd:string"/>
<xsd:element name="pageFooter" minOccurs="0" type="xsd:string"/>
<xsd:element name="pageHeader" minOccurs="0" type="xsd:string"/>
<xsd:element name="primaryColor" type="xsd:string"/>
<xsd:element name="primaryComplementColor" type="xsd:string"/>
<xsd:element name="quaternaryColor" type="xsd:string"/>
<xsd:element name="quaternaryComplementColor" type="xsd:string"/>
<xsd:element name="secondaryColor" type="xsd:string"/>
<xsd:element name="tertiaryColor" type="xsd:string"/>
<xsd:element name="tertiaryComplementColor" type="xsd:string"/>
<xsd:element name="zeronaryColor" type="xsd:string"/>
<xsd:element name="zeronaryComplementColor" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="NetworkMemberGroup">
<xsd:sequence>
<xsd:element name="permissionSet" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="profile" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReputationLevelDefinitions">
<xsd:sequence>
<xsd:element name="level" minOccurs="0" maxOccurs="unbounded" type="tns:ReputationLevel"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReputationLevel">
<xsd:sequence>
<xsd:element name="branding" minOccurs="0" type="tns:ReputationBranding"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
<xsd:element name="lowerThreshold" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReputationBranding">
<xsd:sequence>
<xsd:element name="smallImage" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReputationPointsRules">
<xsd:sequence>
<xsd:element name="pointsRule" minOccurs="0" maxOccurs="unbounded" type="tns:ReputationPointsRule"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReputationPointsRule">
<xsd:sequence>
<xsd:element name="eventType" type="xsd:string"/>
<xsd:element name="points" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="NetworkStatus">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="UnderConstruction"/>
<xsd:enumeration value="Live"/>
<xsd:enumeration value="DownForMaintenance"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="NetworkTabSet">
<xsd:sequence>
<xsd:element name="customTab" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="defaultTab" type="xsd:string"/>
<xsd:element name="standardTab" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="OpportunitySettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="autoActivateNewReminders" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableFindSimilarOpportunities" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableOpportunityTeam" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableUpdateReminders" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="findSimilarOppFilter" minOccurs="0" type="tns:FindSimilarOppFilter"/>
<xsd:element name="promptToAddProducts" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FindSimilarOppFilter">
<xsd:sequence>
<xsd:element name="similarOpportunitiesDisplayColumns" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="similarOpportunitiesMatchFields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="OrderSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="enableNegativeQuantity" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableOrders" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableReductionOrders" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Package">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="apiAccessLevel" minOccurs="0" type="tns:APIAccessLevel"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="namespacePrefix" minOccurs="0" type="xsd:string"/>
<xsd:element name="objectPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileObjectPermissions"/>
<xsd:element name="postInstallClass" minOccurs="0" type="xsd:string"/>
<xsd:element name="setupWeblink" minOccurs="0" type="xsd:string"/>
<xsd:element name="types" minOccurs="0" maxOccurs="unbounded" type="tns:PackageTypeMembers"/>
<xsd:element name="uninstallClass" minOccurs="0" type="xsd:string"/>
<xsd:element name="version" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="APIAccessLevel">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Unrestricted"/>
<xsd:enumeration value="Restricted"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ProfileObjectPermissions">
<xsd:sequence>
<xsd:element name="allowCreate" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="allowDelete" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="allowEdit" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="allowRead" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="modifyAllRecords" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="object" type="xsd:string"/>
<xsd:element name="viewAllRecords" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PackageTypeMembers">
<xsd:sequence>
<xsd:element name="members" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PermissionSet">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="applicationVisibilities" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetApplicationVisibility"/>
<xsd:element name="classAccesses" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetApexClassAccess"/>
<xsd:element name="customPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetCustomPermissions"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="externalDataSourceAccesses" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetExternalDataSourceAccess"/>
<xsd:element name="fieldPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetFieldPermissions"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
<xsd:element name="objectPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetObjectPermissions"/>
<xsd:element name="pageAccesses" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetApexPageAccess"/>
<xsd:element name="recordTypeVisibilities" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetRecordTypeVisibility"/>
<xsd:element name="tabSettings" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetTabSetting"/>
<xsd:element name="userLicense" minOccurs="0" type="xsd:string"/>
<xsd:element name="userPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:PermissionSetUserPermission"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="PermissionSetApplicationVisibility">
<xsd:sequence>
<xsd:element name="application" type="xsd:string"/>
<xsd:element name="visible" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PermissionSetApexClassAccess">
<xsd:sequence>
<xsd:element name="apexClass" type="xsd:string"/>
<xsd:element name="enabled" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PermissionSetCustomPermissions">
<xsd:sequence>
<xsd:element name="enabled" type="xsd:boolean"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PermissionSetExternalDataSourceAccess">
<xsd:sequence>
<xsd:element name="enabled" type="xsd:boolean"/>
<xsd:element name="externalDataSource" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PermissionSetFieldPermissions">
<xsd:sequence>
<xsd:element name="editable" type="xsd:boolean"/>
<xsd:element name="field" type="xsd:string"/>
<xsd:element name="readable" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PermissionSetObjectPermissions">
<xsd:sequence>
<xsd:element name="allowCreate" type="xsd:boolean"/>
<xsd:element name="allowDelete" type="xsd:boolean"/>
<xsd:element name="allowEdit" type="xsd:boolean"/>
<xsd:element name="allowRead" type="xsd:boolean"/>
<xsd:element name="modifyAllRecords" type="xsd:boolean"/>
<xsd:element name="object" type="xsd:string"/>
<xsd:element name="viewAllRecords" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PermissionSetApexPageAccess">
<xsd:sequence>
<xsd:element name="apexPage" type="xsd:string"/>
<xsd:element name="enabled" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PermissionSetRecordTypeVisibility">
<xsd:sequence>
<xsd:element name="recordType" type="xsd:string"/>
<xsd:element name="visible" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PermissionSetTabSetting">
<xsd:sequence>
<xsd:element name="tab" type="xsd:string"/>
<xsd:element name="visibility" type="tns:PermissionSetTabVisibility"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="PermissionSetTabVisibility">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="Available"/>
<xsd:enumeration value="Visible"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="PermissionSetUserPermission">
<xsd:sequence>
<xsd:element name="enabled" type="xsd:boolean"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PersonListSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="enablePersonList" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Portal">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="active" type="xsd:boolean"/>
<xsd:element name="admin" minOccurs="0" type="xsd:string"/>
<xsd:element name="defaultLanguage" minOccurs="0" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="emailSenderAddress" type="xsd:string"/>
<xsd:element name="emailSenderName" type="xsd:string"/>
<xsd:element name="enableSelfCloseCase" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="footerDocument" minOccurs="0" type="xsd:string"/>
<xsd:element name="forgotPassTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="headerDocument" minOccurs="0" type="xsd:string"/>
<xsd:element name="isSelfRegistrationActivated" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="loginHeaderDocument" minOccurs="0" type="xsd:string"/>
<xsd:element name="logoDocument" minOccurs="0" type="xsd:string"/>
<xsd:element name="logoutUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="newCommentTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="newPassTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="newUserTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="ownerNotifyTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="selfRegNewUserUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="selfRegUserDefaultProfile" minOccurs="0" type="xsd:string"/>
<xsd:element name="selfRegUserDefaultRole" minOccurs="0" type="tns:PortalRoles"/>
<xsd:element name="selfRegUserTemplate" minOccurs="0" type="xsd:string"/>
<xsd:element name="showActionConfirmation" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="stylesheetDocument" minOccurs="0" type="xsd:string"/>
<xsd:element name="type" type="tns:PortalType"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="PortalRoles">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Executive"/>
<xsd:enumeration value="Manager"/>
<xsd:enumeration value="Worker"/>
<xsd:enumeration value="PersonAccount"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="PortalType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="CustomerSuccess"/>
<xsd:enumeration value="Partner"/>
<xsd:enumeration value="Network"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="PostTemplate">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="default" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="label" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ProductSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="enableCascadeActivateToRelatedPrices" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableQuantitySchedule" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableRevenueSchedule" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Profile">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="applicationVisibilities" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileApplicationVisibility"/>
<xsd:element name="classAccesses" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileApexClassAccess"/>
<xsd:element name="custom" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="customPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileCustomPermissions"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="externalDataSourceAccesses" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileExternalDataSourceAccess"/>
<xsd:element name="fieldPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileFieldLevelSecurity"/>
<xsd:element name="layoutAssignments" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileLayoutAssignment"/>
<xsd:element name="loginHours" minOccurs="0" type="tns:ProfileLoginHours"/>
<xsd:element name="loginIpRanges" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileLoginIpRange"/>
<xsd:element name="objectPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileObjectPermissions"/>
<xsd:element name="pageAccesses" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileApexPageAccess"/>
<xsd:element name="recordTypeVisibilities" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileRecordTypeVisibility"/>
<xsd:element name="tabVisibilities" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileTabVisibility"/>
<xsd:element name="userLicense" minOccurs="0" type="xsd:string"/>
<xsd:element name="userPermissions" minOccurs="0" maxOccurs="unbounded" type="tns:ProfileUserPermission"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ProfileApplicationVisibility">
<xsd:sequence>
<xsd:element name="application" type="xsd:string"/>
<xsd:element name="default" type="xsd:boolean"/>
<xsd:element name="visible" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProfileApexClassAccess">
<xsd:sequence>
<xsd:element name="apexClass" type="xsd:string"/>
<xsd:element name="enabled" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProfileCustomPermissions">
<xsd:sequence>
<xsd:element name="enabled" type="xsd:boolean"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProfileExternalDataSourceAccess">
<xsd:sequence>
<xsd:element name="enabled" type="xsd:boolean"/>
<xsd:element name="externalDataSource" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProfileFieldLevelSecurity">
<xsd:sequence>
<xsd:element name="editable" type="xsd:boolean"/>
<xsd:element name="field" type="xsd:string"/>
<xsd:element name="readable" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProfileLayoutAssignment">
<xsd:sequence>
<xsd:element name="layout" type="xsd:string"/>
<xsd:element name="recordType" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProfileLoginHours">
<xsd:sequence>
<xsd:element name="fridayEnd" minOccurs="0" type="xsd:string"/>
<xsd:element name="fridayStart" minOccurs="0" type="xsd:string"/>
<xsd:element name="mondayEnd" minOccurs="0" type="xsd:string"/>
<xsd:element name="mondayStart" minOccurs="0" type="xsd:string"/>
<xsd:element name="saturdayEnd" minOccurs="0" type="xsd:string"/>
<xsd:element name="saturdayStart" minOccurs="0" type="xsd:string"/>
<xsd:element name="sundayEnd" minOccurs="0" type="xsd:string"/>
<xsd:element name="sundayStart" minOccurs="0" type="xsd:string"/>
<xsd:element name="thursdayEnd" minOccurs="0" type="xsd:string"/>
<xsd:element name="thursdayStart" minOccurs="0" type="xsd:string"/>
<xsd:element name="tuesdayEnd" minOccurs="0" type="xsd:string"/>
<xsd:element name="tuesdayStart" minOccurs="0" type="xsd:string"/>
<xsd:element name="wednesdayEnd" minOccurs="0" type="xsd:string"/>
<xsd:element name="wednesdayStart" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProfileLoginIpRange">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="endAddress" type="xsd:string"/>
<xsd:element name="startAddress" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProfileApexPageAccess">
<xsd:sequence>
<xsd:element name="apexPage" type="xsd:string"/>
<xsd:element name="enabled" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProfileRecordTypeVisibility">
<xsd:sequence>
<xsd:element name="default" type="xsd:boolean"/>
<xsd:element name="personAccountDefault" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="recordType" type="xsd:string"/>
<xsd:element name="visible" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ProfileTabVisibility">
<xsd:sequence>
<xsd:element name="tab" type="xsd:string"/>
<xsd:element name="visibility" type="tns:TabVisibility"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="TabVisibility">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Hidden"/>
<xsd:enumeration value="DefaultOff"/>
<xsd:enumeration value="DefaultOn"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ProfileUserPermission">
<xsd:sequence>
<xsd:element name="enabled" type="xsd:boolean"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Queue">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="doesSendEmailToMembers" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="email" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="queueSobject" minOccurs="0" maxOccurs="unbounded" type="tns:QueueSobject"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="QueueSobject">
<xsd:sequence>
<xsd:element name="sobjectType" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="QuickAction">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="canvas" minOccurs="0" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="fieldOverrides" minOccurs="0" maxOccurs="unbounded" type="tns:FieldOverride"/>
<xsd:element name="height" minOccurs="0" type="xsd:int"/>
<xsd:element name="icon" minOccurs="0" type="xsd:string"/>
<xsd:element name="isProtected" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
<xsd:element name="page" minOccurs="0" type="xsd:string"/>
<xsd:element name="quickActionLayout" minOccurs="0" type="tns:QuickActionLayout"/>
<xsd:element name="standardLabel" minOccurs="0" type="tns:QuickActionLabel"/>
<xsd:element name="targetObject" minOccurs="0" type="xsd:string"/>
<xsd:element name="targetParentField" minOccurs="0" type="xsd:string"/>
<xsd:element name="targetRecordType" minOccurs="0" type="xsd:string"/>
<xsd:element name="type" type="tns:QuickActionType"/>
<xsd:element name="width" minOccurs="0" type="xsd:int"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FieldOverride">
<xsd:sequence>
<xsd:element name="field" type="xsd:string"/>
<xsd:element name="formula" minOccurs="0" type="xsd:string"/>
<xsd:element name="literalValue" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="QuickActionLayout">
<xsd:sequence>
<xsd:element name="layoutSectionStyle" type="tns:LayoutSectionStyle"/>
<xsd:element name="quickActionLayoutColumns" minOccurs="0" maxOccurs="unbounded" type="tns:QuickActionLayoutColumn"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="QuickActionLayoutColumn">
<xsd:sequence>
<xsd:element name="quickActionLayoutItems" minOccurs="0" maxOccurs="unbounded" type="tns:QuickActionLayoutItem"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="QuickActionLayoutItem">
<xsd:sequence>
<xsd:element name="emptySpace" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="field" minOccurs="0" type="xsd:string"/>
<xsd:element name="uiBehavior" minOccurs="0" type="tns:UiBehavior"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="QuickActionLabel">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="LogACall"/>
<xsd:enumeration value="LogANote"/>
<xsd:enumeration value="New"/>
<xsd:enumeration value="NewRecordType"/>
<xsd:enumeration value="Update"/>
<xsd:enumeration value="NewChild"/>
<xsd:enumeration value="NewChildRecordType"/>
<xsd:enumeration value="CreateNew"/>
<xsd:enumeration value="CreateNewRecordType"/>
<xsd:enumeration value="SendEmail"/>
<xsd:enumeration value="QuickRecordType"/>
<xsd:enumeration value="Quick"/>
<xsd:enumeration value="EditDescription"/>
<xsd:enumeration value="Defer"/>
<xsd:enumeration value="ChangeDueDate"/>
<xsd:enumeration value="ChangePriority"/>
<xsd:enumeration value="ChangeStatus"/>
<xsd:enumeration value="SocialPost"/>
<xsd:enumeration value="Escalate"/>
<xsd:enumeration value="EscalateToRecord"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="QuickActionType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Create"/>
<xsd:enumeration value="VisualforcePage"/>
<xsd:enumeration value="Post"/>
<xsd:enumeration value="SendEmail"/>
<xsd:enumeration value="LogACall"/>
<xsd:enumeration value="SocialPost"/>
<xsd:enumeration value="Canvas"/>
<xsd:enumeration value="Update"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="QuoteSettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="enableQuote" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="RemoteSiteSetting">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="disableProtocolSecurity" type="xsd:boolean"/>
<xsd:element name="isActive" type="xsd:boolean"/>
<xsd:element name="url" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Report">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="aggregates" minOccurs="0" maxOccurs="unbounded" type="tns:ReportAggregate"/>
<xsd:element name="block" minOccurs="0" maxOccurs="unbounded" type="tns:Report"/>
<xsd:element name="blockInfo" minOccurs="0" type="tns:ReportBlockInfo"/>
<xsd:element name="buckets" minOccurs="0" maxOccurs="unbounded" type="tns:ReportBucketField"/>
<xsd:element name="chart" minOccurs="0" type="tns:ReportChart"/>
<xsd:element name="colorRanges" minOccurs="0" maxOccurs="unbounded" type="tns:ReportColorRange"/>
<xsd:element name="columns" minOccurs="0" maxOccurs="unbounded" type="tns:ReportColumn"/>
<xsd:element name="crossFilters" minOccurs="0" maxOccurs="unbounded" type="tns:ReportCrossFilter"/>
<xsd:element name="currency" minOccurs="0" type="tns:CurrencyIsoCode"/>
<xsd:element name="dataCategoryFilters" minOccurs="0" maxOccurs="unbounded" type="tns:ReportDataCategoryFilter"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="division" minOccurs="0" type="xsd:string"/>
<xsd:element name="filter" minOccurs="0" type="tns:ReportFilter"/>
<xsd:element name="format" type="tns:ReportFormat"/>
<xsd:element name="groupingsAcross" minOccurs="0" maxOccurs="unbounded" type="tns:ReportGrouping"/>
<xsd:element name="groupingsDown" minOccurs="0" maxOccurs="unbounded" type="tns:ReportGrouping"/>
<xsd:element name="historicalSelector" minOccurs="0" type="tns:ReportHistoricalSelector"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="params" minOccurs="0" maxOccurs="unbounded" type="tns:ReportParam"/>
<xsd:element name="reportType" type="xsd:string"/>
<xsd:element name="roleHierarchyFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="rowLimit" minOccurs="0" type="xsd:int"/>
<xsd:element name="scope" minOccurs="0" type="xsd:string"/>
<xsd:element name="showCurrentDate" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showDetails" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="sortColumn" minOccurs="0" type="xsd:string"/>
<xsd:element name="sortOrder" minOccurs="0" type="tns:SortOrder"/>
<xsd:element name="territoryHierarchyFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="timeFrameFilter" minOccurs="0" type="tns:ReportTimeFrameFilter"/>
<xsd:element name="userFilter" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ReportAggregate">
<xsd:sequence>
<xsd:element name="acrossGroupingContext" minOccurs="0" type="xsd:string"/>
<xsd:element name="calculatedFormula" type="xsd:string"/>
<xsd:element name="datatype" type="tns:ReportAggregateDatatype"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="developerName" type="xsd:string"/>
<xsd:element name="downGroupingContext" minOccurs="0" type="xsd:string"/>
<xsd:element name="isActive" type="xsd:boolean"/>
<xsd:element name="isCrossBlock" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="masterLabel" type="xsd:string"/>
<xsd:element name="reportType" minOccurs="0" type="xsd:string"/>
<xsd:element name="scale" minOccurs="0" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ReportAggregateDatatype">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="currency"/>
<xsd:enumeration value="percent"/>
<xsd:enumeration value="number"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ReportBlockInfo">
<xsd:sequence>
<xsd:element name="aggregateReferences" minOccurs="0" maxOccurs="unbounded" type="tns:ReportAggregateReference"/>
<xsd:element name="blockId" type="xsd:string"/>
<xsd:element name="joinTable" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReportAggregateReference">
<xsd:sequence>
<xsd:element name="aggregate" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReportBucketField">
<xsd:sequence>
<xsd:element name="bucketType" type="tns:ReportBucketFieldType"/>
<xsd:element name="developerName" type="xsd:string"/>
<xsd:element name="masterLabel" type="xsd:string"/>
<xsd:element name="nullTreatment" minOccurs="0" type="tns:ReportFormulaNullTreatment"/>
<xsd:element name="otherBucketLabel" minOccurs="0" type="xsd:string"/>
<xsd:element name="sourceColumnName" type="xsd:string"/>
<xsd:element name="useOther" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="values" minOccurs="0" maxOccurs="unbounded" type="tns:ReportBucketFieldValue"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ReportBucketFieldType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="text"/>
<xsd:enumeration value="number"/>
<xsd:enumeration value="picklist"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ReportFormulaNullTreatment">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="n"/>
<xsd:enumeration value="z"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ReportBucketFieldValue">
<xsd:sequence>
<xsd:element name="sourceValues" minOccurs="0" maxOccurs="unbounded" type="tns:ReportBucketFieldSourceValue"/>
<xsd:element name="value" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReportBucketFieldSourceValue">
<xsd:sequence>
<xsd:element name="from" minOccurs="0" type="xsd:string"/>
<xsd:element name="sourceValue" minOccurs="0" type="xsd:string"/>
<xsd:element name="to" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReportChart">
<xsd:sequence>
<xsd:element name="backgroundColor1" minOccurs="0" type="xsd:string"/>
<xsd:element name="backgroundColor2" minOccurs="0" type="xsd:string"/>
<xsd:element name="backgroundFadeDir" minOccurs="0" type="tns:ChartBackgroundDirection"/>
<xsd:element name="chartSummaries" minOccurs="0" maxOccurs="unbounded" type="tns:ChartSummary"/>
<xsd:element name="chartType" type="tns:ChartType"/>
<xsd:element name="enableHoverLabels" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="expandOthers" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="groupingColumn" minOccurs="0" type="xsd:string"/>
<xsd:element name="legendPosition" minOccurs="0" type="tns:ChartLegendPosition"/>
<xsd:element name="location" minOccurs="0" type="tns:ChartPosition"/>
<xsd:element name="secondaryGroupingColumn" minOccurs="0" type="xsd:string"/>
<xsd:element name="showAxisLabels" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showPercentage" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showTotal" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showValues" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="size" minOccurs="0" type="tns:ReportChartSize"/>
<xsd:element name="summaryAxisManualRangeEnd" minOccurs="0" type="xsd:double"/>
<xsd:element name="summaryAxisManualRangeStart" minOccurs="0" type="xsd:double"/>
<xsd:element name="summaryAxisRange" minOccurs="0" type="tns:ChartRangeType"/>
<xsd:element name="textColor" minOccurs="0" type="xsd:string"/>
<xsd:element name="textSize" minOccurs="0" type="xsd:int"/>
<xsd:element name="title" minOccurs="0" type="xsd:string"/>
<xsd:element name="titleColor" minOccurs="0" type="xsd:string"/>
<xsd:element name="titleSize" minOccurs="0" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ChartType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="Scatter"/>
<xsd:enumeration value="ScatterGrouped"/>
<xsd:enumeration value="Bubble"/>
<xsd:enumeration value="BubbleGrouped"/>
<xsd:enumeration value="HorizontalBar"/>
<xsd:enumeration value="HorizontalBarGrouped"/>
<xsd:enumeration value="HorizontalBarStacked"/>
<xsd:enumeration value="HorizontalBarStackedTo100"/>
<xsd:enumeration value="VerticalColumn"/>
<xsd:enumeration value="VerticalColumnGrouped"/>
<xsd:enumeration value="VerticalColumnStacked"/>
<xsd:enumeration value="VerticalColumnStackedTo100"/>
<xsd:enumeration value="Line"/>
<xsd:enumeration value="LineGrouped"/>
<xsd:enumeration value="LineCumulative"/>
<xsd:enumeration value="LineCumulativeGrouped"/>
<xsd:enumeration value="Pie"/>
<xsd:enumeration value="Donut"/>
<xsd:enumeration value="Funnel"/>
<xsd:enumeration value="VerticalColumnLine"/>
<xsd:enumeration value="VerticalColumnGroupedLine"/>
<xsd:enumeration value="VerticalColumnStackedLine"/>
<xsd:enumeration value="Plugin"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ChartPosition">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="CHART_TOP"/>
<xsd:enumeration value="CHART_BOTTOM"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ReportChartSize">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Tiny"/>
<xsd:enumeration value="Small"/>
<xsd:enumeration value="Medium"/>
<xsd:enumeration value="Large"/>
<xsd:enumeration value="Huge"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ReportColorRange">
<xsd:sequence>
<xsd:element name="aggregate" minOccurs="0" type="tns:ReportSummaryType"/>
<xsd:element name="columnName" type="xsd:string"/>
<xsd:element name="highBreakpoint" minOccurs="0" type="xsd:double"/>
<xsd:element name="highColor" type="xsd:string"/>
<xsd:element name="lowBreakpoint" minOccurs="0" type="xsd:double"/>
<xsd:element name="lowColor" type="xsd:string"/>
<xsd:element name="midColor" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReportColumn">
<xsd:sequence>
<xsd:element name="aggregateTypes" minOccurs="0" maxOccurs="unbounded" type="tns:ReportSummaryType"/>
<xsd:element name="field" type="xsd:string"/>
<xsd:element name="reverseColors" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="showChanges" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReportCrossFilter">
<xsd:sequence>
<xsd:element name="criteriaItems" minOccurs="0" maxOccurs="unbounded" type="tns:ReportFilterItem"/>
<xsd:element name="operation" type="tns:ObjectFilterOperator"/>
<xsd:element name="primaryTableColumn" type="xsd:string"/>
<xsd:element name="relatedTable" type="xsd:string"/>
<xsd:element name="relatedTableJoinColumn" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReportFilterItem">
<xsd:sequence>
<xsd:element name="column" type="xsd:string"/>
<xsd:element name="columnToColumn" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="operator" type="tns:FilterOperation"/>
<xsd:element name="snapshot" minOccurs="0" type="xsd:string"/>
<xsd:element name="value" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ObjectFilterOperator">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="with"/>
<xsd:enumeration value="without"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="CurrencyIsoCode">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ADP"/>
<xsd:enumeration value="AED"/>
<xsd:enumeration value="AFA"/>
<xsd:enumeration value="AFN"/>
<xsd:enumeration value="ALL"/>
<xsd:enumeration value="AMD"/>
<xsd:enumeration value="ANG"/>
<xsd:enumeration value="AOA"/>
<xsd:enumeration value="ARS"/>
<xsd:enumeration value="ATS"/>
<xsd:enumeration value="AUD"/>
<xsd:enumeration value="AWG"/>
<xsd:enumeration value="AZM"/>
<xsd:enumeration value="AZN"/>
<xsd:enumeration value="BAM"/>
<xsd:enumeration value="BBD"/>
<xsd:enumeration value="BDT"/>
<xsd:enumeration value="BEF"/>
<xsd:enumeration value="BGL"/>
<xsd:enumeration value="BGN"/>
<xsd:enumeration value="BHD"/>
<xsd:enumeration value="BIF"/>
<xsd:enumeration value="BMD"/>
<xsd:enumeration value="BND"/>
<xsd:enumeration value="BOB"/>
<xsd:enumeration value="BOV"/>
<xsd:enumeration value="BRB"/>
<xsd:enumeration value="BRL"/>
<xsd:enumeration value="BSD"/>
<xsd:enumeration value="BTN"/>
<xsd:enumeration value="BWP"/>
<xsd:enumeration value="BYB"/>
<xsd:enumeration value="BYR"/>
<xsd:enumeration value="BZD"/>
<xsd:enumeration value="CAD"/>
<xsd:enumeration value="CDF"/>
<xsd:enumeration value="CHF"/>
<xsd:enumeration value="CLF"/>
<xsd:enumeration value="CLP"/>
<xsd:enumeration value="CNY"/>
<xsd:enumeration value="COP"/>
<xsd:enumeration value="CRC"/>
<xsd:enumeration value="CUP"/>
<xsd:enumeration value="CVE"/>
<xsd:enumeration value="CYP"/>
<xsd:enumeration value="CZK"/>
<xsd:enumeration value="DEM"/>
<xsd:enumeration value="DJF"/>
<xsd:enumeration value="DKK"/>
<xsd:enumeration value="DOP"/>
<xsd:enumeration value="DZD"/>
<xsd:enumeration value="ECS"/>
<xsd:enumeration value="EEK"/>
<xsd:enumeration value="EGP"/>
<xsd:enumeration value="ERN"/>
<xsd:enumeration value="ESP"/>
<xsd:enumeration value="ETB"/>
<xsd:enumeration value="EUR"/>
<xsd:enumeration value="FIM"/>
<xsd:enumeration value="FJD"/>
<xsd:enumeration value="FKP"/>
<xsd:enumeration value="FRF"/>
<xsd:enumeration value="GBP"/>
<xsd:enumeration value="GEL"/>
<xsd:enumeration value="GHC"/>
<xsd:enumeration value="GHS"/>
<xsd:enumeration value="GIP"/>
<xsd:enumeration value="GMD"/>
<xsd:enumeration value="GNF"/>
<xsd:enumeration value="GRD"/>
<xsd:enumeration value="GTQ"/>
<xsd:enumeration value="GWP"/>
<xsd:enumeration value="GYD"/>
<xsd:enumeration value="HKD"/>
<xsd:enumeration value="HNL"/>
<xsd:enumeration value="HRK"/>
<xsd:enumeration value="HTG"/>
<xsd:enumeration value="HUF"/>
<xsd:enumeration value="IDR"/>
<xsd:enumeration value="IEP"/>
<xsd:enumeration value="ILS"/>
<xsd:enumeration value="INR"/>
<xsd:enumeration value="IQD"/>
<xsd:enumeration value="IRR"/>
<xsd:enumeration value="ISK"/>
<xsd:enumeration value="ITL"/>
<xsd:enumeration value="JMD"/>
<xsd:enumeration value="JOD"/>
<xsd:enumeration value="JPY"/>
<xsd:enumeration value="KES"/>
<xsd:enumeration value="KGS"/>
<xsd:enumeration value="KHR"/>
<xsd:enumeration value="KMF"/>
<xsd:enumeration value="KPW"/>
<xsd:enumeration value="KRW"/>
<xsd:enumeration value="KWD"/>
<xsd:enumeration value="KYD"/>
<xsd:enumeration value="KZT"/>
<xsd:enumeration value="LAK"/>
<xsd:enumeration value="LBP"/>
<xsd:enumeration value="LKR"/>
<xsd:enumeration value="LRD"/>
<xsd:enumeration value="LSL"/>
<xsd:enumeration value="LTL"/>
<xsd:enumeration value="LUF"/>
<xsd:enumeration value="LVL"/>
<xsd:enumeration value="LYD"/>
<xsd:enumeration value="MAD"/>
<xsd:enumeration value="MDL"/>
<xsd:enumeration value="MGA"/>
<xsd:enumeration value="MGF"/>
<xsd:enumeration value="MKD"/>
<xsd:enumeration value="MMK"/>
<xsd:enumeration value="MNT"/>
<xsd:enumeration value="MOP"/>
<xsd:enumeration value="MRO"/>
<xsd:enumeration value="MTL"/>
<xsd:enumeration value="MUR"/>
<xsd:enumeration value="MVR"/>
<xsd:enumeration value="MWK"/>
<xsd:enumeration value="MXN"/>
<xsd:enumeration value="MXV"/>
<xsd:enumeration value="MYR"/>
<xsd:enumeration value="MZM"/>
<xsd:enumeration value="MZN"/>
<xsd:enumeration value="NAD"/>
<xsd:enumeration value="NGN"/>
<xsd:enumeration value="NIO"/>
<xsd:enumeration value="NLG"/>
<xsd:enumeration value="NOK"/>
<xsd:enumeration value="NPR"/>
<xsd:enumeration value="NZD"/>
<xsd:enumeration value="OMR"/>
<xsd:enumeration value="PAB"/>
<xsd:enumeration value="PEN"/>
<xsd:enumeration value="PGK"/>
<xsd:enumeration value="PHP"/>
<xsd:enumeration value="PKR"/>
<xsd:enumeration value="PLN"/>
<xsd:enumeration value="PTE"/>
<xsd:enumeration value="PYG"/>
<xsd:enumeration value="QAR"/>
<xsd:enumeration value="RMB"/>
<xsd:enumeration value="ROL"/>
<xsd:enumeration value="RON"/>
<xsd:enumeration value="RSD"/>
<xsd:enumeration value="RUB"/>
<xsd:enumeration value="RUR"/>
<xsd:enumeration value="RWF"/>
<xsd:enumeration value="SAR"/>
<xsd:enumeration value="SBD"/>
<xsd:enumeration value="SCR"/>
<xsd:enumeration value="SDD"/>
<xsd:enumeration value="SDG"/>
<xsd:enumeration value="SEK"/>
<xsd:enumeration value="SGD"/>
<xsd:enumeration value="SHP"/>
<xsd:enumeration value="SIT"/>
<xsd:enumeration value="SKK"/>
<xsd:enumeration value="SLL"/>
<xsd:enumeration value="SOS"/>
<xsd:enumeration value="SRD"/>
<xsd:enumeration value="SRG"/>
<xsd:enumeration value="SSP"/>
<xsd:enumeration value="STD"/>
<xsd:enumeration value="SVC"/>
<xsd:enumeration value="SYP"/>
<xsd:enumeration value="SZL"/>
<xsd:enumeration value="THB"/>
<xsd:enumeration value="TJR"/>
<xsd:enumeration value="TJS"/>
<xsd:enumeration value="TMM"/>
<xsd:enumeration value="TMT"/>
<xsd:enumeration value="TND"/>
<xsd:enumeration value="TOP"/>
<xsd:enumeration value="TPE"/>
<xsd:enumeration value="TRL"/>
<xsd:enumeration value="TRY"/>
<xsd:enumeration value="TTD"/>
<xsd:enumeration value="TWD"/>
<xsd:enumeration value="TZS"/>
<xsd:enumeration value="UAH"/>
<xsd:enumeration value="UGX"/>
<xsd:enumeration value="USD"/>
<xsd:enumeration value="UYU"/>
<xsd:enumeration value="UZS"/>
<xsd:enumeration value="VEB"/>
<xsd:enumeration value="VEF"/>
<xsd:enumeration value="VND"/>
<xsd:enumeration value="VUV"/>
<xsd:enumeration value="WST"/>
<xsd:enumeration value="XAF"/>
<xsd:enumeration value="XCD"/>
<xsd:enumeration value="XOF"/>
<xsd:enumeration value="XPF"/>
<xsd:enumeration value="YER"/>
<xsd:enumeration value="YUM"/>
<xsd:enumeration value="ZAR"/>
<xsd:enumeration value="ZMK"/>
<xsd:enumeration value="ZMW"/>
<xsd:enumeration value="ZWD"/>
<xsd:enumeration value="ZWL"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ReportDataCategoryFilter">
<xsd:sequence>
<xsd:element name="dataCategory" type="xsd:string"/>
<xsd:element name="dataCategoryGroup" type="xsd:string"/>
<xsd:element name="operator" type="tns:DataCategoryFilterOperation"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="DataCategoryFilterOperation">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="above"/>
<xsd:enumeration value="below"/>
<xsd:enumeration value="at"/>
<xsd:enumeration value="aboveOrBelow"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ReportFilter">
<xsd:sequence>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="criteriaItems" minOccurs="0" maxOccurs="unbounded" type="tns:ReportFilterItem"/>
<xsd:element name="language" minOccurs="0" type="tns:Language"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ReportFormat">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="MultiBlock"/>
<xsd:enumeration value="Matrix"/>
<xsd:enumeration value="Summary"/>
<xsd:enumeration value="Tabular"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ReportGrouping">
<xsd:sequence>
<xsd:element name="aggregateType" minOccurs="0" type="tns:ReportAggrType"/>
<xsd:element name="dateGranularity" minOccurs="0" type="tns:UserDateGranularity"/>
<xsd:element name="field" type="xsd:string"/>
<xsd:element name="sortByName" minOccurs="0" type="xsd:string"/>
<xsd:element name="sortOrder" type="tns:SortOrder"/>
<xsd:element name="sortType" minOccurs="0" type="tns:ReportSortType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ReportAggrType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Sum"/>
<xsd:enumeration value="Average"/>
<xsd:enumeration value="Maximum"/>
<xsd:enumeration value="Minimum"/>
<xsd:enumeration value="RowCount"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="UserDateGranularity">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="Day"/>
<xsd:enumeration value="Week"/>
<xsd:enumeration value="Month"/>
<xsd:enumeration value="Quarter"/>
<xsd:enumeration value="Year"/>
<xsd:enumeration value="FiscalQuarter"/>
<xsd:enumeration value="FiscalYear"/>
<xsd:enumeration value="MonthInYear"/>
<xsd:enumeration value="DayInMonth"/>
<xsd:enumeration value="FiscalPeriod"/>
<xsd:enumeration value="FiscalWeek"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ReportSortType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Column"/>
<xsd:enumeration value="Aggregate"/>
<xsd:enumeration value="CustomSummaryFormula"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ReportHistoricalSelector">
<xsd:sequence>
<xsd:element name="snapshot" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReportParam">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReportTimeFrameFilter">
<xsd:sequence>
<xsd:element name="dateColumn" type="xsd:string"/>
<xsd:element name="endDate" minOccurs="0" type="xsd:date"/>
<xsd:element name="interval" type="tns:UserDateInterval"/>
<xsd:element name="startDate" minOccurs="0" type="xsd:date"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="UserDateInterval">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="INTERVAL_CURRENT"/>
<xsd:enumeration value="INTERVAL_CURNEXT1"/>
<xsd:enumeration value="INTERVAL_CURPREV1"/>
<xsd:enumeration value="INTERVAL_NEXT1"/>
<xsd:enumeration value="INTERVAL_PREV1"/>
<xsd:enumeration value="INTERVAL_CURNEXT3"/>
<xsd:enumeration value="INTERVAL_CURFY"/>
<xsd:enumeration value="INTERVAL_PREVFY"/>
<xsd:enumeration value="INTERVAL_PREV2FY"/>
<xsd:enumeration value="INTERVAL_AGO2FY"/>
<xsd:enumeration value="INTERVAL_NEXTFY"/>
<xsd:enumeration value="INTERVAL_PREVCURFY"/>
<xsd:enumeration value="INTERVAL_PREVCUR2FY"/>
<xsd:enumeration value="INTERVAL_CURNEXTFY"/>
<xsd:enumeration value="INTERVAL_CUSTOM"/>
<xsd:enumeration value="INTERVAL_YESTERDAY"/>
<xsd:enumeration value="INTERVAL_TODAY"/>
<xsd:enumeration value="INTERVAL_TOMORROW"/>
<xsd:enumeration value="INTERVAL_LASTWEEK"/>
<xsd:enumeration value="INTERVAL_THISWEEK"/>
<xsd:enumeration value="INTERVAL_NEXTWEEK"/>
<xsd:enumeration value="INTERVAL_LASTMONTH"/>
<xsd:enumeration value="INTERVAL_THISMONTH"/>
<xsd:enumeration value="INTERVAL_NEXTMONTH"/>
<xsd:enumeration value="INTERVAL_LASTTHISMONTH"/>
<xsd:enumeration value="INTERVAL_THISNEXTMONTH"/>
<xsd:enumeration value="INTERVAL_CURRENTQ"/>
<xsd:enumeration value="INTERVAL_CURNEXTQ"/>
<xsd:enumeration value="INTERVAL_CURPREVQ"/>
<xsd:enumeration value="INTERVAL_NEXTQ"/>
<xsd:enumeration value="INTERVAL_PREVQ"/>
<xsd:enumeration value="INTERVAL_CURNEXT3Q"/>
<xsd:enumeration value="INTERVAL_CURY"/>
<xsd:enumeration value="INTERVAL_PREVY"/>
<xsd:enumeration value="INTERVAL_PREV2Y"/>
<xsd:enumeration value="INTERVAL_AGO2Y"/>
<xsd:enumeration value="INTERVAL_NEXTY"/>
<xsd:enumeration value="INTERVAL_PREVCURY"/>
<xsd:enumeration value="INTERVAL_PREVCUR2Y"/>
<xsd:enumeration value="INTERVAL_CURNEXTY"/>
<xsd:enumeration value="INTERVAL_LAST7"/>
<xsd:enumeration value="INTERVAL_LAST30"/>
<xsd:enumeration value="INTERVAL_LAST60"/>
<xsd:enumeration value="INTERVAL_LAST90"/>
<xsd:enumeration value="INTERVAL_LAST120"/>
<xsd:enumeration value="INTERVAL_NEXT7"/>
<xsd:enumeration value="INTERVAL_NEXT30"/>
<xsd:enumeration value="INTERVAL_NEXT60"/>
<xsd:enumeration value="INTERVAL_NEXT90"/>
<xsd:enumeration value="INTERVAL_NEXT120"/>
<xsd:enumeration value="LAST_FISCALWEEK"/>
<xsd:enumeration value="THIS_FISCALWEEK"/>
<xsd:enumeration value="NEXT_FISCALWEEK"/>
<xsd:enumeration value="LAST_FISCALPERIOD"/>
<xsd:enumeration value="THIS_FISCALPERIOD"/>
<xsd:enumeration value="NEXT_FISCALPERIOD"/>
<xsd:enumeration value="LASTTHIS_FISCALPERIOD"/>
<xsd:enumeration value="THISNEXT_FISCALPERIOD"/>
<xsd:enumeration value="CURRENT_ENTITLEMENT_PERIOD"/>
<xsd:enumeration value="PREVIOUS_ENTITLEMENT_PERIOD"/>
<xsd:enumeration value="PREVIOUS_TWO_ENTITLEMENT_PERIODS"/>
<xsd:enumeration value="TWO_ENTITLEMENT_PERIODS_AGO"/>
<xsd:enumeration value="CURRENT_AND_PREVIOUS_ENTITLEMENT_PERIOD"/>
<xsd:enumeration value="CURRENT_AND_PREVIOUS_TWO_ENTITLEMENT_PERIODS"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ReportType">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="autogenerated" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="baseObject" type="xsd:string"/>
<xsd:element name="category" type="tns:ReportTypeCategory"/>
<xsd:element name="deployed" type="xsd:boolean"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="join" minOccurs="0" type="tns:ObjectRelationship"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="sections" minOccurs="0" maxOccurs="unbounded" type="tns:ReportLayoutSection"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="ReportTypeCategory">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="accounts"/>
<xsd:enumeration value="opportunities"/>
<xsd:enumeration value="forecasts"/>
<xsd:enumeration value="cases"/>
<xsd:enumeration value="leads"/>
<xsd:enumeration value="campaigns"/>
<xsd:enumeration value="activities"/>
<xsd:enumeration value="busop"/>
<xsd:enumeration value="products"/>
<xsd:enumeration value="admin"/>
<xsd:enumeration value="territory"/>
<xsd:enumeration value="other"/>
<xsd:enumeration value="content"/>
<xsd:enumeration value="usage_entitlement"/>
<xsd:enumeration value="wdc"/>
<xsd:enumeration value="calibration"/>
<xsd:enumeration value="territory2"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ObjectRelationship">
<xsd:sequence>
<xsd:element name="join" minOccurs="0" type="tns:ObjectRelationship"/>
<xsd:element name="outerJoin" type="xsd:boolean"/>
<xsd:element name="relationship" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReportLayoutSection">
<xsd:sequence>
<xsd:element name="columns" minOccurs="0" maxOccurs="unbounded" type="tns:ReportTypeColumn"/>
<xsd:element name="masterLabel" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReportTypeColumn">
<xsd:sequence>
<xsd:element name="checkedByDefault" type="xsd:boolean"/>
<xsd:element name="displayNameOverride" minOccurs="0" type="xsd:string"/>
<xsd:element name="field" type="xsd:string"/>
<xsd:element name="table" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RoleOrTerritory">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="caseAccessLevel" minOccurs="0" type="xsd:string"/>
<xsd:element name="contactAccessLevel" minOccurs="0" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="mayForecastManagerShare" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="opportunityAccessLevel" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Role">
<xsd:complexContent>
<xsd:extension base="tns:RoleOrTerritory">
<xsd:sequence>
<xsd:element name="parentRole" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Territory">
<xsd:complexContent>
<xsd:extension base="tns:RoleOrTerritory">
<xsd:sequence>
<xsd:element name="accountAccessLevel" minOccurs="0" type="xsd:string"/>
<xsd:element name="parentTerritory" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="SamlSsoConfig">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="attributeName" minOccurs="0" type="xsd:string"/>
<xsd:element name="attributeNameIdFormat" minOccurs="0" type="xsd:string"/>
<xsd:element name="decryptionCertificate" minOccurs="0" type="xsd:string"/>
<xsd:element name="errorUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="identityLocation" type="tns:SamlIdentityLocationType"/>
<xsd:element name="identityMapping" type="tns:SamlIdentityType"/>
<xsd:element name="issuer" type="xsd:string"/>
<xsd:element name="loginUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="logoutUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="oauthTokenEndpoint" minOccurs="0" type="xsd:string"/>
<xsd:element name="redirectBinding" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="salesforceLoginUrl" minOccurs="0" type="xsd:string"/>
<xsd:element name="samlEntityId" type="xsd:string"/>
<xsd:element name="samlVersion" type="tns:SamlType"/>
<xsd:element name="userProvisioning" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="validationCert" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="SamlIdentityLocationType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="SubjectNameId"/>
<xsd:enumeration value="Attribute"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="SamlIdentityType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Username"/>
<xsd:enumeration value="FederationId"/>
<xsd:enumeration value="UserId"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="SamlType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="SAML1_1"/>
<xsd:enumeration value="SAML2_0"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="SecuritySettings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="networkAccess" minOccurs="0" type="tns:NetworkAccess"/>
<xsd:element name="passwordPolicies" minOccurs="0" type="tns:PasswordPolicies"/>
<xsd:element name="sessionSettings" minOccurs="0" type="tns:SessionSettings"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="NetworkAccess">
<xsd:sequence>
<xsd:element name="ipRanges" minOccurs="0" maxOccurs="unbounded" type="tns:IpRange"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="IpRange">
<xsd:sequence>
<xsd:element name="end" minOccurs="0" type="xsd:string"/>
<xsd:element name="start" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PasswordPolicies">
<xsd:sequence>
<xsd:element name="apiOnlyUserHomePageURL" minOccurs="0" type="xsd:string"/>
<xsd:element name="complexity" minOccurs="0" type="tns:Complexity"/>
<xsd:element name="expiration" minOccurs="0" type="tns:Expiration"/>
<xsd:element name="historyRestriction" minOccurs="0" type="xsd:string"/>
<xsd:element name="lockoutInterval" minOccurs="0" type="tns:LockoutInterval"/>
<xsd:element name="maxLoginAttempts" minOccurs="0" type="tns:MaxLoginAttempts"/>
<xsd:element name="minPasswordLength" minOccurs="0" type="tns:MinPasswordLength"/>
<xsd:element name="minimumPasswordLifetime" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="obscureSecretAnswer" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="passwordAssistanceMessage" minOccurs="0" type="xsd:string"/>
<xsd:element name="passwordAssistanceURL" minOccurs="0" type="xsd:string"/>
<xsd:element name="questionRestriction" minOccurs="0" type="tns:QuestionRestriction"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="Complexity">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="NoRestriction"/>
<xsd:enumeration value="AlphaNumeric"/>
<xsd:enumeration value="SpecialCharacters"/>
<xsd:enumeration value="UpperLowerCaseNumeric"/>
<xsd:enumeration value="UpperLowerCaseNumericSpecialCharacters"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Expiration">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ThirtyDays"/>
<xsd:enumeration value="SixtyDays"/>
<xsd:enumeration value="NinetyDays"/>
<xsd:enumeration value="SixMonths"/>
<xsd:enumeration value="OneYear"/>
<xsd:enumeration value="Never"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="LockoutInterval">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="FifteenMinutes"/>
<xsd:enumeration value="ThirtyMinutes"/>
<xsd:enumeration value="SixtyMinutes"/>
<xsd:enumeration value="Forever"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="MaxLoginAttempts">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ThreeAttempts"/>
<xsd:enumeration value="FiveAttempts"/>
<xsd:enumeration value="TenAttempts"/>
<xsd:enumeration value="NoLimit"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="MinPasswordLength">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="FiveCharacters"/>
<xsd:enumeration value="EightCharacters"/>
<xsd:enumeration value="TenCharacters"/>
<xsd:enumeration value="TwelveCharacters"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="QuestionRestriction">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="DoesNotContainPassword"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="SessionSettings">
<xsd:sequence>
<xsd:element name="disableTimeoutWarning" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableCSRFOnGet" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableCSRFOnPost" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableCacheAndAutocomplete" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableClickjackNonsetupSFDC" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableClickjackNonsetupUser" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableClickjackSetup" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enablePostForSessions" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="enableSMSIdentity" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="forceLogoutOnSessionTimeout" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="forceRelogin" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="lockSessionsToIp" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="sessionTimeout" minOccurs="0" type="tns:SessionTimeout"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="SessionTimeout">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="TwelveHours"/>
<xsd:enumeration value="EightHours"/>
<xsd:enumeration value="FourHours"/>
<xsd:enumeration value="TwoHours"/>
<xsd:enumeration value="SixtyMinutes"/>
<xsd:enumeration value="ThirtyMinutes"/>
<xsd:enumeration value="FifteenMinutes"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="SharingRules">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="AccountSharingRules">
<xsd:complexContent>
<xsd:extension base="tns:SharingRules">
<xsd:sequence>
<xsd:element name="criteriaBasedRules" minOccurs="0" maxOccurs="unbounded" type="tns:AccountCriteriaBasedSharingRule"/>
<xsd:element name="ownerRules" minOccurs="0" maxOccurs="unbounded" type="tns:AccountOwnerSharingRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="AccountTerritorySharingRules">
<xsd:complexContent>
<xsd:extension base="tns:SharingRules">
<xsd:sequence>
<xsd:element name="rules" minOccurs="0" maxOccurs="unbounded" type="tns:AccountTerritorySharingRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CampaignSharingRules">
<xsd:complexContent>
<xsd:extension base="tns:SharingRules">
<xsd:sequence>
<xsd:element name="criteriaBasedRules" minOccurs="0" maxOccurs="unbounded" type="tns:CampaignCriteriaBasedSharingRule"/>
<xsd:element name="ownerRules" minOccurs="0" maxOccurs="unbounded" type="tns:CampaignOwnerSharingRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CaseSharingRules">
<xsd:complexContent>
<xsd:extension base="tns:SharingRules">
<xsd:sequence>
<xsd:element name="criteriaBasedRules" minOccurs="0" maxOccurs="unbounded" type="tns:CaseCriteriaBasedSharingRule"/>
<xsd:element name="ownerRules" minOccurs="0" maxOccurs="unbounded" type="tns:CaseOwnerSharingRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="ContactSharingRules">
<xsd:complexContent>
<xsd:extension base="tns:SharingRules">
<xsd:sequence>
<xsd:element name="criteriaBasedRules" minOccurs="0" maxOccurs="unbounded" type="tns:ContactCriteriaBasedSharingRule"/>
<xsd:element name="ownerRules" minOccurs="0" maxOccurs="unbounded" type="tns:ContactOwnerSharingRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CustomObjectSharingRules">
<xsd:complexContent>
<xsd:extension base="tns:SharingRules">
<xsd:sequence>
<xsd:element name="criteriaBasedRules" minOccurs="0" maxOccurs="unbounded" type="tns:CustomObjectCriteriaBasedSharingRule"/>
<xsd:element name="ownerRules" minOccurs="0" maxOccurs="unbounded" type="tns:CustomObjectOwnerSharingRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="LeadSharingRules">
<xsd:complexContent>
<xsd:extension base="tns:SharingRules">
<xsd:sequence>
<xsd:element name="criteriaBasedRules" minOccurs="0" maxOccurs="unbounded" type="tns:LeadCriteriaBasedSharingRule"/>
<xsd:element name="ownerRules" minOccurs="0" maxOccurs="unbounded" type="tns:LeadOwnerSharingRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="OpportunitySharingRules">
<xsd:complexContent>
<xsd:extension base="tns:SharingRules">
<xsd:sequence>
<xsd:element name="criteriaBasedRules" minOccurs="0" maxOccurs="unbounded" type="tns:OpportunityCriteriaBasedSharingRule"/>
<xsd:element name="ownerRules" minOccurs="0" maxOccurs="unbounded" type="tns:OpportunityOwnerSharingRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="UserSharingRules">
<xsd:complexContent>
<xsd:extension base="tns:SharingRules">
<xsd:sequence>
<xsd:element name="criteriaBasedRules" minOccurs="0" maxOccurs="unbounded" type="tns:UserCriteriaBasedSharingRule"/>
<xsd:element name="membershipRules" minOccurs="0" maxOccurs="unbounded" type="tns:UserMembershipSharingRule"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="SharingSet">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="accessMappings" minOccurs="0" maxOccurs="unbounded" type="tns:AccessMapping"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="profiles" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="AccessMapping">
<xsd:sequence>
<xsd:element name="accessLevel" type="xsd:string"/>
<xsd:element name="object" type="xsd:string"/>
<xsd:element name="objectField" type="xsd:string"/>
<xsd:element name="userField" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Skill">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="assignments" minOccurs="0" type="tns:SkillAssignments"/>
<xsd:element name="label" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="SkillAssignments">
<xsd:sequence>
<xsd:element name="profiles" minOccurs="0" type="tns:SkillProfileAssignments"/>
<xsd:element name="users" minOccurs="0" type="tns:SkillUserAssignments"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SkillProfileAssignments">
<xsd:sequence>
<xsd:element name="profile" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SkillUserAssignments">
<xsd:sequence>
<xsd:element name="user" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SynonymDictionary">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="groups" minOccurs="0" maxOccurs="unbounded" type="tns:SynonymGroup"/>
<xsd:element name="isProtected" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="label" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="SynonymGroup">
<xsd:sequence>
<xsd:element name="languages" minOccurs="0" maxOccurs="unbounded" type="tns:Language"/>
<xsd:element name="terms" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Territory2">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="accountAccessLevel" minOccurs="0" type="xsd:string"/>
<xsd:element name="caseAccessLevel" minOccurs="0" type="xsd:string"/>
<xsd:element name="contactAccessLevel" minOccurs="0" type="xsd:string"/>
<xsd:element name="customFields" minOccurs="0" maxOccurs="unbounded" type="tns:FieldValue"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="opportunityAccessLevel" minOccurs="0" type="xsd:string"/>
<xsd:element name="parentTerritory" minOccurs="0" type="xsd:string"/>
<xsd:element name="ruleAssociations" minOccurs="0" maxOccurs="unbounded" type="tns:Territory2RuleAssociation"/>
<xsd:element name="territory2Type" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="FieldValue">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" type="xsd:anyType" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Territory2RuleAssociation">
<xsd:sequence>
<xsd:element name="inherited" type="xsd:boolean"/>
<xsd:element name="ruleName" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Territory2Model">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="customFields" minOccurs="0" maxOccurs="unbounded" type="tns:FieldValue"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Territory2Rule">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="active" type="xsd:boolean"/>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="objectType" type="xsd:string"/>
<xsd:element name="ruleItems" minOccurs="0" maxOccurs="unbounded" type="tns:Territory2RuleItem"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Territory2RuleItem">
<xsd:sequence>
<xsd:element name="field" type="xsd:string"/>
<xsd:element name="operation" type="tns:FilterOperation"/>
<xsd:element name="value" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Territory2Settings">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="defaultAccountAccessLevel" minOccurs="0" type="xsd:string"/>
<xsd:element name="defaultCaseAccessLevel" minOccurs="0" type="xsd:string"/>
<xsd:element name="defaultContactAccessLevel" minOccurs="0" type="xsd:string"/>
<xsd:element name="defaultOpportunityAccessLevel" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Territory2Type">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Translations">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="customApplications" minOccurs="0" maxOccurs="unbounded" type="tns:CustomApplicationTranslation"/>
<xsd:element name="customDataTypeTranslations" minOccurs="0" maxOccurs="unbounded" type="tns:CustomDataTypeTranslation"/>
<xsd:element name="customLabels" minOccurs="0" maxOccurs="unbounded" type="tns:CustomLabelTranslation"/>
<xsd:element name="customPageWebLinks" minOccurs="0" maxOccurs="unbounded" type="tns:CustomPageWebLinkTranslation"/>
<xsd:element name="customTabs" minOccurs="0" maxOccurs="unbounded" type="tns:CustomTabTranslation"/>
<xsd:element name="quickActions" minOccurs="0" maxOccurs="unbounded" type="tns:GlobalQuickActionTranslation"/>
<xsd:element name="reportTypes" minOccurs="0" maxOccurs="unbounded" type="tns:ReportTypeTranslation"/>
<xsd:element name="scontrols" minOccurs="0" maxOccurs="unbounded" type="tns:ScontrolTranslation"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="CustomApplicationTranslation">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomDataTypeTranslation">
<xsd:sequence>
<xsd:element name="components" minOccurs="0" maxOccurs="unbounded" type="tns:CustomDataTypeComponentTranslation"/>
<xsd:element name="customDataTypeName" type="xsd:string"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomDataTypeComponentTranslation">
<xsd:sequence>
<xsd:element name="developerSuffix" type="xsd:string"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomLabelTranslation">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomPageWebLinkTranslation">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomTabTranslation">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GlobalQuickActionTranslation">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReportTypeTranslation">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="sections" minOccurs="0" maxOccurs="unbounded" type="tns:ReportTypeSectionTranslation"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReportTypeSectionTranslation">
<xsd:sequence>
<xsd:element name="columns" minOccurs="0" maxOccurs="unbounded" type="tns:ReportTypeColumnTranslation"/>
<xsd:element name="label" minOccurs="0" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReportTypeColumnTranslation">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ScontrolTranslation">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="VisualizationPlugin">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="developerName" type="xsd:string"/>
<xsd:element name="icon" type="xsd:string"/>
<xsd:element name="masterLabel" type="xsd:string"/>
<xsd:element name="visualizationResources" minOccurs="0" maxOccurs="unbounded" type="tns:VisualizationResource"/>
<xsd:element name="visualizationTypes" minOccurs="0" maxOccurs="unbounded" type="tns:VisualizationType"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="VisualizationResource">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="file" type="xsd:string"/>
<xsd:element name="rank" minOccurs="0" type="xsd:int"/>
<xsd:element name="type" type="tns:VisualizationResourceType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="VisualizationResourceType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="js"/>
<xsd:enumeration value="css"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="VisualizationType">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="developerName" type="xsd:string"/>
<xsd:element name="icon" type="xsd:string"/>
<xsd:element name="masterLabel" type="xsd:string"/>
<xsd:element name="scriptBootstrapMethod" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Workflow">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="alerts" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowAlert"/>
<xsd:element name="fieldUpdates" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowFieldUpdate"/>
<xsd:element name="flowActions" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowFlowAction"/>
<xsd:element name="knowledgePublishes" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowKnowledgePublish"/>
<xsd:element name="outboundMessages" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowOutboundMessage"/>
<xsd:element name="rules" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowRule"/>
<xsd:element name="send" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowSend"/>
<xsd:element name="tasks" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowTask"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="WorkflowAlert">
<xsd:complexContent>
<xsd:extension base="tns:WorkflowAction">
<xsd:sequence>
<xsd:element name="ccEmails" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="description" type="xsd:string"/>
<xsd:element name="protected" type="xsd:boolean"/>
<xsd:element name="recipients" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowEmailRecipient"/>
<xsd:element name="senderAddress" minOccurs="0" type="xsd:string"/>
<xsd:element name="senderType" minOccurs="0" type="tns:ActionEmailSenderType"/>
<xsd:element name="template" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="WorkflowAction">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="WorkflowFieldUpdate">
<xsd:complexContent>
<xsd:extension base="tns:WorkflowAction">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="field" type="xsd:string"/>
<xsd:element name="formula" minOccurs="0" type="xsd:string"/>
<xsd:element name="literalValue" minOccurs="0" type="xsd:string"/>
<xsd:element name="lookupValue" minOccurs="0" type="xsd:string"/>
<xsd:element name="lookupValueType" minOccurs="0" type="tns:LookupValueType"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="notifyAssignee" type="xsd:boolean"/>
<xsd:element name="operation" type="tns:FieldUpdateOperation"/>
<xsd:element name="protected" type="xsd:boolean"/>
<xsd:element name="reevaluateOnChange" minOccurs="0" type="xsd:boolean"/>
<xsd:element name="targetObject" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="LookupValueType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="User"/>
<xsd:enumeration value="Queue"/>
<xsd:enumeration value="RecordType"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="FieldUpdateOperation">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Formula"/>
<xsd:enumeration value="Literal"/>
<xsd:enumeration value="Null"/>
<xsd:enumeration value="NextValue"/>
<xsd:enumeration value="PreviousValue"/>
<xsd:enumeration value="LookupValue"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="WorkflowFlowAction">
<xsd:complexContent>
<xsd:extension base="tns:WorkflowAction">
<xsd:sequence>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="flow" type="xsd:string"/>
<xsd:element name="flowInputs" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowFlowActionParameter"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="language" minOccurs="0" type="xsd:string"/>
<xsd:element name="protected" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="WorkflowFlowActionParameter">
<xsd:sequence>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="value" minOccurs="0" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="WorkflowKnowledgePublish">
<xsd:complexContent>
<xsd:extension base="tns:WorkflowAction">
<xsd:sequence>
<xsd:element name="action" type="tns:KnowledgeWorkflowAction"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="language" minOccurs="0" type="xsd:string"/>
<xsd:element name="protected" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="KnowledgeWorkflowAction">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="PublishAsNew"/>
<xsd:enumeration value="Publish"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="WorkflowOutboundMessage">
<xsd:complexContent>
<xsd:extension base="tns:WorkflowAction">
<xsd:sequence>
<xsd:element name="apiVersion" type="xsd:double"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="endpointUrl" type="xsd:string"/>
<xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="includeSessionId" type="xsd:boolean"/>
<xsd:element name="integrationUser" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="protected" type="xsd:boolean"/>
<xsd:element name="useDeadLetterQueue" minOccurs="0" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="WorkflowSend">
<xsd:complexContent>
<xsd:extension base="tns:WorkflowAction">
<xsd:sequence>
<xsd:element name="action" type="tns:SendAction"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="language" minOccurs="0" type="xsd:string"/>
<xsd:element name="protected" type="xsd:boolean"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="SendAction">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Send"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="WorkflowTask">
<xsd:complexContent>
<xsd:extension base="tns:WorkflowAction">
<xsd:sequence>
<xsd:element name="assignedTo" minOccurs="0" type="xsd:string"/>
<xsd:element name="assignedToType" type="tns:ActionTaskAssignedToTypes"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="dueDateOffset" type="xsd:int"/>
<xsd:element name="notifyAssignee" type="xsd:boolean"/>
<xsd:element name="offsetFromField" minOccurs="0" type="xsd:string"/>
<xsd:element name="priority" type="xsd:string"/>
<xsd:element name="protected" type="xsd:boolean"/>
<xsd:element name="status" type="xsd:string"/>
<xsd:element name="subject" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="ActionTaskAssignedToTypes">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="user"/>
<xsd:enumeration value="role"/>
<xsd:enumeration value="opportunityTeam"/>
<xsd:enumeration value="accountTeam"/>
<xsd:enumeration value="owner"/>
<xsd:enumeration value="accountOwner"/>
<xsd:enumeration value="creator"/>
<xsd:enumeration value="accountCreator"/>
<xsd:enumeration value="partnerUser"/>
<xsd:enumeration value="portalRole"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="WorkflowEmailRecipient">
<xsd:sequence>
<xsd:element name="field" minOccurs="0" type="xsd:string"/>
<xsd:element name="recipient" minOccurs="0" type="xsd:string"/>
<xsd:element name="type" type="tns:ActionEmailRecipientTypes"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="ActionEmailRecipientTypes">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="group"/>
<xsd:enumeration value="role"/>
<xsd:enumeration value="user"/>
<xsd:enumeration value="opportunityTeam"/>
<xsd:enumeration value="accountTeam"/>
<xsd:enumeration value="roleSubordinates"/>
<xsd:enumeration value="owner"/>
<xsd:enumeration value="creator"/>
<xsd:enumeration value="partnerUser"/>
<xsd:enumeration value="accountOwner"/>
<xsd:enumeration value="customerPortalUser"/>
<xsd:enumeration value="portalRole"/>
<xsd:enumeration value="portalRoleSubordinates"/>
<xsd:enumeration value="contactLookup"/>
<xsd:enumeration value="userLookup"/>
<xsd:enumeration value="roleSubordinatesInternal"/>
<xsd:enumeration value="email"/>
<xsd:enumeration value="caseTeam"/>
<xsd:enumeration value="campaignMemberDerivedOwner"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="ActionEmailSenderType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="CurrentUser"/>
<xsd:enumeration value="OrgWideEmailAddress"/>
<xsd:enumeration value="DefaultWorkflowUser"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="WorkflowRule">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="actions" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowActionReference"/>
<xsd:element name="active" type="xsd:boolean"/>
<xsd:element name="booleanFilter" minOccurs="0" type="xsd:string"/>
<xsd:element name="criteriaItems" minOccurs="0" maxOccurs="unbounded" type="tns:FilterItem"/>
<xsd:element name="description" minOccurs="0" type="xsd:string"/>
<xsd:element name="formula" minOccurs="0" type="xsd:string"/>
<xsd:element name="triggerType" type="tns:WorkflowTriggerTypes"/>
<xsd:element name="workflowTimeTriggers" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowTimeTrigger"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="WorkflowTriggerTypes">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="onCreateOnly"/>
<xsd:enumeration value="onCreateOrTriggeringUpdate"/>
<xsd:enumeration value="onAllChanges"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="WorkflowTimeTrigger">
<xsd:sequence>
<xsd:element name="actions" minOccurs="0" maxOccurs="unbounded" type="tns:WorkflowActionReference"/>
<xsd:element name="offsetFromField" minOccurs="0" type="xsd:string"/>
<xsd:element name="timeLength" minOccurs="0" type="xsd:string"/>
<xsd:element name="workflowTimeTriggerUnit" type="tns:WorkflowTimeUnits"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="WorkflowTimeUnits">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Hours"/>
<xsd:enumeration value="Days"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="XOrgHub">
<xsd:complexContent>
<xsd:extension base="tns:Metadata">
<xsd:sequence>
<xsd:element name="label" type="xsd:string"/>
<xsd:element name="lockSharedObjects" type="xsd:boolean"/>
<xsd:element name="permissionSets" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="sharedObjects" minOccurs="0" maxOccurs="unbounded" type="tns:XOrgHubSharedObject"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="XOrgHubSharedObject">
<xsd:sequence>
<xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="name" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="SaveResult">
<xsd:sequence>
<xsd:element name="errors" minOccurs="0" maxOccurs="unbounded" type="tns:Error"/>
<xsd:element name="fullName" type="xsd:string"/>
<xsd:element name="success" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Error">
<xsd:sequence>
<xsd:element name="fields" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="message" type="xsd:string"/>
<xsd:element name="statusCode" type="tns:StatusCode"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DeleteResult">
<xsd:sequence>
<xsd:element name="errors" minOccurs="0" maxOccurs="unbounded" type="tns:Error"/>
<xsd:element name="fullName" type="xsd:string"/>
<xsd:element name="success" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DeployOptions">
<xsd:sequence>
<xsd:element name="allowMissingFiles" type="xsd:boolean"/>
<xsd:element name="autoUpdatePackage" type="xsd:boolean"/>
<xsd:element name="checkOnly" type="xsd:boolean"/>
<xsd:element name="ignoreWarnings" type="xsd:boolean"/>
<xsd:element name="performRetrieve" type="xsd:boolean"/>
<xsd:element name="purgeOnDelete" type="xsd:boolean"/>
<xsd:element name="rollbackOnError" type="xsd:boolean"/>
<xsd:element name="runAllTests" type="xsd:boolean"/>
<xsd:element name="runTests" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="singlePackage" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AsyncResult">
<xsd:sequence>
<xsd:element name="done" type="xsd:boolean"/>
<xsd:element name="id" type="tns:ID"/>
<xsd:element name="message" minOccurs="0" type="xsd:string"/>
<xsd:element name="state" type="tns:AsyncRequestState"/>
<xsd:element name="statusCode" minOccurs="0" type="tns:StatusCode"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="AsyncRequestState">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Queued"/>
<xsd:enumeration value="InProgress"/>
<xsd:enumeration value="Completed"/>
<xsd:enumeration value="Error"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="DescribeMetadataResult">
<xsd:sequence>
<xsd:element name="metadataObjects" minOccurs="0" maxOccurs="unbounded" type="tns:DescribeMetadataObject"/>
<xsd:element name="organizationNamespace" type="xsd:string"/>
<xsd:element name="partialSaveAllowed" type="xsd:boolean"/>
<xsd:element name="testRequired" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="DescribeMetadataObject">
<xsd:sequence>
<xsd:element name="childXmlNames" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="directoryName" type="xsd:string"/>
<xsd:element name="inFolder" type="xsd:boolean"/>
<xsd:element name="metaFile" type="xsd:boolean"/>
<xsd:element name="suffix" minOccurs="0" type="xsd:string"/>
<xsd:element name="xmlName" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ListMetadataQuery">
<xsd:sequence>
<xsd:element name="folder" minOccurs="0" type="xsd:string"/>
<xsd:element name="type" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReadResult">
<xsd:sequence>
<xsd:element name="records" minOccurs="0" maxOccurs="unbounded" type="tns:Metadata"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="RetrieveRequest">
<xsd:sequence>
<xsd:element name="apiVersion" type="xsd:double"/>
<xsd:element name="packageNames" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="singlePackage" type="xsd:boolean"/>
<xsd:element name="specificFiles" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
<xsd:element name="unpackaged" minOccurs="0" type="tns:Package"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="UpsertResult">
<xsd:sequence>
<xsd:element name="created" type="xsd:boolean"/>
<xsd:element name="errors" minOccurs="0" maxOccurs="unbounded" type="tns:Error"/>
<xsd:element name="fullName" type="xsd:string"/>
<xsd:element name="success" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="CallOptions">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="client" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="DebuggingHeader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="categories" minOccurs="0" maxOccurs="unbounded" type="tns:LogInfo"/>
<xsd:element name="debugLevel" type="tns:LogType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="LogInfo">
<xsd:sequence>
<xsd:element name="category" type="tns:LogCategory"/>
<xsd:element name="level" type="tns:LogCategoryLevel"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="LogCategory">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Db"/>
<xsd:enumeration value="Workflow"/>
<xsd:enumeration value="Validation"/>
<xsd:enumeration value="Callout"/>
<xsd:enumeration value="Apex_code"/>
<xsd:enumeration value="Apex_profiling"/>
<xsd:enumeration value="Visualforce"/>
<xsd:enumeration value="System"/>
<xsd:enumeration value="All"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="LogCategoryLevel">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Internal"/>
<xsd:enumeration value="Finest"/>
<xsd:enumeration value="Finer"/>
<xsd:enumeration value="Fine"/>
<xsd:enumeration value="Debug"/>
<xsd:enumeration value="Info"/>
<xsd:enumeration value="Warn"/>
<xsd:enumeration value="Error"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="LogType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None"/>
<xsd:enumeration value="Debugonly"/>
<xsd:enumeration value="Db"/>
<xsd:enumeration value="Profiling"/>
<xsd:enumeration value="Callout"/>
<xsd:enumeration value="Detail"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="DebuggingInfo">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="debugLog" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="SessionHeader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="sessionId" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:simpleType name="ID">
<xsd:restriction base="xsd:string">
<xsd:length value="18"/>
<xsd:pattern value="[a-zA-Z0-9]{18}"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="StatusCode">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ALL_OR_NONE_OPERATION_ROLLED_BACK"/>
<xsd:enumeration value="ALREADY_IN_PROCESS"/>
<xsd:enumeration value="ASSIGNEE_TYPE_REQUIRED"/>
<xsd:enumeration value="BAD_CUSTOM_ENTITY_PARENT_DOMAIN"/>
<xsd:enumeration value="BCC_NOT_ALLOWED_IF_BCC_COMPLIANCE_ENABLED"/>
<xsd:enumeration value="CANNOT_CASCADE_PRODUCT_ACTIVE"/>
<xsd:enumeration value="CANNOT_CHANGE_FIELD_TYPE_OF_APEX_REFERENCED_FIELD"/>
<xsd:enumeration value="CANNOT_CHANGE_FIELD_TYPE_OF_REFERENCED_FIELD"/>
<xsd:enumeration value="CANNOT_CREATE_ANOTHER_MANAGED_PACKAGE"/>
<xsd:enumeration value="CANNOT_DEACTIVATE_DIVISION"/>
<xsd:enumeration value="CANNOT_DELETE_GLOBAL_ACTION_LIST"/>
<xsd:enumeration value="CANNOT_DELETE_LAST_DATED_CONVERSION_RATE"/>
<xsd:enumeration value="CANNOT_DELETE_MANAGED_OBJECT"/>
<xsd:enumeration value="CANNOT_DISABLE_LAST_ADMIN"/>
<xsd:enumeration value="CANNOT_ENABLE_IP_RESTRICT_REQUESTS"/>
<xsd:enumeration value="CANNOT_EXECUTE_FLOW_TRIGGER"/>
<xsd:enumeration value="CANNOT_FREEZE_SELF"/>
<xsd:enumeration value="CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY"/>
<xsd:enumeration value="CANNOT_MODIFY_MANAGED_OBJECT"/>
<xsd:enumeration value="CANNOT_PASSWORD_LOCKOUT"/>
<xsd:enumeration value="CANNOT_POST_TO_ARCHIVED_GROUP"/>
<xsd:enumeration value="CANNOT_RENAME_APEX_REFERENCED_FIELD"/>
<xsd:enumeration value="CANNOT_RENAME_APEX_REFERENCED_OBJECT"/>
<xsd:enumeration value="CANNOT_RENAME_REFERENCED_FIELD"/>
<xsd:enumeration value="CANNOT_RENAME_REFERENCED_OBJECT"/>
<xsd:enumeration value="CANNOT_REPARENT_RECORD"/>
<xsd:enumeration value="CANNOT_UPDATE_CONVERTED_LEAD"/>
<xsd:enumeration value="CANT_DISABLE_CORP_CURRENCY"/>
<xsd:enumeration value="CANT_UNSET_CORP_CURRENCY"/>
<xsd:enumeration value="CHILD_SHARE_FAILS_PARENT"/>
<xsd:enumeration value="CIRCULAR_DEPENDENCY"/>
<xsd:enumeration value="COLLISION_DETECTED"/>
<xsd:enumeration value="COMMUNITY_NOT_ACCESSIBLE"/>
<xsd:enumeration value="CUSTOM_APEX_ERROR"/>
<xsd:enumeration value="CUSTOM_CLOB_FIELD_LIMIT_EXCEEDED"/>
<xsd:enumeration value="CUSTOM_ENTITY_OR_FIELD_LIMIT"/>
<xsd:enumeration value="CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED"/>
<xsd:enumeration value="CUSTOM_INDEX_EXISTS"/>
<xsd:enumeration value="CUSTOM_LINK_LIMIT_EXCEEDED"/>
<xsd:enumeration value="CUSTOM_METADATA_LIMIT_EXCEEDED"/>
<xsd:enumeration value="CUSTOM_TAB_LIMIT_EXCEEDED"/>
<xsd:enumeration value="DELETE_FAILED"/>
<xsd:enumeration value="DELETE_OPERATION_TOO_LARGE"/>
<xsd:enumeration value="DELETE_REQUIRED_ON_CASCADE"/>
<xsd:enumeration value="DEPENDENCY_EXISTS"/>
<xsd:enumeration value="DUPLICATES_DETECTED"/>
<xsd:enumeration value="DUPLICATE_CASE_SOLUTION"/>
<xsd:enumeration value="DUPLICATE_COMM_NICKNAME"/>
<xsd:enumeration value="DUPLICATE_CUSTOM_ENTITY_DEFINITION"/>
<xsd:enumeration value="DUPLICATE_CUSTOM_TAB_MOTIF"/>
<xsd:enumeration value="DUPLICATE_DEVELOPER_NAME"/>
<xsd:enumeration value="DUPLICATE_EXTERNAL_ID"/>
<xsd:enumeration value="DUPLICATE_MASTER_LABEL"/>
<xsd:enumeration value="DUPLICATE_SENDER_DISPLAY_NAME"/>
<xsd:enumeration value="DUPLICATE_USERNAME"/>
<xsd:enumeration value="DUPLICATE_VALUE"/>
<xsd:enumeration value="EMAIL_NOT_PROCESSED_DUE_TO_PRIOR_ERROR"/>
<xsd:enumeration value="EMPTY_SCONTROL_FILE_NAME"/>
<xsd:enumeration value="ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE"/>
<xsd:enumeration value="ENTITY_IS_ARCHIVED"/>
<xsd:enumeration value="ENTITY_IS_DELETED"/>
<xsd:enumeration value="ENTITY_IS_LOCKED"/>
<xsd:enumeration value="ENVIRONMENT_HUB_MEMBERSHIP_CONFLICT"/>
<xsd:enumeration value="ENVIRONMENT_HUB_MEMBERSHIP_ERROR_JOINING_HUB"/>
<xsd:enumeration value="ENVIRONMENT_HUB_MEMBERSHIP_USER_ALREADY_IN_HUB"/>
<xsd:enumeration value="ENVIRONMENT_HUB_MEMBERSHIP_USER_NOT_ORG_ADMIN"/>
<xsd:enumeration value="ERROR_IN_MAILER"/>
<xsd:enumeration value="FAILED_ACTIVATION"/>
<xsd:enumeration value="FIELD_CUSTOM_VALIDATION_EXCEPTION"/>
<xsd:enumeration value="FIELD_FILTER_VALIDATION_EXCEPTION"/>
<xsd:enumeration value="FIELD_INTEGRITY_EXCEPTION"/>
<xsd:enumeration value="FILTERED_LOOKUP_LIMIT_EXCEEDED"/>
<xsd:enumeration value="FIND_DUPLICATES_ERROR"/>
<xsd:enumeration value="HTML_FILE_UPLOAD_NOT_ALLOWED"/>
<xsd:enumeration value="IMAGE_TOO_LARGE"/>
<xsd:enumeration value="INACTIVE_OWNER_OR_USER"/>
<xsd:enumeration value="INSERT_UPDATE_DELETE_NOT_ALLOWED_DURING_MAINTENANCE"/>
<xsd:enumeration value="INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY"/>
<xsd:enumeration value="INSUFFICIENT_ACCESS_OR_READONLY"/>
<xsd:enumeration value="INSUFFICIENT_CREDITS"/>
<xsd:enumeration value="INVALID_ACCESS_LEVEL"/>
<xsd:enumeration value="INVALID_ARGUMENT_TYPE"/>
<xsd:enumeration value="INVALID_ASSIGNEE_TYPE"/>
<xsd:enumeration value="INVALID_ASSIGNMENT_RULE"/>
<xsd:enumeration value="INVALID_BATCH_OPERATION"/>
<xsd:enumeration value="INVALID_CONTENT_TYPE"/>
<xsd:enumeration value="INVALID_CREDIT_CARD_INFO"/>
<xsd:enumeration value="INVALID_CROSS_REFERENCE_KEY"/>
<xsd:enumeration value="INVALID_CROSS_REFERENCE_TYPE_FOR_FIELD"/>
<xsd:enumeration value="INVALID_CURRENCY_CONV_RATE"/>
<xsd:enumeration value="INVALID_CURRENCY_CORP_RATE"/>
<xsd:enumeration value="INVALID_CURRENCY_ISO"/>
<xsd:enumeration value="INVALID_DATA_CATEGORY_GROUP_REFERENCE"/>
<xsd:enumeration value="INVALID_DATA_URI"/>
<xsd:enumeration value="INVALID_EMAIL_ADDRESS"/>
<xsd:enumeration value="INVALID_EMPTY_KEY_OWNER"/>
<xsd:enumeration value="INVALID_ENTITY_FOR_MATCH_ENGINE_ERROR"/>
<xsd:enumeration value="INVALID_ENTITY_FOR_MATCH_OPERATION_ERROR"/>
<xsd:enumeration value="INVALID_EVENT_SUBSCRIPTION"/>
<xsd:enumeration value="INVALID_FIELD"/>
<xsd:enumeration value="INVALID_FIELD_FOR_INSERT_UPDATE"/>
<xsd:enumeration value="INVALID_FIELD_WHEN_USING_TEMPLATE"/>
<xsd:enumeration value="INVALID_FILTER_ACTION"/>
<xsd:enumeration value="INVALID_GOOGLE_DOCS_URL"/>
<xsd:enumeration value="INVALID_ID_FIELD"/>
<xsd:enumeration value="INVALID_INET_ADDRESS"/>
<xsd:enumeration value="INVALID_INPUT"/>
<xsd:enumeration value="INVALID_LINEITEM_CLONE_STATE"/>
<xsd:enumeration value="INVALID_MASTER_OR_TRANSLATED_SOLUTION"/>
<xsd:enumeration value="INVALID_MESSAGE_ID_REFERENCE"/>
<xsd:enumeration value="INVALID_OAUTH_URL"/>
<xsd:enumeration value="INVALID_OPERATION"/>
<xsd:enumeration value="INVALID_OPERATOR"/>
<xsd:enumeration value="INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST"/>
<xsd:enumeration value="INVALID_OWNER"/>
<xsd:enumeration value="INVALID_PACKAGE_LICENSE"/>
<xsd:enumeration value="INVALID_PACKAGE_VERSION"/>
<xsd:enumeration value="INVALID_PARTNER_NETWORK_STATUS"/>
<xsd:enumeration value="INVALID_PERSON_ACCOUNT_OPERATION"/>
<xsd:enumeration value="INVALID_QUERY_LOCATOR"/>
<xsd:enumeration value="INVALID_READ_ONLY_USER_DML"/>
<xsd:enumeration value="INVALID_SAVE_AS_ACTIVITY_FLAG"/>
<xsd:enumeration value="INVALID_SESSION_ID"/>
<xsd:enumeration value="INVALID_SETUP_OWNER"/>
<xsd:enumeration value="INVALID_SIGNUP_COUNTRY"/>
<xsd:enumeration value="INVALID_SITE_DELETE_EXCEPTION"/>
<xsd:enumeration value="INVALID_SITE_FILE_IMPORTED_EXCEPTION"/>
<xsd:enumeration value="INVALID_SITE_FILE_TYPE_EXCEPTION"/>
<xsd:enumeration value="INVALID_STATUS"/>
<xsd:enumeration value="INVALID_SUBDOMAIN"/>
<xsd:enumeration value="INVALID_TYPE"/>
<xsd:enumeration value="INVALID_TYPE_FOR_OPERATION"/>
<xsd:enumeration value="INVALID_TYPE_ON_FIELD_IN_RECORD"/>
<xsd:enumeration value="INVALID_USERID"/>
<xsd:enumeration value="IP_RANGE_LIMIT_EXCEEDED"/>
<xsd:enumeration value="JIGSAW_IMPORT_LIMIT_EXCEEDED"/>
<xsd:enumeration value="KEY_HAS_BEEN_DESTROYED"/>
<xsd:enumeration value="LICENSE_LIMIT_EXCEEDED"/>
<xsd:enumeration value="LIGHT_PORTAL_USER_EXCEPTION"/>
<xsd:enumeration value="LIMIT_EXCEEDED"/>
<xsd:enumeration value="MALFORMED_ID"/>
<xsd:enumeration value="MANAGER_NOT_DEFINED"/>
<xsd:enumeration value="MASSMAIL_RETRY_LIMIT_EXCEEDED"/>
<xsd:enumeration value="MASS_MAIL_LIMIT_EXCEEDED"/>
<xsd:enumeration value="MATCH_DEFINITION_ERROR"/>
<xsd:enumeration value="MATCH_OPERATION_ERROR"/>
<xsd:enumeration value="MATCH_OPERATION_INVALID_ENGINE_ERROR"/>
<xsd:enumeration value="MATCH_OPERATION_INVALID_RULE_ERROR"/>
<xsd:enumeration value="MATCH_OPERATION_MISSING_ENGINE_ERROR"/>
<xsd:enumeration value="MATCH_OPERATION_MISSING_OBJECT_TYPE_ERROR"/>
<xsd:enumeration value="MATCH_OPERATION_MISSING_OPTIONS_ERROR"/>
<xsd:enumeration value="MATCH_OPERATION_MISSING_RULE_ERROR"/>
<xsd:enumeration value="MATCH_OPERATION_UNKNOWN_RULE_ERROR"/>
<xsd:enumeration value="MATCH_OPERATION_UNSUPPORTED_VERSION_ERROR"/>
<xsd:enumeration value="MATCH_RUNTIME_ERROR"/>
<xsd:enumeration value="MATCH_SERVICE_UNAVAILABLE_ERROR"/>
<xsd:enumeration value="MAXIMUM_CCEMAILS_EXCEEDED"/>
<xsd:enumeration value="MAXIMUM_DASHBOARD_COMPONENTS_EXCEEDED"/>
<xsd:enumeration value="MAXIMUM_HIERARCHY_LEVELS_REACHED"/>
<xsd:enumeration value="MAXIMUM_SIZE_OF_ATTACHMENT"/>
<xsd:enumeration value="MAXIMUM_SIZE_OF_DOCUMENT"/>
<xsd:enumeration value="MAX_ACTIONS_PER_RULE_EXCEEDED"/>
<xsd:enumeration value="MAX_ACTIVE_RULES_EXCEEDED"/>
<xsd:enumeration value="MAX_APPROVAL_STEPS_EXCEEDED"/>
<xsd:enumeration value="MAX_FORMULAS_PER_RULE_EXCEEDED"/>
<xsd:enumeration value="MAX_RULES_EXCEEDED"/>
<xsd:enumeration value="MAX_RULE_ENTRIES_EXCEEDED"/>
<xsd:enumeration value="MAX_TASK_DESCRIPTION_EXCEEEDED"/>
<xsd:enumeration value="MAX_TM_RULES_EXCEEDED"/>
<xsd:enumeration value="MAX_TM_RULE_ITEMS_EXCEEDED"/>
<xsd:enumeration value="MERGE_FAILED"/>
<xsd:enumeration value="MISSING_ARGUMENT"/>
<xsd:enumeration value="MIXED_DML_OPERATION"/>
<xsd:enumeration value="NONUNIQUE_SHIPPING_ADDRESS"/>
<xsd:enumeration value="NO_APPLICABLE_PROCESS"/>
<xsd:enumeration value="NO_ATTACHMENT_PERMISSION"/>
<xsd:enumeration value="NO_INACTIVE_DIVISION_MEMBERS"/>
<xsd:enumeration value="NO_MASS_MAIL_PERMISSION"/>
<xsd:enumeration value="NO_SUCH_USER_EXISTS"/>
<xsd:enumeration value="NUMBER_OUTSIDE_VALID_RANGE"/>
<xsd:enumeration value="NUM_HISTORY_FIELDS_BY_SOBJECT_EXCEEDED"/>
<xsd:enumeration value="OPTED_OUT_OF_MASS_MAIL"/>
<xsd:enumeration value="OP_WITH_INVALID_USER_TYPE_EXCEPTION"/>
<xsd:enumeration value="PACKAGE_LICENSE_REQUIRED"/>
<xsd:enumeration value="PACKAGING_API_INSTALL_FAILED"/>
<xsd:enumeration value="PACKAGING_API_UNINSTALL_FAILED"/>
<xsd:enumeration value="PORTAL_NO_ACCESS"/>
<xsd:enumeration value="PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT"/>
<xsd:enumeration value="PRIVATE_CONTACT_ON_ASSET"/>
<xsd:enumeration value="QUERY_TIMEOUT"/>
<xsd:enumeration value="RECORD_IN_USE_BY_WORKFLOW"/>
<xsd:enumeration value="REPUTATION_MINIMUM_NUMBER_NOT_REACHED"/>
<xsd:enumeration value="REQUEST_RUNNING_TOO_LONG"/>
<xsd:enumeration value="REQUIRED_FEATURE_MISSING"/>
<xsd:enumeration value="REQUIRED_FIELD_MISSING"/>
<xsd:enumeration value="SELF_REFERENCE_FROM_FLOW"/>
<xsd:enumeration value="SELF_REFERENCE_FROM_TRIGGER"/>
<xsd:enumeration value="SHARE_NEEDED_FOR_CHILD_OWNER"/>
<xsd:enumeration value="SINGLE_EMAIL_LIMIT_EXCEEDED"/>
<xsd:enumeration value="STANDARD_PRICE_NOT_DEFINED"/>
<xsd:enumeration value="STORAGE_LIMIT_EXCEEDED"/>
<xsd:enumeration value="STRING_TOO_LONG"/>
<xsd:enumeration value="SUBDOMAIN_IN_USE"/>
<xsd:enumeration value="TABSET_LIMIT_EXCEEDED"/>
<xsd:enumeration value="TEMPLATE_NOT_ACTIVE"/>
<xsd:enumeration value="TEMPLATE_NOT_FOUND"/>
<xsd:enumeration value="TERRITORY_REALIGN_IN_PROGRESS"/>
<xsd:enumeration value="TEXT_DATA_OUTSIDE_SUPPORTED_CHARSET"/>
<xsd:enumeration value="TOO_MANY_APEX_REQUESTS"/>
<xsd:enumeration value="TOO_MANY_ENUM_VALUE"/>
<xsd:enumeration value="TOO_MANY_POSSIBLE_USERS_EXIST"/>
<xsd:enumeration value="TRANSFER_REQUIRES_READ"/>
<xsd:enumeration value="UNABLE_TO_LOCK_ROW"/>
<xsd:enumeration value="UNAVAILABLE_RECORDTYPE_EXCEPTION"/>
<xsd:enumeration value="UNDELETE_FAILED"/>
<xsd:enumeration value="UNKNOWN_EXCEPTION"/>
<xsd:enumeration value="UNSPECIFIED_EMAIL_ADDRESS"/>
<xsd:enumeration value="UNSUPPORTED_APEX_TRIGGER_OPERATON"/>
<xsd:enumeration value="UNVERIFIED_SENDER_ADDRESS"/>
<xsd:enumeration value="USER_OWNS_PORTAL_ACCOUNT_EXCEPTION"/>
<xsd:enumeration value="USER_WITH_APEX_SHARES_EXCEPTION"/>
<xsd:enumeration value="VF_COMPILE_ERROR"/>
<xsd:enumeration value="WEBLINK_SIZE_LIMIT_EXCEEDED"/>
<xsd:enumeration value="WEBLINK_URL_INVALID"/>
<xsd:enumeration value="WRONG_CONTROLLER_TYPE"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="cancelDeploy">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="String" type="tns:ID"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="cancelDeployResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" type="tns:CancelDeployResult"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="checkDeployStatus">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="asyncProcessId" type="tns:ID"/>
<xsd:element name="includeDetails" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="checkDeployStatusResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" type="tns:DeployResult"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="checkRetrieveStatus">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="asyncProcessId" type="tns:ID"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="checkRetrieveStatusResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" type="tns:RetrieveResult"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="createMetadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="metadata" minOccurs="0" maxOccurs="unbounded" type="tns:Metadata"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="createMetadataResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" minOccurs="0" maxOccurs="unbounded" type="tns:SaveResult"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="deleteMetadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="type" type="xsd:string"/>
<xsd:element name="fullNames" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="deleteMetadataResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" minOccurs="0" maxOccurs="unbounded" type="tns:DeleteResult"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="deploy">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ZipFile" type="xsd:base64Binary"/>
<xsd:element name="DeployOptions" type="tns:DeployOptions"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="deployResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" type="tns:AsyncResult"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="describeMetadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="asOfVersion" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="describeMetadataResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" type="tns:DescribeMetadataResult"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="listMetadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="queries" minOccurs="0" maxOccurs="unbounded" type="tns:ListMetadataQuery"/>
<xsd:element name="asOfVersion" type="xsd:double"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="listMetadataResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" minOccurs="0" maxOccurs="unbounded" type="tns:FileProperties"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="readMetadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="type" type="xsd:string"/>
<xsd:element name="fullNames" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="readMetadataResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" type="tns:ReadResult"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="renameMetadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="type" type="xsd:string"/>
<xsd:element name="oldFullName" type="xsd:string"/>
<xsd:element name="newFullName" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="renameMetadataResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" type="tns:SaveResult"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="retrieve">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="retrieveRequest" type="tns:RetrieveRequest"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="retrieveResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" type="tns:AsyncResult"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="updateMetadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="metadata" minOccurs="0" maxOccurs="unbounded" type="tns:Metadata"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="updateMetadataResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" minOccurs="0" maxOccurs="unbounded" type="tns:SaveResult"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="upsertMetadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="metadata" minOccurs="0" maxOccurs="unbounded" type="tns:Metadata"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="upsertMetadataResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="result" minOccurs="0" maxOccurs="unbounded" type="tns:UpsertResult"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</types>
<!-- Message for the header parts -->
<message name="Header">
<part name="CallOptions" element="tns:CallOptions"/>
<part name="DebuggingHeader" element="tns:DebuggingHeader"/>
<part name="DebuggingInfo" element="tns:DebuggingInfo"/>
<part name="SessionHeader" element="tns:SessionHeader"/>
</message>
<!-- Operation Messages -->
<message name="cancelDeployRequest">
<part element="tns:cancelDeploy" name="parameters"/>
</message>
<message name="cancelDeployResponse">
<part element="tns:cancelDeployResponse" name="parameters"/>
</message>
<message name="checkDeployStatusRequest">
<part element="tns:checkDeployStatus" name="parameters"/>
</message>
<message name="checkDeployStatusResponse">
<part element="tns:checkDeployStatusResponse" name="parameters"/>
</message>
<message name="checkRetrieveStatusRequest">
<part element="tns:checkRetrieveStatus" name="parameters"/>
</message>
<message name="checkRetrieveStatusResponse">
<part element="tns:checkRetrieveStatusResponse" name="parameters"/>
</message>
<message name="createMetadataRequest">
<part element="tns:createMetadata" name="parameters"/>
</message>
<message name="createMetadataResponse">
<part element="tns:createMetadataResponse" name="parameters"/>
</message>
<message name="deleteMetadataRequest">
<part element="tns:deleteMetadata" name="parameters"/>
</message>
<message name="deleteMetadataResponse">
<part element="tns:deleteMetadataResponse" name="parameters"/>
</message>
<message name="deployRequest">
<part element="tns:deploy" name="parameters"/>
</message>
<message name="deployResponse">
<part element="tns:deployResponse" name="parameters"/>
</message>
<message name="describeMetadataRequest">
<part element="tns:describeMetadata" name="parameters"/>
</message>
<message name="describeMetadataResponse">
<part element="tns:describeMetadataResponse" name="parameters"/>
</message>
<message name="listMetadataRequest">
<part element="tns:listMetadata" name="parameters"/>
</message>
<message name="listMetadataResponse">
<part element="tns:listMetadataResponse" name="parameters"/>
</message>
<message name="readMetadataRequest">
<part element="tns:readMetadata" name="parameters"/>
</message>
<message name="readMetadataResponse">
<part element="tns:readMetadataResponse" name="parameters"/>
</message>
<message name="renameMetadataRequest">
<part element="tns:renameMetadata" name="parameters"/>
</message>
<message name="renameMetadataResponse">
<part element="tns:renameMetadataResponse" name="parameters"/>
</message>
<message name="retrieveRequest">
<part element="tns:retrieve" name="parameters"/>
</message>
<message name="retrieveResponse">
<part element="tns:retrieveResponse" name="parameters"/>
</message>
<message name="updateMetadataRequest">
<part element="tns:updateMetadata" name="parameters"/>
</message>
<message name="updateMetadataResponse">
<part element="tns:updateMetadataResponse" name="parameters"/>
</message>
<message name="upsertMetadataRequest">
<part element="tns:upsertMetadata" name="parameters"/>
</message>
<message name="upsertMetadataResponse">
<part element="tns:upsertMetadataResponse" name="parameters"/>
</message>
<portType name="MetadataPortType">
<operation name="cancelDeploy">
<documentation>Cancels a metadata deploy.</documentation>
<input message="tns:cancelDeployRequest"/>
<output message="tns:cancelDeployResponse"/>
</operation>
<operation name="checkDeployStatus">
<documentation>Check the current status of an asyncronous deploy call.</documentation>
<input message="tns:checkDeployStatusRequest"/>
<output message="tns:checkDeployStatusResponse"/>
</operation>
<operation name="checkRetrieveStatus">
<documentation>Check the current status of an asyncronous deploy call.</documentation>
<input message="tns:checkRetrieveStatusRequest"/>
<output message="tns:checkRetrieveStatusResponse"/>
</operation>
<operation name="createMetadata">
<documentation>Creates metadata entries synchronously.</documentation>
<input message="tns:createMetadataRequest"/>
<output message="tns:createMetadataResponse"/>
</operation>
<operation name="deleteMetadata">
<documentation>Deletes metadata entries synchronously.</documentation>
<input message="tns:deleteMetadataRequest"/>
<output message="tns:deleteMetadataResponse"/>
</operation>
<operation name="deploy">
<documentation>Deploys a zipfile full of metadata entries asynchronously.</documentation>
<input message="tns:deployRequest"/>
<output message="tns:deployResponse"/>
</operation>
<operation name="describeMetadata">
<documentation>Describes features of the metadata API.</documentation>
<input message="tns:describeMetadataRequest"/>
<output message="tns:describeMetadataResponse"/>
</operation>
<operation name="listMetadata">
<documentation>Lists the available metadata components.</documentation>
<input message="tns:listMetadataRequest"/>
<output message="tns:listMetadataResponse"/>
</operation>
<operation name="readMetadata">
<documentation>Reads metadata entries synchronously.</documentation>
<input message="tns:readMetadataRequest"/>
<output message="tns:readMetadataResponse"/>
</operation>
<operation name="renameMetadata">
<documentation>Renames a metadata entry synchronously.</documentation>
<input message="tns:renameMetadataRequest"/>
<output message="tns:renameMetadataResponse"/>
</operation>
<operation name="retrieve">
<documentation>Retrieves a set of individually specified metadata entries.</documentation>
<input message="tns:retrieveRequest"/>
<output message="tns:retrieveResponse"/>
</operation>
<operation name="updateMetadata">
<documentation>Updates metadata entries synchronously.</documentation>
<input message="tns:updateMetadataRequest"/>
<output message="tns:updateMetadataResponse"/>
</operation>
<operation name="upsertMetadata">
<documentation>Upserts metadata entries synchronously.</documentation>
<input message="tns:upsertMetadataRequest"/>
<output message="tns:upsertMetadataResponse"/>
</operation>
</portType>
<binding name="MetadataBinding" type="tns:MetadataPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="cancelDeploy">
<soap:operation soapAction=""/>
<input>
<soap:header use="literal" part="SessionHeader" message="tns:Header"/>
<soap:header use="literal" part="CallOptions" message="tns:Header"/>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="checkDeployStatus">
<soap:operation soapAction=""/>
<input>
<soap:header use="literal" part="SessionHeader" message="tns:Header"/>
<soap:header use="literal" part="CallOptions" message="tns:Header"/>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:header use="literal" part="DebuggingInfo" message="tns:Header"/>
<soap:body use="literal"/>
</output>
</operation>
<operation name="checkRetrieveStatus">
<soap:operation soapAction=""/>
<input>
<soap:header use="literal" part="SessionHeader" message="tns:Header"/>
<soap:header use="literal" part="CallOptions" message="tns:Header"/>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="createMetadata">
<soap:operation soapAction=""/>
<input>
<soap:header use="literal" part="SessionHeader" message="tns:Header"/>
<soap:header use="literal" part="CallOptions" message="tns:Header"/>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="deleteMetadata">
<soap:operation soapAction=""/>
<input>
<soap:header use="literal" part="SessionHeader" message="tns:Header"/>
<soap:header use="literal" part="CallOptions" message="tns:Header"/>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="deploy">
<soap:operation soapAction=""/>
<input>
<soap:header use="literal" part="SessionHeader" message="tns:Header"/>
<soap:header use="literal" part="DebuggingHeader" message="tns:Header"/>
<soap:header use="literal" part="CallOptions" message="tns:Header"/>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="describeMetadata">
<soap:operation soapAction=""/>
<input>
<soap:header use="literal" part="SessionHeader" message="tns:Header"/>
<soap:header use="literal" part="CallOptions" message="tns:Header"/>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="listMetadata">
<soap:operation soapAction=""/>
<input>
<soap:header use="literal" part="SessionHeader" message="tns:Header"/>
<soap:header use="literal" part="CallOptions" message="tns:Header"/>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="readMetadata">
<soap:operation soapAction=""/>
<input>
<soap:header use="literal" part="SessionHeader" message="tns:Header"/>
<soap:header use="literal" part="CallOptions" message="tns:Header"/>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="renameMetadata">
<soap:operation soapAction=""/>
<input>
<soap:header use="literal" part="SessionHeader" message="tns:Header"/>
<soap:header use="literal" part="CallOptions" message="tns:Header"/>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="retrieve">
<soap:operation soapAction=""/>
<input>
<soap:header use="literal" part="SessionHeader" message="tns:Header"/>
<soap:header use="literal" part="CallOptions" message="tns:Header"/>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="updateMetadata">
<soap:operation soapAction=""/>
<input>
<soap:header use="literal" part="SessionHeader" message="tns:Header"/>
<soap:header use="literal" part="CallOptions" message="tns:Header"/>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
<operation name="upsertMetadata">
<soap:operation soapAction=""/>
<input>
<soap:header use="literal" part="SessionHeader" message="tns:Header"/>
<soap:header use="literal" part="CallOptions" message="tns:Header"/>
<soap:body use="literal" parts="parameters"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="MetadataService">
<documentation>Manage your Salesforce.com metadata</documentation>
<port binding="tns:MetadataBinding" name="Metadata">
<soap:address location="https://na14.salesforce.com/services/Soap/m/32.0"/>
</port>
</service>
</definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment