Digital Reference Material Document (DRMD) Bundesanstalt für Materialforschung und -prüfung (BAM)

Digital Reference Material Document (DRMD)

The DRMD is an XML format for the documents that accompany a reference material: certificates and product information sheets. Its content follows ISO 33401:2024, so that certified values, uncertainties and statements can be read and checked by software.

The DRMD is developed at the Bundesanstalt für Materialforschung und -prüfung (BAM). The schema, the guidance document, the generator and the video guides are openly available for everyone to use.

Resources

Schema

The XML Schema makes the DRMD machine-readable: it defines the structure of every document. It is complemented by further rules, the Schematron business rules for each document type. Together they safeguard DRMD compliance with ISO 17034 and ISO 33401.

  • Version 1.0.0
  • Two worked example documents
  • Validation script and rule tests

View the schema on GitHub

github.com/BAMresearch/drmd-schema

Guidance Document

Explains every element of the schema with rules and examples, for reference material producers, laboratories, software developers and auditors.

  • Element-by-element reference
  • Units, quantities and uncertainty
  • ISO 33401:2024 conformance map and checklists

Read the guidance document

bamresearch.github.io/drmd-guidance

Generator

Creates and edits DRMD files in the browser: enter a document by hand, open and edit an existing DRMD, or convert PDF certificates and product information sheets with AI. Every document is validated before export.

  • Manual entry and editing of DRMD files
  • AI conversion of single PDFs or whole folders, with your own API key
  • Units in D-SI, validated against the schema and the business rules

Open the generator

bamresearch.github.io/drmd-generator

Video Guides

Step-by-step videos that show how to work with the DRMD tools, with spoken explanation and captions. Each video is divided into chapters, so you can go straight to the step you need.

  • DRMD AI Generator guide, 15 minutes
  • Chapters for every step
  • Full transcript to read along

Watch the videos

bamresearch.github.io/drmd-videos

What a DRMD contains

A DRMD is a single XML file with one root element. Everything ISO 33401:2024 asks a certificate or product information sheet to state has a fixed place in it, so software always finds it in the same place.

Two document types

Reference material certificate
Accompanies a certified reference material. At least one property value carries a measurement uncertainty, and the document states metrological traceability.
Product information sheet
Accompanies any other reference material. Uncertainty and traceability are permitted but not required.

Structure of a DRMD document

digitalReferenceMaterialDocument

  • administrativeDataTitle, document identifier, version, period of validity, the producer and the persons responsible.
  • materialsEach reference material with its name, description, minimum sample size and identifiers.
  • propertiesListProperty values with units in the D-SI format, their uncertainties and the measurement procedures.
  • statementsIntended use, commutability, storage, handling and use, metrological traceability, health and safety.
  • commentoptionalRemarks on the document.
  • documentoptionalAn embedded human-readable copy, such as the original PDF.
  • ds:SignatureoptionalXML digital signature.

Example: one certified value

The same value as it appears in a certificate and as it is stored in a DRMD.

In the certificate (PDF)

Aluminium alloy disc EXA-1a

Certified values
ElementMass fractionUncertainty U
Silicon6.42 %0.08 %
Copper3.15 %0.06 %

U is the expanded uncertainty with a coverage factor k = 2.

In the DRMD (XML)

<drmd:quantity id="q_si">
  <dcc:name>
    <dcc:content lang="en">Silicon</dcc:content>
  </dcc:name>
  <si:real>
    <si:quantityTypeQUDT>MassFraction</si:quantityTypeQUDT>
    <si:value>6.42</si:value>
    <si:unit>\percent</si:unit>
    <si:measurementUncertaintyUnivariate>
      <si:expandedMU>
        <si:valueExpandedMU>0.08</si:valueExpandedMU>
        <si:coverageFactor>2</si:coverageFactor>
      </si:expandedMU>
    </si:measurementUncertaintyUnivariate>
  </si:real>
</drmd:quantity>
Shortened from the worked example in the DRMD schema repository.

Contact

Questions about the DRMD, feedback on the guidance document, or a certificate that does not convert well: please write to the DRMD team at BAM.

drmd@bam.de