<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.CoreExtensions.override">

  <require>org.nuxeo.ecm.core.CoreExtensions</require>

  <documentation>


    This component is contributing the core types and schemas and other core extensions.

    @author <a href="mailto:bs@nuxeo.com">Bogdan Stefanescu</a>

  </documentation>
  <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
    <documentation>The core schemas</documentation>
    <!-- XXX AT: prefixes should be set, see NXP-1152 -->
    <schema name="core-types" src="schema/core-types.xsd"/>
    <schema name="base" src="schema/base.xsd"/>
    <schema name="relation" prefix="relation" src="schema/relation.xsd"/>
    <schema name="common" src="schema/common.xsd"/>
    <schema name="dublincore" prefix="dc" src="schema/dublincore.xsd"/>
    <schema name="uid" src="schema/uid.xsd"/>
    <schema name="file" src="schema/file.xsd"/>
    <schema name="files" src="schema/files.xsd"/>
    <schema name="note" src="schema/note.xsd"/>
    <schema name="domain" src="schema/domain.xsd"/>
    <schema name="relatedtext" src="schema/relatedtext.xsd"/>

    <schema name="publishing" prefix="publish" src="schema/publishing.xsd"/>
    <schema name="webcontainer" prefix="webc" src="schema/webcontainer.xsd"/>

    <schema name="collection" prefix="collection" src="schema/collection.xsd"/>
    <schema isVersionWritable="true" name="collectionMember" prefix="collectionMember" src="schema/collectionMember.xsd"/>

    <property indexOrder="ascending" name="documentIds" schema="collection"/>
    <property indexOrder="ascending" name="collectionIds" schema="collectionMember"/>
    <property name="created" schema="dublincore" secured="true"/>
    <property indexOrder="descending" name="modified" schema="dublincore" secured="true"/>
    <property name="creator" schema="dublincore" secured="true"/>
    <property name="contributors" schema="dublincore" secured="true"/>
    <property name="lastContributor" schema="dublincore" secured="true"/>
    <!-- Removed since 9.1 -->
    <property deprecation="removed" name="size" schema="common"/>
    <property deprecation="removed" fallback="content/name" name="filename" schema="file"/>
    <property deprecation="removed" fallback="files/*/file/name" name="files/*/filename" schema="files"/>
  </extension>

</component>
