Platform Explorer / Nuxeo Platform LTS 2015 7.10

Extension point schema

Extension Point to register new schemas.

Schemas are defined using XSD files. The schema extension XML may containg several 'schema' objects as the following ones:

    <schema name="common" src="schema/common.xsd"/>
    <schema name="dublincore" prefix="dc" src="schema/dublincore.xsd"/>

The name attribute uniquely identify the schema, the src attribute specify the path to that schema (relative to the bundle root) and the prefix is used as a prefix (short name) of the schema namespace. The schema namespace is the targetNamespace defined inside the XSD file

Note that multiple schemas can share the same target namespace and prefix

You can also create a Nuxeo Schema from a sub part of the XSD schema. For that you can use the xsdRootElement attribute to indicate the complex type to use.

    <schema name="employeeSchema" src="schema/testExtension.xsd" xsdRootElement="employee"/>

Contribution Descriptor

Existing Contributions

  • nuxeo-core-7.10-HF07.jar /OSGI-INF/CoreExtensions.xml
    <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"/>
    
      </extension>
  • nuxeo-platform-login-token-7.10-HF07.jar /OSGI-INF/token-authentication-directory-types.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="authtoken" src="directoryschema/authtoken.xsd"/>
      </extension>
  • nuxeo-template-rendering-core-7.10-HF02.jar /OSGI-INF/core-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="documenttemplate" prefix="tmpl" src="schemas/documenttemplate.xsd"/>
        <schema name="templatesupport" prefix="nxts" src="schemas/templatesupport.xsd"/>
      </extension>
  • nuxeo-thumbnail-7.10.jar /OSGI-INF/thumbnail-core-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="thumbnail" prefix="thumb" src="schemas/thumbnail.xsd"/>
      </extension>
  • nuxeo-platform-login-shibboleth-7.10.jar /OSGI-INF/shibboleth-group-type-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="shibbolethGroup" src="schema/shibb-group.xsd"/>
      </extension>
  • nuxeo-routing-core-7.10-HF07.jar /OSGI-INF/document-routing-core-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="base" src="schemas/base.xsd"/>
        <schema name="document_route_instance" prefix="docri" src="schemas/document_route_instance.xsd"/>
        <schema name="document_route_model" prefix="docrm" src="schemas/document_route_model.xsd"/>
        <schema name="step_folder" prefix="stepf" src="schemas/step_folder.xsd"/>
        <schema name="info_comments" prefix="infocom" src="schemas/info_comments.xsd"/>
        <schema name="conditional_step_folder" prefix="condstepf" src="schemas/conditional_step_folder.xsd"/>
        <schema name="route_node" prefix="rnode" src="schemas/route_node.xsd"/>
      </extension>
  • nuxeo-user-profile-7.10.jar /OSGI-INF/core-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="userprofile" prefix="userprofile" src="schemas/userprofile.xsd"/>
      </extension>
  • nuxeo-platform-user-registration-core-7.10-HF02.jar /OSGI-INF/user-registration-core-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="docinfo" prefix="docinfo" src="schemas/docinfo.xsd"/>
      </extension>
  • nuxeo-platform-login-digest-7.10.jar /OSGI-INF/digest-authentication-schema-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="digestauth" src="schema/digestauth.xsd"/>
      </extension>
  • nuxeo-routing-default-7.10.jar /OSGI-INF/extensions.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="var_global_Task2169" override="true" prefix="var_global_Task2169" src="data/schemas/var_global_Task2169.xsd"/>
        <schema name="var_Task2169" override="true" prefix="var_Task2169" src="data/schemas/var_Task2169.xsd"/>
        <schema name="var_Task21a0" override="true" prefix="var_Task21a0" src="data/schemas/var_Task21a0.xsd"/>
        <schema name="var_Task2225" override="true" prefix="var_Task2225" src="data/schemas/var_Task2225.xsd"/>
        <schema name="var_Task22b4" override="true" prefix="var_Task22b4" src="data/schemas/var_Task22b4.xsd"/>
        <schema name="var_Task232e" override="true" prefix="var_Task232e" src="data/schemas/var_Task232e.xsd"/>
        <schema name="var_global_Task2556" override="true" prefix="var_global_Task2556" src="data/schemas/var_global_Task2556.xsd"/>
        <schema name="var_Task2556" override="true" prefix="var_Task2556" src="data/schemas/var_Task2556.xsd"/>
        <schema name="var_global_Task328d" override="true" prefix="var_global_Task328d" src="data/schemas/var_global_Task328d.xsd"/>
        <schema name="var_Task328d" override="true" prefix="var_Task328d" src="data/schemas/var_Task328d.xsd"/>
        <schema name="var_ParallelDocumentReview" override="true" prefix="var_ParallelDocumentReview" src="data/schemas/var_ParallelDocumentReview.xsd"/>
        <schema name="var_Task375f" override="true" prefix="var_Task375f" src="data/schemas/var_Task375f.xsd"/>
        <schema name="var_global_Task38e" override="true" prefix="var_global_Task38e" src="data/schemas/var_global_Task38e.xsd"/>
        <schema name="var_Task38e" override="true" prefix="var_Task38e" src="data/schemas/var_Task38e.xsd"/>
        <schema name="var_Task542" override="true" prefix="var_Task542" src="data/schemas/var_Task542.xsd"/>
        <schema name="var_Task5c1" override="true" prefix="var_Task5c1" src="data/schemas/var_Task5c1.xsd"/>
        <schema name="var_global_Task6d8" override="true" prefix="var_global_Task6d8" src="data/schemas/var_global_Task6d8.xsd"/>
        <schema name="var_Task6d8" override="true" prefix="var_Task6d8" src="data/schemas/var_Task6d8.xsd"/>
        <schema name="var_SerialDocumentReview" override="true" prefix="var_SerialDocumentReview" src="data/schemas/var_SerialDocumentReview.xsd"/>
      </extension>
  • nuxeo-search-ui-7.10-HF03.jar /OSGI-INF/search-local-configuration-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
    
        <schema name="search_configuration" prefix="searchc" src="schemas/search_configuration.xsd"/>
    
      </extension>
  • nuxeo-platform-virtualnavigation-core-contrib-7.10.jar /OSGI-INF/core-type-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="querynav" src="schemas/querynav.xsd"/>
      </extension>
  • nuxeo-theme-styling-7.10-HF06.jar /OSGI-INF/theme-local-configuration.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="theme_configuration" prefix="themeconf" src="schemas/theme_configuration.xsd"/>
      </extension>
  • nuxeo-localconf-simple-7.10.jar /OSGI-INF/simple-local-configuration.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
    
        <schema name="simpleconfiguration" prefix="sconf" src="schemas/simpleconfiguration.xsd"/>
    
      </extension>
  • nuxeo-admin-center-7.10-HF07.jar /OSGI-INF/core-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="permissions_search" prefix="rs" src="schemas/permissions_search.xsd"/>
      </extension>
  • nuxeo-routing-dashboard-7.10.jar /OSGI-INF/document-routing-dashboard-layouts-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="user_open_tasks_cv" prefix="user_open_tasks_cv" src="schemas/user_open_tasks_cv.xsd"/>
      </extension>
  • nuxeo-apidoc-core-7.10-HF01.jar /OSGI-INF/schema-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
    
        <schema name="nxbundle" prefix="nxbundle" src="schemas/nxbundle.xsd"/>
        <schema name="nxbundlegroup" prefix="nxbundlegroup" src="schemas/nxbundlegroup.xsd"/>
        <schema name="nxcomponent" prefix="nxcomponent" src="schemas/nxcomponent.xsd"/>
        <schema name="nxcontribution" prefix="nxcontribution" src="schemas/nxcontribution.xsd"/>
        <schema name="nxdistribution" prefix="nxdistribution" src="schemas/nxdistribution.xsd"/>
        <schema name="nxextensionpoint" prefix="nxextensionpoint" src="schemas/nxextensionpoint.xsd"/>
        <schema name="nxservice" prefix="nxservice" src="schemas/nxservice.xsd"/>
        <schema name="nxseam" prefix="nxseam" src="schemas/nxseam.xsd"/>
        <schema name="nxoperation" prefix="nxop" src="schemas/nxoperation.xsd"/>
    
        <schema name="nxdocumentation" prefix="nxdoc" src="schemas/nxdocumentation.xsd"/>
      </extension>
  • nuxeo-easyshare-7.10-HF02.jar /OSGI-INF/extensions.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="easysharefolder" prefix="eshare" src="data/schemas/easysharefolder.xsd"/>
      </extension>
  • nuxeo-platform-audio-core-7.10.jar /OSGI-INF/core-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="audio" prefix="aud" src="schema/audio.xsd"/>
      </extension>
  • nuxeo-core-management-7.10.jar /OSGI-INF/core-management-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="status" src="schemas/status.xsd"/>
      </extension>
  • nuxeo-platform-notification-core-7.10.jar /OSGI-INF/core-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="notification" prefix="notif" src="schemas/notification.xsd"/>
      </extension>
  • nuxeo-platform-imaging-core-7.10-HF06.jar /OSGI-INF/picture-schemas-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="picture" src="schema/picture.xsd"/>
        <schema name="image_metadata" prefix="imd" src="schema/image_metadata.xsd"/>
        <schema name="iptc" prefix="iptc" src="schema/iptc.xsd"/>
      </extension>
  • nuxeo-platform-comment-7.10-HF03.jar /OSGI-INF/comment-schemas-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="comment" prefix="comment" src="schema/comment.xsd"/>
      </extension>
  • nuxeo-platform-audit-core-7.10-HF01.jar /OSGI-INF/core-type-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="basicauditsearch" prefix="bas" src="schemas/basicauditsearch.xsd"/>
      </extension>
  • nuxeo-platform-directory-types-contrib-7.10-HF02.jar /OSGI-INF/DirectoryTypes.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="user" src="directoryschema/user.xsd"/>
        <schema name="group" src="directoryschema/group.xsd"/>
        <schema name="vocabulary" src="directoryschema/vocabulary.xsd"/>
        <schema name="xvocabulary" src="directoryschema/xvocabulary.xsd"/>
        <schema name="l10nvocabulary" src="directoryschema/l10nvocabulary.xsd"/>
        <schema name="l10nxvocabulary" src="directoryschema/l10nxvocabulary.xsd"/>
      </extension>
  • nuxeo-platform-video-core-7.10.jar /OSGI-INF/core-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="video" prefix="vid" src="schemas/video.xsd"/>
      </extension>
  • nuxeo-platform-webapp-types-7.10.jar /OSGI-INF/ecm-schemas-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="advanced_search" prefix="search" src="schemas/advanced_search.xsd"/>
        <schema name="documentsLists" src="schemas/documentsLists.xsd"/>
        <schema name="content_view_display" prefix="cvd" src="schemas/content_view_display.xsd"/>
      </extension>
  • nuxeo-permissions-7.10-HF07.jar /OSGI-INF/directories-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="aceinfo" prefix="aceinfo" src="schemas/aceinfo.xsd"/>
      </extension>
  • nuxeo-platform-oauth-7.10.jar /OSGI-INF/schema-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="oauthConsumer" src="schemas/oauthconsumer.xsd"/>
        <schema name="oauthServiceProvider" src="schemas/oauthserviceprovider.xsd"/>
        <schema name="oauthToken" src="schemas/oauthtoken.xsd"/>
        <schema name="oauth2ServiceProvider" src="schemas/oauth2serviceprovider.xsd"/>
        <schema name="oauth2Token" src="schemas/oauth2token.xsd"/>
        <schema name="oauth2Client" src="schemas/oauth2client.xsd"/>
      </extension>
  • nuxeo-routing-dm-7.10.jar /OSGI-INF/dm-task-core-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="task_step" prefix="tkst" src="schemas/task_step.xsd"/>
        <schema name="conditional_task_step" prefix="ctkst" src="schemas/conditional_task_step.xsd"/>
      </extension>
  • nuxeo-invite-7.10-HF02.jar /OSGI-INF/user-registration-core-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="registration" prefix="registration" src="schemas/registration.xsd"/>
        <schema name="userinfo" prefix="userinfo" src="schemas/userinfo.xsd"/>
        <schema name="registrationconfiguration" prefix="registrationconfiguration" src="schemas/registrationconfiguration.xsd"/>
      </extension>
  • nuxeo-platform-imaging-core-7.10-HF06.jar /OSGI-INF/picturebook-schemas-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="picturebook" src="schema/picturebook.xsd"/>
      </extension>
  • nuxeo-drive-core-7.10-HF07.jar /OSGI-INF/nuxeodrive-core-types.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="driveroot" prefix="drv" src="schema/driveroot.xsd"/>
      </extension>
  • nuxeo-platform-collections-core-7.10-HF03.jar /OSGI-INF/collection-core-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
    
        <schema name="collection" prefix="collection" src="schemas/collection.xsd"/>
    
        <schema name="collectionMember" prefix="collectionMember" src="schemas/collectionMember.xsd"/>
    
      </extension>
  • nuxeo-platform-mail-types-7.10.jar /OSGI-INF/nxmail-core-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
    
        <schema name="mail" prefix="mail" src="schemas/mail.xsd"/>
        <schema name="protocol" prefix="prot" src="schemas/protocol.xsd"/>
    
      </extension>
  • nuxeo-search-ui-7.10-HF03.jar /OSGI-INF/search-core-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="default_search" prefix="defaults" src="schemas/default_search.xsd"/>
      </extension>
  • nuxeo-platform-types-core-7.10.jar /OSGI-INF/ui-types-local-configuration.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="ui_types_configuration" prefix="uitypesconf" src="schemas/ui_types_configuration.xsd"/>
      </extension>
  • nuxeo-platform-rendition-core-7.10-HF02.jar /OSGI-INF/rendition-schemas-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="rendition" prefix="rend" src="schemas/rendition.xsd"/>
      </extension>
  • nuxeo-platform-relations-web-7.10-HF05.jar /OSGI-INF/search-type-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="relation_search" prefix="rel_srch" src="schemas/relation_search.xsd"/>
      </extension>
  • nuxeo-platform-task-core-7.10-HF05.jar /OSGI-INF/task-core-types-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
    
        <schema name="task" prefix="nt" src="schemas/task.xsd"/>
    
      </extension>
  • nuxeo-platform-signature-core-7.10.jar /OSGI-INF/schema-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="cert" src="schemas/cert.xsd"/>
      </extension>
  • nuxeo-platform-tag-core-7.10.jar /OSGI-INF/tag-service-core-types.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="tag" prefix="tag" src="schemas/tag.xsd"/>
      </extension>
  • nuxeo-platform-types-core-7.10.jar /OSGI-INF/contentview-local-configuration.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="content_view_configuration" prefix="cvconf" src="schemas/content_view_configuration.xsd"/>
      </extension>
  • nuxeo-platform-directory-core-7.10.jar /OSGI-INF/directory-local-configuration.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="directory_configuration" prefix="dirconf" src="schemas/directory_configuration.xsd"/>
      </extension>
  • nuxeo-platform-forum-core-7.10.jar /OSGI-INF/forum-schemas-contrib.xml
    <extension point="schema" target="org.nuxeo.ecm.core.schema.TypeService">
        <schema name="thread" src="schemas/thread.xsd"/>
        <schema name="post" src="schemas/post.xsd"/>
      </extension>