<?xml version="1.0" encoding="UTF-8"?>
<!-- xsi:schemaLocation="http://www.alfresco.org/model/dictionary/1.0 ../../../../../../config/alfresco/model/modelSchema.xsd" -->
<model name="cmistest:cmis-query-test" xmlns="http://www.alfresco.org/model/dictionary/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    
    <description>Test model the cmis query tests</description>
    <author>Alfresco</author>
    <published>2010-01-22</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"/>
        <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
    </imports>
    
    <namespaces>
        <namespace uri="http://www.alfresco.org/test/cmis-query-test" prefix="cmistest"/>
    </namespaces>
    
    <types>
        <type name="cmistest:extendedContent">
            <title>Extended Content</title>
            <parent>cm:content</parent>
            <includedInSuperTypeQuery>true</includedInSuperTypeQuery>
            <properties>
                <!-- d:text -> String -->
                
                <property name="cmistest:singleTextBoth">
                    <type>d:text</type>
                    <mandatory>false</mandatory>
                    <multiple>false</multiple>
                    <index enabled="true" >
                        <atomic>true</atomic>
                        <tokenised>both</tokenised>
                    </index>
                </property>
                <property name="cmistest:singleTextUntokenised">
                    <type>d:text</type>
                    <mandatory>false</mandatory>
                    <multiple>false</multiple>
                    <index enabled="true" >
                        <atomic>true</atomic>
                        <tokenised>false</tokenised>
                    </index>
                </property>
                <property name="cmistest:singleTextTokenised">
                    <type>d:text</type>
                    <mandatory>false</mandatory>
                    <multiple>false</multiple>
                    <index enabled="true" >
                           <atomic>true</atomic>
                        <tokenised>true</tokenised>
                    </index>
                </property>
                
                <property name="cmistest:multipleTextBoth">
                    <type>d:text</type>
                    <mandatory>false</mandatory>
                    <multiple>true</multiple>
                    <index enabled="true" >
                           <atomic>true</atomic>
                        <tokenised>both</tokenised>
                    </index>
                </property>
                <property name="cmistest:multipleTextUntokenised">
                    <type>d:text</type>
                    <mandatory>false</mandatory>
                    <multiple>true</multiple>
                    <index enabled="true" >
                           <atomic>true</atomic>
                        <tokenised>false</tokenised>
                    </index>
                </property>
                <property name="cmistest:multipleTextTokenised">
                    <type>d:text</type>
                    <mandatory>false</mandatory>
                    <multiple>true</multiple>
                    <index enabled="true" >
                           <atomic>true</atomic>
                        <tokenised>true</tokenised>
                    </index>
                </property>
                
                <!-- d:mltext -> String -->
                
                <property name="cmistest:singleMLTextBoth">
                    <type>d:mltext</type>
                    <mandatory>false</mandatory>
                    <multiple>false</multiple>
                    <index enabled="true" >
                           <atomic>true</atomic>
                        <tokenised>both</tokenised>
                    </index>
                </property>
                <property name="cmistest:singleMLTextUntokenised">
                    <type>d:mltext</type>
                    <mandatory>false</mandatory>
                    <multiple>false</multiple>
                    <index enabled="true" >
                           <atomic>true</atomic>
                        <tokenised>false</tokenised>
                    </index>
                </property>
                <property name="cmistest:singleMLTextTokenised">
                    <type>d:mltext</type>
                    <mandatory>false</mandatory>
                    <multiple>false</multiple>
                    <index enabled="true" >
                           <atomic>true</atomic>
                        <tokenised>true</tokenised>
                    </index>
                </property>
                
                <property name="cmistest:multipleMLTextBoth">
                    <type>d:mltext</type>
                    <mandatory>false</mandatory>
                    <multiple>true</multiple>
                    <index enabled="true" >
                           <atomic>true</atomic>
                        <tokenised>both</tokenised>
                    </index>
                </property>
                <property name="cmistest:multipleMLTextUntokenised">
                    <type>d:mltext</type>
                    <mandatory>false</mandatory>
                    <multiple>true</multiple>
                    <index enabled="true" >
                        <atomic>true</atomic>
                        <tokenised>false</tokenised>
                    </index>
                </property>
                <property name="cmistest:multipleMLTextTokenised">
                    <type>d:mltext</type>
                    <mandatory>false</mandatory>
                    <multiple>true</multiple>
                    <index enabled="true" >
                           <atomic>true</atomic>
                        <tokenised>true</tokenised>
                    </index>
                </property>
                
                <!-- d:float -> Decimal -->
                
                <property name="cmistest:singleFloat">
                    <type>d:float</type>
                    <mandatory>false</mandatory>
                    <multiple>false</multiple>
                    <index enabled="true" >
                           <atomic>true</atomic>
                        <tokenised>true</tokenised>
                        </index>
                </property>
                <property name="cmistest:multipleFloat">
                    <type>d:float</type>
                    <mandatory>false</mandatory>
                    <multiple>true</multiple>
                    <index enabled="true" >
                           <atomic>true</atomic>
                        <tokenised>true</tokenised>
                        </index>
                </property>
                
                <!-- d:double -> Decimal -->
                
                <property name="cmistest:singleDouble">
                    <type>d:double</type>
                    <mandatory>false</mandatory>
                    <multiple>false</multiple>
                    <index enabled="true">
                        <atomic>true</atomic>
                        <tokenised>true</tokenised>
                    </index>
                </property>
                <property name="cmistest:multipleDouble">
                    <type>d:double</type>
                    <mandatory>false</mandatory>
                    <multiple>true</multiple>
                    <index enabled="true">
                        <atomic>true</atomic>
                        <tokenised>true</tokenised>
                    </index>
                </property>
                
                <!-- d:int -> Integer -->
                
                <property name="cmistest:singleInteger">
                    <type>d:int</type>
                    <mandatory>false</mandatory>
                    <multiple>false</multiple>
                    <index enabled="true">
                        <atomic>true</atomic>
                        <tokenised>true</tokenised>
                    </index>
                </property>
                <property name="cmistest:multipleInteger">
                    <type>d:int</type>
                    <mandatory>false</mandatory>
                    <multiple>true</multiple>
                    <index enabled="true">
                        <atomic>true</atomic>
                        <tokenised>true</tokenised>
                    </index>
                </property>
                
                <!-- d:long -> Integer -->
                
                <property name="cmistest:singleLong">
                    <type>d:long</type>
                    <mandatory>false</mandatory>
                    <multiple>false</multiple>
                    <index enabled="true">
                        <atomic>true</atomic>
                        <tokenised>true</tokenised>
                    </index>
                </property>
                <property name="cmistest:multipleLong">
                    <type>d:long</type>
                    <mandatory>false</mandatory>
                    <multiple>true</multiple>
                    <index enabled="true">
                        <atomic>true</atomic>
                        <tokenised>true</tokenised>
                    </index>
                </property>
                
                <!-- d:boolean -> Boolean -->
                
                <property name="cmistest:singleBoolean">
                    <type>d:boolean</type>
                    <mandatory>false</mandatory>
                    <multiple>false</multiple>
                    <index enabled="true">
                        <atomic>true</atomic>
                        <tokenised>true</tokenised>
                    </index>
                </property>
                <property name="cmistest:multipleBoolean">
                    <type>d:boolean</type>
                    <mandatory>false</mandatory>
                    <multiple>true</multiple>
                    <index enabled="true">
                        <atomic>true</atomic>
                        <tokenised>true</tokenised>
                    </index>
                </property>
                
                <!-- d:date -> DateTime -->
                
                <property name="cmistest:singleDate">
                    <type>d:date</type>
                    <mandatory>false</mandatory>
                    <multiple>false</multiple>
                    <index enabled="true">
                        <atomic>true</atomic>
                        <tokenised>true</tokenised>
                    </index>
                </property>
                <property name="cmistest:multipleDate">
                    <type>d:date</type>
                    <mandatory>false</mandatory>
                    <multiple>true</multiple>
                   <index enabled="true">
                        <atomic>true</atomic>
                        <tokenised>true</tokenised>
                    </index>
                </property>
                
                <!-- d:datetime -> DateTime -->
                
                <property name="cmistest:singleDatetime">
                    <type>d:datetime</type>
                    <mandatory>false</mandatory>
                    <multiple>false</multiple>
                   <index enabled="true">
                        <atomic>true</atomic>
                        <tokenised>both</tokenised>
                    </index>
                </property>
                <property name="cmistest:multipleDatetime">
                    <type>d:datetime</type>
                    <mandatory>false</mandatory>
                    <multiple>true</multiple>
                    <index enabled="true">
                        <atomic>true</atomic>
                        <tokenised>both</tokenised>
                    </index>
                </property>
            </properties>
        </type>
               
        <type name="cmistest:extendedFolder">
            <title>Extended Folder</title>
            <parent>cm:folder</parent>
        </type>
        
        <type name="cmistest:type-that-requires-encoding">
            <title>Type that requires encoding</title>
            <parent>cm:content</parent>
            <includedInSuperTypeQuery>true</includedInSuperTypeQuery>
            <properties>
                <property name="cmistest:property-that-requires-encoding">
                    <type>d:text</type>
                    <mandatory>false</mandatory>
                    <multiple>false</multiple>
                    <index enabled="true" >
                        <atomic>true</atomic>
                        <tokenised>both</tokenised>
                    </index>
                </property>
            </properties>
        </type>
    </types>
    
    <aspects>
        <aspect name="cmistest:aspect-that-requires-encoding">
            <title>Type that requires encoding</title>
            <includedInSuperTypeQuery>true</includedInSuperTypeQuery>
        </aspect>
    </aspects>
    
</model>