# Functions
CodeMapHas returns a validation rule that ensures the code set contains the provided keys.
DefinitionKeys helps extract the keys from a list of key definitions.
GetKeyDefinition helps fetch the key definition instance from a list.
HasValidKeyIn provides a validator to check the Key's value is within the provided known set.
InKeyDefs prepares a validation to provide a rule that will determine if the keys are in the provided set.
KeyStrings is a convenience method to convert a list of keys into a list of strings.
NormalizeCode attempts to clean and normalize the provided code so that it matches what we'd expect instead of raising validation errors.
# Constants
CodeEmpty is used when no code is defined.
KeyEmpty is used when no key is available.
Acknowledgement Description.
Customer remarks.
Customs declaration information.
Dangerous goods additional information.
Delivery Information.
Dispute.
General information.
Glossary.
Goods Description.
Handling instructions.
Legal or regulatory information.
Loading instructions.
Packaging information.
Terms of Payment.
Price conditions.
Priority information.
Quarantine Information.
Rate additional information.
Reason.
Regulatory information.
Safety Instructions.
Ship Line.
Supplier remarks.
Tax declaration.
Transportation information.
# Variables
Basic code constants.
Basic code constants.
Basic code constants.
Basic code constants.
KeyMaxLength defines the maximum key length.
KeyMinLength defines the minimum key length.
KeyPattern describes what should keys look like.
KeySeparator is used to separate keys join using the "With" method.
KeyValidationRegexp is used for key validation.
NoteKeyDefinitions provides a map of Note Keys to their definitions including a description and UNTDID code.
# Structs
DefNoteKey holds a note key definition.
KeyDefinition defines properties of a key that is specific for a regime.
Note represents a free text of additional information that may be added to a document.
ValueDefinition describes a specific value and how it maps to a human name and description if appropriate.
# Type aliases
Code represents a string used to uniquely identify the data we're looking at.
CodeMap is a map of keys to specific codes, useful to determine regime specific codes from their key counterparts.
Key is used to define an ID or code that more closely represents a human name.
Meta defines a structure for data about the data being defined.