Files
alfresco-community-repo/amps/ags/rm-community/rm-community-repo/test/resources/test-model.xml
2021-05-05 19:41:33 +01:00

72 lines
2.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<model name="rmt:rmtest" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>RM Test Model</description>
<author>Roy Wetherall</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"/>
<!-- Import Alfresco Content Domain Model Definitions -->
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys" />
<!-- Import Alfresco Records Management Model Definitions -->
<import uri="http://www.alfresco.org/model/recordsmanagement/1.0" prefix="rma" />
</imports>
<!-- Records Management Namespace -->
<namespaces>
<namespace uri="http://www.alfresco.org/model/rmtest/1.0" prefix="rmt"/>
</namespaces>
<types>
<type name="rmt:customType">
<parent>cm:content</parent>
</type>
<type name="rmt:notRmFolderType">
<parent>cm:folder</parent>
</type>
</types>
<aspects>
<aspect name="rmt:customAspect">
</aspect>
<aspect name="rmt:customProtectedAspect">
<properties>
<property name="rmt:customProperty">
<type>d:text</type>
</property>
<property name="rmt:customProtectedProperty">
<type>d:text</type>
</property>
</properties>
</aspect>
<aspect name="rmt:recordMetaData">
<properties>
<property name="rmt:recordMetaDataProperty">
<type>d:text</type>
</property>
</properties>
</aspect>
<aspect name="rmt:recordMetaDataWithProperty">
<properties>
<property name="rmt:customMandatoryProperty">
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</aspect>
</aspects>
</model>