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

   <description>Test Model for Lucene tests</description>
   <author>Alfresco</author>
   <published>2005-07-13</published>
   <version>0.1</version>

   <imports>
      <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
      <import uri="http://www.alfresco.org/model/system/1.0" prefix="sys"/>
   </imports>
   
   <namespaces>
      <namespace uri="http://www.alfresco.org/test/lucenetest" prefix="test"/>
   </namespaces>

   <types>
      <type name="test:testSuperType">
         <title>Test Super Type</title>
         <parent>sys:container</parent>
         <associations>
            <child-association name="test:assoc">
               <source>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </source>
               <target>
                  <class>sys:base</class>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </target>
            </child-association>
         </associations>
      </type>

      <type name="test:testType">
         <title>Test Type</title>
         <parent>test:testSuperType</parent>
         <properties>
            <property name="test:text-indexed-stored-tokenised-atomic">
               <type>d:text</type>
               <mandatory>true</mandatory>
               <multiple>false</multiple>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
            <property name="test:text-indexed-unstored-tokenised-atomic">
               <type>d:text</type>
               <mandatory>true</mandatory>
               <multiple>false</multiple>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>false</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
            <property name="test:text-indexed-stored-tokenised-nonatomic">
               <type>d:text</type>
               <mandatory>true</mandatory>
               <multiple>false</multiple>
               <index enabled="true">
                  <atomic>false</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
            <property name="test:int-ista">
               <type>d:int</type>
               <mandatory>true</mandatory>
               <multiple>false</multiple>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
            <property name="test:long-ista">
               <type>d:long</type>
               <mandatory>true</mandatory>
               <multiple>false</multiple>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
            <property name="test:float-ista">
               <type>d:float</type>
               <mandatory>true</mandatory>
               <multiple>false</multiple>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
            <property name="test:double-ista">
               <type>d:double</type>
               <mandatory>true</mandatory>
               <multiple>false</multiple>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
            <property name="test:date-ista">
               <type>d:date</type>
               <mandatory>true</mandatory>
               <multiple>false</multiple>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
            <property name="test:datetime-ista">
               <type>d:datetime</type>
               <mandatory>true</mandatory>
               <multiple>false</multiple>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
            <property name="test:boolean-ista">
               <type>d:boolean</type>
               <mandatory>true</mandatory>
               <multiple>false</multiple>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
            <property name="test:qname-ista">
               <type>d:qname</type>
               <mandatory>true</mandatory>
               <multiple>false</multiple>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
            <property name="test:category-ista">
               <type>d:category</type>
               <mandatory>true</mandatory>
               <multiple>false</multiple>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
            <property name="test:noderef-ista">
               <type>d:noderef</type>
               <mandatory>true</mandatory>
               <multiple>false</multiple>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>true</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
         </properties>
         <mandatory-aspects>
            <aspect>test:testAspect</aspect>
         </mandatory-aspects>
      </type>
   </types>
   
   <aspects>
      <aspect name="test:testSuperAspect">
         <title>Test Super Aspect</title>
      </aspect>
      <aspect name="test:testAspect">
         <title>Titled</title>
         <parent>test:testSuperAspect</parent>
      </aspect>
   </aspects>

</model>