File name: customAIContentModel.xml
Mount location and example:
./customAIContentModel.xml:/usr/local/tomcat/shared/classes/alfresco/extension/customAIContentModel.xml
Content:
<?xml version="1.0" encoding="UTF-8"?>
<model name="acme:contentModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Custom Content Model for Artificial Intelligence extension</description>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
<import uri="http://www.alfresco.org/model/site/1.0" prefix="st" />
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys" />
<import uri="http://www.alfresco.org/model/ai/1.0" prefix="ai"/>
</imports>
<namespaces>
<namespace uri="http://acme.org" prefix="acme" />
</namespaces>
<aspects>
<aspect name="acme:applicantInfo">
<title>Applicant Info</title>
<parent>ai:textract</parent>
<properties>
<property name="acme:addressHome">
<title>Address (Home)</title>
<type>d:text</type>
<index enabled="true" />
</property>
<property name="acme:nameFull">
<title>Name (Full)</title>
<type>d:text</type>
<index enabled="true" />
</property>
<property name="acme:telephone">
<title>Telephone</title>
<type>d:text</type>
<index enabled="true" />
</property>
[...]
</properties>
</aspect>
<aspect name="acme:w9form">
<title>W-9</title>
<parent>ai:textract</parent>
<properties>
[...]
</properties>
</aspect>
</aspects>
</model>