<nodeTypes xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:dc="http://purl.org/dc/elements/1.1">

	<nodeType name="cmis:object" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
		<supertypes>
			<supertype>mix:referenceable</supertype>
			<!--			<supertype>exo:owneable</supertype>-->
		</supertypes>
		<propertyDefinitions>
			<propertyDefinition name="cmis:name" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="IGNORE" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:objectId" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:objectTypeId" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:baseTypeId" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:createdBy" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:creationDate" requiredType="Date" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:lastModifiedBy" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:lastModificationDate" requiredType="Date" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:changeToken" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="IGNORE" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="true">
			</propertyDefinition>
		</propertyDefinitions>
	</nodeType>

	<nodeType name="cmis:document" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
		<supertypes>
			<supertype>cmis:object</supertype>
		</supertypes>
		<propertyDefinitions>
			<propertyDefinition name="cmis:isImmutable" requiredType="Boolean" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
				<defaultValues>
					<defaultValue>false</defaultValue>
				</defaultValues>
			</propertyDefinition>
			<propertyDefinition name="cmis:contentStreamLength" requiredType="Long" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:contentStreamMimeType" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:contentStreamFileName" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:contentStreamId" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:versionSeriesId" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:isLatestVersion" requiredType="Boolean" autoCreated="true" mandatory="false" onParentVersion="INITIALIZE" protected="false" multiple="false">
				<defaultValues>
					<defaultValue>false</defaultValue>
				</defaultValues>
			</propertyDefinition>
			<propertyDefinition name="cmis:isMajorVersion" requiredType="Boolean" autoCreated="true" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
				<defaultValues>
					<defaultValue>false</defaultValue>
				</defaultValues>
			</propertyDefinition>
			<propertyDefinition name="cmis:versionLabel" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="IGNORE" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:isVersionSeriesCheckedOut" requiredType="Boolean" autoCreated="true" mandatory="false" onParentVersion="INITIALIZE" protected="false" multiple="false">
				<defaultValues>
					<defaultValue>false</defaultValue>
				</defaultValues>
			</propertyDefinition>
			<propertyDefinition name="cmis:versionSeriesCheckedOutBy" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="IGNORE" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:versionSeriesCheckedOutId" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="IGNORE" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:checkinComment" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
		</propertyDefinitions>
		<childNodeDefinitions>
			<childNodeDefinition name="*" defaultPrimaryType="" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
				<requiredPrimaryTypes>
					<requiredPrimaryType>xcmis:rendition</requiredPrimaryType>
				</requiredPrimaryTypes>
			</childNodeDefinition>
		</childNodeDefinitions>
	</nodeType>

	<nodeType name="cmis:folder" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
		<supertypes>
			<supertype>cmis:object</supertype>
		</supertypes>
		<propertyDefinitions>
			<propertyDefinition name="cmis:parentId" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:allowedChildObjectTypeIds" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="true">
			</propertyDefinition>
			<propertyDefinition name="cmis:path" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
		</propertyDefinitions>
		<childNodeDefinitions>
			<childNodeDefinition name="*" defaultPrimaryType="" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
				<requiredPrimaryTypes>
					<requiredPrimaryType>nt:base</requiredPrimaryType>
				</requiredPrimaryTypes>
			</childNodeDefinition>
		</childNodeDefinitions>
	</nodeType>

	<nodeType name="cmis:policy" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
		<supertypes>
			<supertype>nt:hierarchyNode</supertype>
			<supertype>cmis:object</supertype>
		</supertypes>
		<propertyDefinitions>
			<propertyDefinition name="cmis:policyText" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
		</propertyDefinitions>
	</nodeType>

	<nodeType name="cmis:relationship" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
		<supertypes>
			<supertype>nt:hierarchyNode</supertype>
			<supertype>cmis:object</supertype>
		</supertypes>
		<propertyDefinitions>
			<propertyDefinition name="cmis:targetId" requiredType="Reference" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
			<propertyDefinition name="cmis:sourceId" requiredType="Reference" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false" multiple="false">
			</propertyDefinition>
		</propertyDefinitions>
	</nodeType>

	<!--  ======================  -->

	<nodeType name="xcmis:rendition" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
		<supertypes>
			<supertype>nt:base</supertype>
		</supertypes>
		<propertyDefinitions>
			<propertyDefinition name="xcmis:renditionStream" requiredType="Binary" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false" multiple="false">
				<valueConstraints />
			</propertyDefinition>
			<propertyDefinition name="xcmis:renditionMimeType" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false" multiple="false">
				<valueConstraints />
			</propertyDefinition>
         <propertyDefinition name="xcmis:renditionEncoding" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
            <valueConstraints />
         </propertyDefinition>
			<propertyDefinition name="xcmis:renditionKind" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
				<valueConstraints />
			</propertyDefinition>
			<propertyDefinition name="xcmis:renditionHeight" requiredType="Long" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
				<valueConstraints />
			</propertyDefinition>
			<propertyDefinition name="xcmis:renditionWidth" requiredType="Long" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
				<valueConstraints />
			</propertyDefinition>
		</propertyDefinitions>
	</nodeType>

	<nodeType name="xcmis:relationships" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
		<supertypes>
			<supertype>nt:base</supertype>
		</supertypes>
		<childNodeDefinitions>
			<childNodeDefinition name="*" defaultPrimaryType="" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
				<requiredPrimaryTypes>
					<requiredPrimaryType>cmis:relationship</requiredPrimaryType>
				</requiredPrimaryTypes>
			</childNodeDefinition>
		</childNodeDefinitions>
	</nodeType>

	<nodeType name="xcmis:policies" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
		<supertypes>
			<supertype>nt:base</supertype>
		</supertypes>
		<childNodeDefinitions>
			<childNodeDefinition name="*" defaultPrimaryType="" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
				<requiredPrimaryTypes>
					<requiredPrimaryType>cmis:policy</requiredPrimaryType>
				</requiredPrimaryTypes>
			</childNodeDefinition>
		</childNodeDefinitions>
	</nodeType>

	<nodeType name="xcmis:workingCopy" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
		<supertypes>
			<supertype>nt:base</supertype>
		</supertypes>
		<childNodeDefinitions>
			<childNodeDefinition name="*" defaultPrimaryType="" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
				<requiredPrimaryTypes>
					<requiredPrimaryType>nt:file</requiredPrimaryType>
				</requiredPrimaryTypes>
			</childNodeDefinition>
		</childNodeDefinitions>
	</nodeType>

	<nodeType name="xcmis:workingCopies" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
		<supertypes>
			<supertype>nt:base</supertype>
		</supertypes>
		<childNodeDefinitions>
			<childNodeDefinition name="*" defaultPrimaryType="" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
				<requiredPrimaryTypes>
					<requiredPrimaryType>xcmis:workingCopy</requiredPrimaryType>
				</requiredPrimaryTypes>
			</childNodeDefinition>
		</childNodeDefinitions>
	</nodeType>

	<nodeType name="xcmis:unfiled" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
		<supertypes>
			<supertype>nt:base</supertype>
		</supertypes>
		<childNodeDefinitions>
			<childNodeDefinition name="*" defaultPrimaryType="" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
				<requiredPrimaryTypes>
					<requiredPrimaryType>xcmis:unfiledObject</requiredPrimaryType>
				</requiredPrimaryTypes>
			</childNodeDefinition>
		</childNodeDefinitions>
	</nodeType>

	<nodeType name="xcmis:unfiledObject" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
		<supertypes>
			<supertype>nt:base</supertype>
		</supertypes>
		<childNodeDefinitions>
			<childNodeDefinition name="*" defaultPrimaryType="" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
				<requiredPrimaryTypes>
					<requiredPrimaryType>nt:file</requiredPrimaryType>
				</requiredPrimaryTypes>
			</childNodeDefinition>
		</childNodeDefinitions>
	</nodeType>

	<nodeType name="xcmis:system" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
		<supertypes>
			<supertype>nt:base</supertype>
		</supertypes>
		<childNodeDefinitions>
			<childNodeDefinition name="*" defaultPrimaryType="" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" sameNameSiblings="false">
				<requiredPrimaryTypes>
					<requiredPrimaryType>nt:base</requiredPrimaryType>
				</requiredPrimaryTypes>
			</childNodeDefinition>
		</childNodeDefinitions>
	</nodeType>
	
   <nodeType name="xcmis:linkedFile" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
      <supertypes>
			<supertype>nt:base</supertype>
      </supertypes>
      <propertyDefinitions>
         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false" multiple="false">
         </propertyDefinition>
      </propertyDefinitions>
   </nodeType>

</nodeTypes>