<model name="test:versionstorebasetestmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">

   <description>VersionStoreBaseTest model</description>
   <author>Alfresco</author>
   <published>2005-05-30</published>
   <version>1.0</version>
   
   <imports>
      <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
      <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
   </imports>
   
   <namespaces>
      <namespace uri="http://www.alfresco.org/test/versionstorebasetest/1.0" prefix="test"/>
   </namespaces>

   <types>
      
      <type name="test:testtype">
         <title>Test type</title>
         <description>The test type</description>
         <parent>cm:content</parent>
         
         <properties>
            <property name="test:prop1">
               <type>d:text</type>
               <protected>false</protected>
               <default></default>
            </property>
            <property name="test:prop2">
               <type>d:text</type>
               <protected>false</protected>
               <default></default>
            </property>
            <property name="test:prop3">
               <type>d:text</type>
               <protected>false</protected>
               <default></default>
            </property>
            <property name="test:multiProp">
               <type>d:text</type>             
               <multiple>true</multiple>
            </property>
         </properties>
         
         <associations>
            <association name="test:assoc1">
               <source>
                  <mandatory>false</mandatory>
                  <many>false</many>
               </source>
               <target>
                  <class>test:testtype</class>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </target>
            </association>
            <child-association name="test:childassoc1">
               <source>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </source>
               <target>
                  <class>test:testtype</class>
                  <mandatory>false</mandatory>
                  <many>false</many>
               </target>
               <child-name>childassoc1</child-name>
               <duplicate>true</duplicate>
            </child-association>
            <child-association name="test:childassoc2">
               <source>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </source>
               <target>
                  <class>test:testtype</class>
                  <mandatory>false</mandatory>
                  <many>false</many>
               </target>
               <child-name>childassoc2</child-name>
               <duplicate>true</duplicate>
            </child-association>
         </associations>
      </type>
	  
	</types>
   
   	<aspects>
		  <aspect name="test:testaspect">
			 <title>Test Aspect</title>
			 <description>The test aspect</description>
			 <parent></parent>
			 
			 <properties>

				<property name="test:aspectprop1">
					<type>d:text</type>
					<protected>false</protected>
					<default></default>
				</property>
				<property name="test:aspectprop2">
					<type>d:text</type>
					<protected>false</protected>
					<default></default>
				</property>

			 </properties>
		  </aspect>
	   </aspects>
   
</model>
