-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tests to support corrected JSON Schema Generation PR (#380)
* Correct field and flag enumerations in JSON schemas. Previously in #360, @kylelaker reported a needed improvement to fix a regression for usnistgov/OSCAL#1773. While I had been completing testing in #360 and properly expanding test coverage to address how we handle enumerations based on allow-other and target attributes for field and flag elements in Metaschema (both act similarly but subtly different with more scenarios for field), I observed my test data instances needed further correction in a way that cannot be address in the PR by Kyle. This merges the changes from the commit reffed by the URL below, adds my enhancement, tests, and all examples that helped me uncover missing code. 6fb8a74 * Surpress bottlecaps.de link fail More info below: https://github.com/usnistgov/metaschema/actions/runs/5228171226/jobs/9440341454 Co-authored-by: Kyle Laker <kyle@laker.email>
- Loading branch information
1 parent
d3c1d1f
commit 13cde79
Showing
43 changed files
with
720 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 0 additions & 70 deletions
70
test-suite/metaschema-xspec/json-schema-gen/json-value_constrained-closed.json
This file was deleted.
Oops, something went wrong.
58 changes: 0 additions & 58 deletions
58
test-suite/metaschema-xspec/json-schema-gen/json-value_constrained-narrow.json
This file was deleted.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
test-suite/metaschema-xspec/json-schema-gen/json-value_constrained-open.json
This file was deleted.
Oops, something went wrong.
58 changes: 0 additions & 58 deletions
58
test-suite/metaschema-xspec/json-schema-gen/json-value_constrained-sortof.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.