intra-mart Accel Documents インポート・エクスポートガイド 第4版 2016-08-01

XMLスキーマ

<?xml version="1.1" encoding="UTF-8" standalone="yes"?>
<xs:schema elementFormDefault="qualified" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">

    <xs:complexType name="displayNameBase" abstract="true">
        <xs:attribute name="locale" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="displayNameValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="displayNameBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:string"
                    maxOccurs="1" minOccurs="1" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="candidateValue" final="extension restriction">
        <xs:attribute name="value" type="xs:string" use="required" />
        <xs:attribute name="index" type="xs:int" use="required" />
    </xs:complexType>

    <xs:complexType name="defaultValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="defaultValueString" type="stringAttributeValue" minOccurs="0" maxOccurs="1" />
            <xs:element name="defaultValueBoolean" type="booleanAttributeValue" minOccurs="0" maxOccurs="1" />
            <xs:element name="isCreatedDate" type="xs:boolean" minOccurs="0" maxOccurs="1" />
            <xs:element name="defaultValueDate" type="dateAttributeValue" minOccurs="0" maxOccurs="1" />
            <xs:element name="defaultValueInteger" type="integerAttributeValue" minOccurs="0" maxOccurs="1" />
            <xs:element name="defaultValueLong" type="longAttributeValue" minOccurs="0" maxOccurs="1" />
            <xs:element name="defaultValueBigDecimal" type="bigDecimalAttributeValue" minOccurs="0" maxOccurs="1" />
            <xs:element name="isRegisteredUgId" type="xs:boolean" minOccurs="0" maxOccurs="1" />
            <xs:element name="defaultValueUgId" type="ugidAttributeValue" minOccurs="0" maxOccurs="1" />
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="attributeDefinitionValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="names" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="displayName" type="displayNameValue"
                        maxOccurs="4" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="descriptions" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="displayName" type="displayNameValue"
                        maxOccurs="4" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="candidates" maxOccurs="1" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="candidate" type="candidateValue" maxOccurs="20" minOccurs="1" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="defaultValue" type="defaultValue" maxOccurs="1" minOccurs="0" />
            <xs:element name="attributeValues" type="attrValues"
                maxOccurs="1" minOccurs="0" />
        </xs:sequence>
        <xs:attribute name="id" type="xs:string" use="required" />
        <xs:attribute name="type" type="xs:string" use="required" />
        <xs:attribute name="minMultiplicity" type="xs:int" use="required"/>
        <xs:attribute name="maxMultiplicity" type="xs:int" use="required"/>
        <xs:attribute name="searchable" type="xs:boolean" use="optional"/>
        <xs:attribute name="sortable" type="xs:boolean" use="optional"/>
        <xs:attribute name="versionable" type="xs:boolean" use="optional"/>
        <xs:attribute name="visible" type="xs:boolean" use="optional"/>
    </xs:complexType>

    <xs:complexType name="attributeDefinitionsValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="attributeDefinition" type="attributeDefinitionValue"
                maxOccurs="unbounded" minOccurs="1" />
        </xs:sequence>
    </xs:complexType>

    <xs:element name="attributeDefinitions" type="attributeDefinitionsValue"/>

    <xs:complexType name="versionSettingValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="numberOfVersion" type="xs:int" maxOccurs="1" minOccurs="1" />
            <xs:element name="prefix" type="xs:string" maxOccurs="1" minOccurs="1" />
            <xs:element name="suffix" type="xs:string" maxOccurs="1" minOccurs="1" />
            <xs:element name="firstVersion" maxOccurs="1" minOccurs="1" >
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="value" type="xs:int" maxOccurs="4" minOccurs="1" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="classDefinitionValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="names" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="displayName" type="displayNameValue"
                            maxOccurs="4" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="descriptions" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="displayName" type="displayNameValue"
                        maxOccurs="4" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="attributeIds" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="attributeId" type="attrIdValue"
                            maxOccurs="unbounded" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="attributeValues" type="attrValues"
                maxOccurs="1" minOccurs="0" />
            <xs:element name="versionSetting" type="versionSettingValue" maxOccurs="1" minOccurs="0" />
            <xs:element name="attrViewSetting" maxOccurs="1" minOccurs="0" >
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="xs:string" maxOccurs="500" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="id" type="xs:string" use="required" />
        <xs:attribute name="superClassId" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="classDefinitionsValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="classDefinition" type="classDefinitionValue"
                maxOccurs="unbounded" minOccurs="0" />
        </xs:sequence>
    </xs:complexType>

    <xs:element name="classDefinitions" type="classDefinitionsValue"/>

    <xs:complexType name="tagDefinitionValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="acl" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="ace" type="aceValue" maxOccurs="unbounded" minOccurs="1" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="attributeValues" type="attrValues" minOccurs="1" maxOccurs="1"/>
            <xs:element name="linkedObjects" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="object" type="objectValue" maxOccurs="unbounded" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="id" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="tagDefinitions" final="extension restriction">
        <xs:sequence>
            <xs:element name="tagDefinition" type="tagDefinitionValue" maxOccurs="unbounded" minOccurs="1" />
        </xs:sequence>
    </xs:complexType>

    <xs:element name="tagDefinitions" type="tagDefinitions"/>

    <xs:complexType name="subscriptionDefinitionValue"
        final="extension restriction">
        <xs:sequence>
            <xs:element name="attributeValues" type="attrValues" maxOccurs="1" minOccurs="0" />
            <xs:element name="linkedObjects" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="object" type="objectValue" maxOccurs="unbounded" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="id" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="subscriptionDefinitions" final="extension restriction">
        <xs:sequence>
            <xs:element name="subscriptionDefinition" type="subscriptionDefinitionValue" maxOccurs="unbounded" minOccurs="1" />
        </xs:sequence>
    </xs:complexType>

    <xs:element name="subscriptionDefinitions" type="subscriptionDefinitions"/>

    <xs:complexType name="portalNoticeDataDefinitionValue"
        final="extension restriction">
        <xs:sequence>
            <xs:element name="attributeValues" type="attrValues" minOccurs="0" maxOccurs="1"/>
        </xs:sequence>
        <xs:attribute name="id" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="portalNoticeDataDefinitions" final="extension restriction">
        <xs:sequence>
            <xs:element name="portalNoticeDataDefinition" type="portalNoticeDataDefinitionValue" maxOccurs="unbounded" minOccurs="1" />
        </xs:sequence>
    </xs:complexType>

    <xs:element name="portalNoticeDataDefinitions" type="portalNoticeDataDefinitions"/>

    <xs:complexType name="preferenceElementValue" final="extension restriction">
        <xs:attribute name="key" type="xs:string" use="required" />
        <xs:attribute name="value" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="preferenceDefinitionValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="preferenceElements" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="preferenceElement" type="preferenceElementValue"
                            maxOccurs="unbounded" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="treeId" type="xs:string" use="required" />
        <xs:attribute name="path" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="preferenceDefinitions" final="extension restriction">
        <xs:sequence>
            <xs:element name="preferenceDefinition" type="preferenceDefinitionValue"
                minOccurs="0" />
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="securityDefinitionValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="names" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="displayName" type="displayNameValue"
                         maxOccurs="4" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="ownerPassword" type="xs:string" minOccurs="0" />
            <xs:element name="requiredOpenPassword" type="xs:boolean" minOccurs="0" />
            <xs:element name="printRestriction" type="xs:string" minOccurs="0" />
            <xs:element name="changeRestriction" type="xs:string" minOccurs="0" />
            <xs:element name="copyRestriction" type="xs:string" minOccurs="0" />
            <xs:element name="textAccessRestriction" type="xs:string" minOccurs="0" />
            <xs:element name="expirationDate" type="xs:int" minOccurs="0" />
            <xs:element name="downloadRestriction" type="xs:string" minOccurs="0" />
            <xs:element name="targetClassIds" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="targetClassId" type="xs:string"
                         maxOccurs="500" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="id" type="xs:string" use="required" />
        <xs:attribute name="type" type="xs:string" use="required" />
        <xs:attribute name="isDefault" type="xs:boolean" use="optional" />
    </xs:complexType>

    <xs:complexType name="securityDefinitions" final="extension restriction">
        <xs:sequence>
            <xs:element name="securityDefinition" type="securityDefinitionValue"
                maxOccurs="200" minOccurs="1" />
        </xs:sequence>
    </xs:complexType>

    <xs:element name="securityDefinitions" type="securityDefinitions"/>

    <xs:complexType name="retentionDefinitionValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="names" maxOccurs="1" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="displayName" type="displayNameValue"
                         maxOccurs="4" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="configurationLevel" type="xs:string" maxOccurs="1" minOccurs="1" />
            <xs:element name="restrictDeletion" type="xs:boolean" maxOccurs="1" minOccurs="1" />
            <xs:element name="restrictExpiredDocumentOperations" type="xs:boolean" maxOccurs="1" minOccurs="1" />
            <xs:element name="acceptExtentionPeriod" type="xs:boolean" maxOccurs="1" minOccurs="1" />
            <xs:element name="defaultOwners" maxOccurs="1" minOccurs="0" >
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="defaultOwner" type="xs:string" maxOccurs="5" minOccurs="1" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="retentionPeriodInitialDateType" type="xs:string" maxOccurs="1" minOccurs="1" />
            <xs:element name="firstMonthOfBusinessYear" type="xs:int" maxOccurs="1" minOccurs="1" />
            <xs:element name="defaultRetentionPeriod" type="xs:int" maxOccurs="1" minOccurs="1" />
            <xs:element name="defaultRetentionPeriodUnit" type="xs:string" maxOccurs="1" minOccurs="1" />
            <xs:element name="defaultCertTarget" type="xs:boolean" maxOccurs="1" minOccurs="1" />
            <xs:element name="noticeDaysBefore" type="xs:int" maxOccurs="1" minOccurs="1" />
            <xs:element name="noticeMethods" maxOccurs="1" minOccurs="0" >
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="noticeMethod" type="xs:string" maxOccurs="3" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="ownerOfCopyDestination" type="xs:string" maxOccurs="1" minOccurs="1" />
            <xs:element name="retentionPeriodOfCopyDestination" type="xs:string" maxOccurs="1" minOccurs="1" />
            <xs:element name="targetClassIds" maxOccurs="1" minOccurs="0" >
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="targetClassId" type="xs:string"
                         maxOccurs="500" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="id" type="xs:string" use="required" />
        <xs:attribute name="isDefault" type="xs:boolean" use="optional" />
    </xs:complexType>

    <xs:complexType name="retentionDefinitions" final="extension restriction">
        <xs:sequence>
            <xs:element name="retentionDefinition" type="retentionDefinitionValue"
                minOccurs="0" maxOccurs="200" />
        </xs:sequence>
    </xs:complexType>

    <xs:element name="retentionDefinitions" type="retentionDefinitions"/>

    <xs:complexType name="aceValue" final="extension restriction">
        <xs:attribute name="principalId" type="xs:string" />
        <xs:attribute name="permission" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="attrIdValue">
        <xs:attribute name="value" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="attrValueBase" abstract="true">
        <xs:sequence/>
        <xs:attribute name="id" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="nullAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="booleanAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:boolean" minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="booleanListAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:boolean" maxOccurs="unbounded"
                        minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="integerAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:int" minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="integerListAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:int" maxOccurs="unbounded"
                        minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="longAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:long" minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="longListAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:long" maxOccurs="unbounded"
                        minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="stringAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:string" minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="stringListAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:string" maxOccurs="unbounded"
                        minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="ugidAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:string" minOccurs="0" maxOccurs="1"/>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="ugidListAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:string" maxOccurs="unbounded"
                        minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="dateAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:string" minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="dateListAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:string" maxOccurs="unbounded"
                        minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="bigDecimalAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:string" minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="bigDecimalListAttributeValue" final="extension restriction">
        <xs:complexContent>
            <xs:extension base="attrValueBase">
                <xs:sequence>
                    <xs:element name="value" type="xs:string" maxOccurs="unbounded"
                        minOccurs="0" />
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:complexType name="attrValues" final="extension restriction">
        <xs:sequence>
            <xs:choice maxOccurs="unbounded" minOccurs="0">
                <xs:element name="booleanAttributeValue" type="booleanAttributeValue" />
                <xs:element name="booleanListAttributeValue" type="booleanListAttributeValue" />
                <xs:element name="integerAttributeValue" type="integerAttributeValue" />
                <xs:element name="integerListAttributeValue" type="integerListAttributeValue" />
                <xs:element name="longAttributeValue" type="longAttributeValue" />
                <xs:element name="longListAttributeValue" type="longListAttributeValue" />
                <xs:element name="stringAttributeValue" type="stringAttributeValue" />
                <xs:element name="stringListAttributeValue" type="stringListAttributeValue" />
                <xs:element name="ugidAttributeValue" type="ugidAttributeValue" />
                <xs:element name="ugidListAttributeValue" type="ugidListAttributeValue" />
                <xs:element name="dateAttributeValue" type="dateAttributeValue" />
                <xs:element name="dateListAttributeValue" type="dateListAttributeValue" />
                <xs:element name="bigDecimalAttributeValue" type="dateAttributeValue" />
                <xs:element name="bigDecimalListAttributeValue" type="dateListAttributeValue" />
            </xs:choice>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="scopeIdValue" final="extension restriction">
        <xs:attribute name="objectId" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="searchCondValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="type" type="xs:string" minOccurs="0" />
            <xs:element name="value" type="xs:string" minOccurs="0" />
            <xs:element name="startDate" type="xs:string" minOccurs="0" />
            <xs:element name="endDate" type="xs:string" minOccurs="0" />
            <xs:element name="startValue" type="xs:string" minOccurs="0" />
            <xs:element name="endValue" type="xs:string" minOccurs="0" />
            <xs:element name="startOperator" type="xs:string" minOccurs="0" />
            <xs:element name="endOperator" type="xs:string" minOccurs="0" />
            <xs:element name="label" type="xs:string" minOccurs="0" />
        </xs:sequence>
        <xs:attribute name="attributeId" type="xs:string" use="required" />
        <xs:attribute name="operation" type="xs:string" />
    </xs:complexType>

    <xs:complexType name="queryConditionValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="value" type="xs:string" minOccurs="0" maxOccurs="1"/>
            <xs:element name="scopeId" type="scopeIdValue" minOccurs="0" maxOccurs="1"/>
            <xs:element name="targetClassList" minOccurs="0" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="targetClass" type="xs:string" maxOccurs="unbounded" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="specifiedClassList" minOccurs="0" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="specifiedClass" type="xs:string" maxOccurs="500" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="searchCondList" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="searchCond" type="searchCondValue" maxOccurs="unbounded" minOccurs="1" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="searchType" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="linkValue" final="extension restriction">
        <xs:attribute name="destObjectId" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="linksValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="link" type="linkValue" maxOccurs="unbounded"
                minOccurs="0" />
        </xs:sequence>
        <xs:attribute name="name" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="noticeInformationValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="attributeValues" type="attrValues" minOccurs="0" />
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="shareInformationValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="attributeValues" type="attrValues"
                minOccurs="0" />
            <xs:element name="noticeInformation" type="noticeInformationValue" minOccurs="0" />
        </xs:sequence>
        <xs:attribute name="id" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="expiredDocumentSetting" final="extension restriction">
        <xs:sequence>
            <xs:element name="displayExpiredDocument" type="xs:boolean" minOccurs="1" maxOccurs="1"/>
            <xs:element name="expiredDocumentSettingModifiedDate" type="xs:string" minOccurs="1" maxOccurs="1"/>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="objectListViewSetting" final="extension restriction">
        <xs:sequence>
            <xs:element name="default" type="xs:string" maxOccurs="1" minOccurs="1"/>
            <xs:element name="settings" maxOccurs="1" minOccurs="1" >
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="setting" type="xs:string" maxOccurs="5" minOccurs="1" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="objectMenuViewSetting" final="extension restriction">
         <xs:attribute name="id" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="flowViewSetting" final="extension restriction">
         <xs:sequence>
            <xs:element name="upload" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="xs:string" maxOccurs="10" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="checkin" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="xs:string" maxOccurs="10" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="del" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="xs:string" maxOccurs="10" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="objectValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="acl" minOccurs="0" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="ace" type="aceValue" maxOccurs="unbounded" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="sharedAcl" minOccurs="0" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="ace" type="aceValue" maxOccurs="unbounded" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="shareInformations" minOccurs="0" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="shareInformation" type="shareInformationValue" maxOccurs="unbounded" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="attributeValues" type="attrValues" minOccurs="0" maxOccurs="1"/>
            <xs:element name="queryCondition" type="queryConditionValue" minOccurs="0" maxOccurs="1"/>
            <xs:element name="contentSizeLimit" type="xs:int" minOccurs="0" maxOccurs="1"/>
            <xs:element name="grantAdminRoleForCreator" type="xs:boolean" minOccurs="0" maxOccurs="1"/>
            <xs:element name="searchResultLimit" type="xs:int" minOccurs="0" maxOccurs="1"/>
            <xs:element name="expiredDocumentSetting" minOccurs="0" maxOccurs="1"/>
            <xs:element name="objectListViewSetting" type="objectListViewSetting" minOccurs="0" maxOccurs="1"/>
            <xs:element name="objectMenuViewSetting" type="objectMenuViewSetting" minOccurs="0" maxOccurs="1"/>
            <xs:element name="flowViewSetting" type="flowViewSetting" minOccurs="0" maxOccurs="1"/>
        </xs:sequence>
        <xs:attribute name="objectId" type="xs:string" use="required" />
        <xs:attribute name="classId" type="xs:string" use="required" />
        <xs:attribute name="repositoryVersionId" type="xs:string" use="optional" />
        <xs:attribute name="rootClassId" type="xs:string" use="optional" />
    </xs:complexType>

    <xs:element name="object" type="objectValue"/>

    <xs:complexType name="versionValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="attributeValues" type="attrValues"
                minOccurs="0" />
        </xs:sequence>
        <xs:attribute name="objectId" type="xs:string" use="required" />
        <xs:attribute name="number" type="xs:int" use="required" />
    </xs:complexType>

    <xs:complexType name="versions" final="extension restriction">
        <xs:sequence>
            <xs:element name="version" type="versionValue"
                maxOccurs="unbounded" minOccurs="0" />
        </xs:sequence>
    </xs:complexType>

    <xs:element name="versions" type="versions" />

    <xs:complexType name="MessageDataValue">
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attribute name="type" type="xs:string" use="required" />
            </xs:extension>
        </xs:simpleContent>
    </xs:complexType>

    <xs:complexType name="messageValue">
        <xs:sequence>
            <xs:element name="messageData" type="MessageDataValue" maxOccurs="unbounded"
                minOccurs="0" />
        </xs:sequence>
        <xs:attribute name="locale" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="messageTemplateValue">
        <xs:sequence>
            <xs:element name="message" type="messageValue" maxOccurs="unbounded"
                minOccurs="1" />
        </xs:sequence>
        <xs:attribute name="noticeType" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="messageTemplateDefinitionValue">
        <xs:sequence>
            <xs:element name="messageTemplate" type="messageTemplateValue"
                maxOccurs="unbounded" minOccurs="1" />
        </xs:sequence>
        <xs:attribute name="templateType" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="messageTemplateDefinitionsValue">
        <xs:sequence>
            <xs:element name="messageTemplateDefinition" type="messageTemplateDefinitionValue"
                maxOccurs="unbounded" minOccurs="1" />
        </xs:sequence>
    </xs:complexType>

    <xs:element name="messageTemplateDefinitions" type="messageTemplateDefinitionsValue" />

    <xs:complexType name="listViewItemValue" final="extension restriction">
        <xs:attribute name="id" type="xs:string" use="required" />
        <xs:attribute name="width" type="xs:int" use="required" />
    </xs:complexType>

    <xs:complexType name="listViewSortValue" final="extension restriction">
        <xs:attribute name="id" type="xs:string" use="required" />
        <xs:attribute name="index" type="xs:int" use="required" />
        <xs:attribute name="order" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="listViewSettingValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="names" maxOccurs="1" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="displayName" type="displayNameValue" maxOccurs="4" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="descriptions" maxOccurs="1" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="displayName" type="displayNameValue" maxOccurs="4" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="items" maxOccurs="1" minOccurs="1" >
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="listViewItemValue" maxOccurs="500" minOccurs="1" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="sorts" maxOccurs="1" minOccurs="0" >
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="sort" type="listViewSortValue" maxOccurs="3" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="id" type="xs:string" use="required" />
    </xs:complexType>

    <xs:complexType name="listViewSettings" final="extension restriction">
        <xs:sequence>
            <xs:element name="listViewSetting" type="listViewSettingValue" maxOccurs="200" minOccurs="0" />
        </xs:sequence>
    </xs:complexType>

    <xs:element name="listViewSettings" type="listViewSettings"/>

    <xs:complexType name="menuViewSettingItems" final="extension restriction">
        <xs:sequence>
            <xs:element name="batchOperation" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="xs:string" maxOccurs="6" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="createFolder" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="xs:string" maxOccurs="500" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="createDocument" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="xs:string" maxOccurs="500" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="createSecureDocument" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="xs:string" maxOccurs="500" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="drawerOperation" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="xs:string" maxOccurs="5" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="folderOperation" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="xs:string" maxOccurs="7" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="documentOperation" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="xs:string" maxOccurs="9" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="secureDocumentOperation" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="xs:string" maxOccurs="9" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="attributeCondition" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="xs:string" maxOccurs="500" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="classCondition" minOccurs="1" maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="item" type="xs:string" maxOccurs="500" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="menuViewSettingValue" final="extension restriction">
        <xs:sequence>
            <xs:element name="names" maxOccurs="1" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="displayName" type="displayNameValue" maxOccurs="4" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="descriptions" maxOccurs="1" minOccurs="0">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="displayName" type="displayNameValue" maxOccurs="4" minOccurs="0" />
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="items" type="menuViewSettingItems" maxOccurs="1" minOccurs="1" />
        </xs:sequence>
        <xs:attribute name="id" type="xs:string" use="required" />
        <xs:attribute name="isDefault" type="xs:boolean" use="optional" />
    </xs:complexType>

    <xs:complexType name="menuViewSettings" final="extension restriction">
        <xs:sequence>
            <xs:element name="menuViewSetting" type="menuViewSettingValue" maxOccurs="20" minOccurs="1" />
        </xs:sequence>
    </xs:complexType>

    <xs:element name="menuViewSettings" type="menuViewSettings"/>

</xs:schema>