Data types in Digipost
From version 7 of the Digipost REST API XSD, the concept of data-types was introduced. The purpose of datatypes is to make it possible to send metadata alongside the document which will result in extra functionality in Digipost for the recipient. In many cases using a datatype will result in a special view of the metadata in the recipients Digipost mailbox.
All datatypes are defined in a separate GitHub repository.
Data-types can be defined as raw XML in the request to the Digipost REST API, but there are also libraries that expose data-types as classes. These exist in both Java and .NET.