Movement
Movement copied to clipboard
Add documentation (definitions) for data constraints (simple type facets).
In the JSON schema generation, when a facet is included (e.g. enum), it is only bringing that data constraint's values.
For example, an enum might have the value: VA, NC, and SC. But it would be nice to include their definitions as well, which are Virginia, North Carolina, and South Carolina, respectively.
These definitions also exist for other facets besides enum, such as pattern, maxInclusive, minInclusive, etc.
I think the documentation of code values is really needed. NIEM contains some quite cryptic code lists, e.g. ncic:VMOCodeSimpleType