Movement icon indicating copy to clipboard operation
Movement copied to clipboard

Add documentation (definitions) for data constraints (simple type facets).

Open smrubin opened this issue 8 years ago • 1 comments

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.

smrubin avatar Jun 21 '17 20:06 smrubin

I think the documentation of code values is really needed. NIEM contains some quite cryptic code lists, e.g. ncic:VMOCodeSimpleType

mark-aamva avatar Jul 12 '17 18:07 mark-aamva