-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1) Fixes problem in Type: validation (where 'Type: enum' was not called invalid, although 'enum' is not in the list of simple types) - correctly expressing alternative, mutual exclusive properties in the schema. 2) Fixes the #/def/url matcher regexp which probably had never been in correct JS form (required by the JSONSchema spec) 3) Fixes test (001) of the CRDC example MDF, which did not 'assert' the result of validate_instance_with_schema and so was a no-op. (once asserted, I found the issue with the URL regexp) 4) Adds test that 'Type: enum' validation is fixed
- Loading branch information
Showing
3 changed files
with
46 additions
and
26 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
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