<!--

    Copyright (C) 2009 eXo Platform SAS.

    This is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 2.1 of
    the License, or (at your option) any later version.

    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this software; if not, write to the Free
    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301 USA, or see the FSF site: http://www.fsf.org.

-->
<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">

   <nodeType name="webdav:folder" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">

      <supertypes>
         <supertype>nt:folder</supertype>
         <supertype>mix:referenceable</supertype>
      </supertypes>

      <propertyDefinitions>
         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
            multiple="false">
            <valueConstraints />
         </propertyDefinition>
      </propertyDefinitions>

   </nodeType>

   <nodeType name="webdav:file" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">

      <supertypes>
         <supertype>nt:file</supertype>
         <supertype>mix:referenceable</supertype>
      </supertypes>

      <propertyDefinitions>
         <propertyDefinition name="webdav:Author" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="COPY"
            protected="false" multiple="false">
            <valueConstraints />
         </propertyDefinition>
      </propertyDefinitions>

   </nodeType>

   <nodeType name="webdav:badres" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">

      <supertypes>
         <supertype>nt:base</supertype>
         <supertype>mix:referenceable</supertype>
      </supertypes>

      <propertyDefinitions>
         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
            multiple="false">
            <valueConstraints />
         </propertyDefinition>
      </propertyDefinitions>

   </nodeType>

   <nodeType name="webdav:goodres" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">

      <supertypes>
         <supertype>nt:resource</supertype>
         <supertype>mix:referenceable</supertype>
      </supertypes>

      <propertyDefinitions>
         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
            multiple="false">
            <valueConstraints />
         </propertyDefinition>
      </propertyDefinitions>

   </nodeType>

   <nodeType name="mix:wdTestMixin1" isMixin="true" hasOrderableChildNodes="true" primaryItemName="">

      <propertyDefinitions>
         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
            multiple="false">
            <valueConstraints />
         </propertyDefinition>
      </propertyDefinitions>

   </nodeType>

   <nodeType name="mix:wdTestMixin2" isMixin="true" hasOrderableChildNodes="true" primaryItemName="">

      <propertyDefinitions>
         <propertyDefinition name="*" requiredType="undefined" autoCreated="false" mandatory="false" onParentVersion="COPY" protected="false"
            multiple="false">
            <valueConstraints />
         </propertyDefinition>
      </propertyDefinitions>

   </nodeType>


   <nodeType name="exo:testResource" isMixin="false" hasOrderableChildNodes="true" primaryItemName="">

      <supertypes>
         <supertype>nt:resource</supertype>
         <supertype>nt:unstructured</supertype>
      </supertypes>
      <!-- propertyDefinitions>
         <propertyDefinition name="*" requiredType="String" autoCreated="false" mandatory="false" onParentVersion="IGNORE" protected="false"
            multiple="false">
            <valueConstraints />
         </propertyDefinition>
      </propertyDefinitions>
      <childNodeDefinitions>
         <childNodeDefinition name="*" defaultPrimaryType="nt:unstructured" autoCreated="false" mandatory="false" onParentVersion="IGNORE"
            protected="false" sameNameSiblings="false">
            <requiredPrimaryTypes>
               <requiredPrimaryType>nt:unstructured</requiredPrimaryType>
            </requiredPrimaryTypes>
         </childNodeDefinition>
      </childNodeDefinitions -->
   </nodeType>

         
   <nodeType name="mix:title" isMixin="true" hasOrderableChildNodes="false" primaryItemName="">
      <propertyDefinitions>
         <propertyDefinition name="jcr:title" requiredType="String" autoCreated="false" mandatory="false"
            onParentVersion="COPY" protected="false" multiple="false">
            <valueConstraints/>
         </propertyDefinition>
         <propertyDefinition name="jcr:description" requiredType="String" autoCreated="false" mandatory="false"
            onParentVersion="COPY" protected="false" multiple="false">
            <valueConstraints/>
         </propertyDefinition>
         <propertyDefinition name="jcr:pagecount" requiredType="long" autoCreated="false" mandatory="false"
            onParentVersion="COPY" protected="false" multiple="false">
            <valueConstraints/>
         </propertyDefinition>
      </propertyDefinitions>
   </nodeType>


</nodeTypes>

