The Common Data Index (CDI) metadata format is based upon the ISO19115 content standard and both its content and XML coding have been upgraded in September 2013 to the ISO19139 schema and made INSPIRE compliant. Also the MIKADO software has been upgraded so that it can work with and produce CDI XML files that are following the upgraded CDI content and XML format. It should be noted that the content upgrading also concerns migrating to the new Vocabularies (NVS2.0) and  including a number of optional extensions. Provisions have been made in the new MIKADO to read both the previous and the new CDI XML files and to export both in the new XML format, ensuring upwards compatibility. 

New SeaDataNet CDI profile of ISO 19139 metadata - INSPIRE compliant

The CDI format is a marine profile of the ISO 19115 metadata content standard. The XML encoding has been upgraded to the 19139 Schema, which is a standard in the EU INSPIRE Directive Implementing Rules. Therefore an analysis has been undertaken for upgrading the CDI Schema and its encoding to ensure INSPIRE compliance. The existing CDI metadata content has been taken as basis but extra optional elements have been included for bibliographic, CSR and EDMED references and quality information. The analysis has been performed by CNR with support of MARIS, IFREMER, STFC, BODC and ENEA.

The analysis has resulted in a new profile documentation. Furthermore related documentation has been prepared which defines and details the XML schema implementation for this metadata profile, based on the XML schema defined in ISO 19139:2006 TS plus additional definitions and Schematron rules.


SeaDataNet CDI profile excel file - content fields and vocabs used:

XML encoding

Official schemas

Valid CDI documents MUST validate against both the XML Schema and Schematron rules published online in this section.

Remarks: The original ISO 19139 Schema consists of a group of XSD's. But this set-up has been altered and the new overall XSD has been created as given above. It has import links to ISO XSDs which are based at the ISO website. In addition the Schematron Rules are needed.

Extension Information (XML)

ISO 19139 - CDI Extension Information

Remarks: This xml file contains machine readable information about the extensions included in the profile; ISO19139 clients can take advantage of this information to correctly edit/visualize CDI metadata.

Offline schemas package

Remarks: Together the 2 schema files given above are sufficient for validating CDI XML entries, but only when on-line. Therefore also a larger offline schema package has been created that can be used for offline use. It should be warned that this version is provided for offline use only. Note that schematron rules may require access to online code lists catalogues and vocabularies.


  • CDI - Sample metadata document (ISO 19139):

This sample is as complete as possible, by including also all the optional metadata elements (e.g. additionalDocumentation, EDMED reference, CSR reference, etc.)

The legacy sample is based upon the existing CDI format and XML encoding and gives a record with all fields and cardinalities filled. The ISO 19139 sample is the transformation of the legacy sample into the new encoding.


The implementation of the new CDI format and Schema in the SeaDataNet CDI service has required upgrading of related tools and services, such as MIKADO XML editor, and CDI portal software. Because the new CDI format is based upon the same content model, it has been possible to transform the present CDI metadatabase automatically, securing operations while upgrading.

Using the ISO 19139 Schema also allows for SeaDataNet adopting OGC CS-W services for upgrading the maintenance process of the CDI service. This is now in test phase. Thereafter data centres will be able to generate new CDI entries with a new MIKADO version, equipped with a CS-W component, so that the updating of the central portal can take place by harvesting from the distributed data centres.


Validity of CDI documents can be checked with various tools, amongst them:

  • Mikado of course is the tool of choice for the SeaDataNet community
  • Oxygen XML editor v. 19.0
    • having support to both XSD schema and Schematron rules
  • Oxygen XML editor v. 20.1
    • having support to both XSD schema and Schematron rules

However please note there is a bug in this version related to Schematron + XML Schema validation, as one of the authors note here.

As a workaround, in the Oxygen Preferences->"XML / XML Parser / Schematron" page there is a checkbox called "Used associated XML Schema to expand default attributes", you can uncheck it and the problem will be fixed.

  • xmllint using libxml version 20904
    • warning: having support to XSD schema only: no Schematron rules support!