Spec project structure

For specs, the InfoSphere® MDM Workbench creates the following project structure. You extend this structure as required to provide updates to the spec definitions and new spec formats.

The logical file structure consists of the following folders and files. Note that not all these folders and files are required for any given spec definition.
<projectname> folder
  locales folder
    mdm.locales file
  specs folder
    <specname> folder
      <specname>.spec file
      <specformat> folder
         <specname>.internal.xsd file
         <specname>.external.xsd file
         <specname>.localized.xsd file
         nlsTemplate.properties file
         nls folder
           <specname>_<language>.properties file

The descriptions of these folders and files are:

<projectname> folder
This folder holds the metadata package. See Understanding specs and the MDM metadata project for more information.
locales folder
This folder holds the mdm.locales file.
mdm.locales file
This optional file holds the set of locales supported by the target deployment system. See Default locales for the InfoSphere MDM Workbench for more information.
specs folder
This folder holds the spec definitions.
<specname> folder
This folder holds a particular spec definition.
<specname>.spec file
This file holds the information about the spec profile.
<specformat> folder
This folder holds the definition of a given spec format. Initially, InfoSphere MDM Workbench generates a single, default spec format, 0000001. You can create additional spec formats as required. See Understanding the spec format for more information.
<specname>.internal.xsd file
The internal schema holds the dynamic data model for you business requirements. You must implement this file.
<specname>.external.xsd file
The external schema is based on the internal schema and provides a less restrictive definition of the spec for use at runtime under certain configuration. This file is generated by the InfoSphere MDM Workbench.
<specname>.localized.xsd file
The localized schema is based on the internal schema and provides support for the localization of XML governed by the internal schema. This file is generated by the InfoSphere MDM Workbench.
nlsTemplate.properties file
The translation template file is automatically generated by the InfoSphere MDM Workbench.
<nls> folder
This folder holds an optional set of properties files which provide National Language Support for associated schemas. See National language support (NLS) for more information.
<specname>_<language>.properties file
Zero or more properties files can be added to provide alternate translations for the schemas.