<?xml version="1.0" encoding="UTF-8"?>

<!-- Definition of new Model -->
<model name="tag:tagsmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">

   <!-- Optional meta-data about the model -->   
   <description>Tagging Model</description>
   <author>Gavin Cornwell</author>
   <version>1.0</version>

   <!-- Imports are required to allow references to definitions in other models -->   
   <imports>
   	  <!-- Import Alfresco Dictionary Definitions -->
      <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
      <!-- Import Alfresco Content Domain Model Definitions -->
      <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
   </imports>

   <!-- Introduction of new namespaces defined by this model -->
   <namespaces>
      <namespace uri="extension.tags" prefix="tag"/>
   </namespaces>
  
    <aspects>
      
      <!-- Definition of new Taggable Aspect -->
      <aspect name="tag:taggable">
      	<title>Taggable</title>
      	<properties>
      		<property name="tag:tags">
               <title>Tags</title>
      			<type>d:text</type>
      			<multiple>true</multiple>
      		</property>
      	</properties>
      </aspect>
      
   </aspects>
   
</model>