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

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

   <types>
      
      <type name="test:base">
         <properties>
            <property name="test:base_a">
               <type>d:text</type>
            </property>
         </properties>
         <associations>
            <association name="test:base_assoc_a">
               <target>
                  <class>test:base</class>
               </target>
            </association>
         </associations>
      </type>
   
      <type name="test:file">
         <parent>test:base</parent>
         <properties>
            <property name="test:file_b">
               <type>d:text</type>
            </property>
            <property name="test:file_c">
               <type>d:text</type>
            </property>
         </properties>
         <overrides>
            <property name="test:base_a">
               <default>an overriden default value</default>
            </property>
         </overrides>
      </type>

      <type name="test:folder">
         <parent>test:base</parent>
         <properties>
            <property name="test:folder_d">
               <type>d:text</type>
            </property>
         </properties>
         <associations>
            <association name="test:folder_assoc_d">
               <target>
                  <class>test:folder</class>
               </target>
            </association>
         </associations>            
      </type>
      
   </types>
   
   <aspects>
      <aspect name="test:aspect">
         <properties>
            <property name="test:aspect_a">
               <type>d:int</type>
            </property>
         </properties>
      </aspect>
   </aspects>
   
</model>
