A simple type is a structure that represents a simple value only.
Simple types are data structures like strings, numbers, and booleans. They can also be customized with facets so that only a certain range of numbers, or a certain set of codes, for example, are allowed.
Simple types can be used in two ways in the model:
- Core defines attribute
personNameInitialIndicator. Its type is a boolean - a simple type.
- Core defines simple type
AddressCategoryCodeSimpleType, which constrains a string down to a few possible codes, like
Common simple types provided by XML include
Simple types provided by JSON are
In addition to a simple type with facets, NIEM supports two additional kinds of simple types: