Minting is the process of creating a new entry for a given key. The minting process MAY fail if the entry and blob do not comply with the requirements.

The draft data to be minted can be defined as:

type Draft =
  { key : Name
  , blob : Blob

And the mint operation as:

mint : Draft -> Result ValidationError (Entry, Blob)


A Draft is valid if and only if:

© Crown copyright released under the Open Government Licence.