digitalbazaar / bedrock-validation

Bedrock validation
Other
0 stars 3 forks source link

Improve jsonldType validator #2

Open dlongley opened 9 years ago

dlongley commented 9 years ago

Currently, the jsonldType validator is limited to expressing that N many "alternative types" may be included along with any required types. This should be improved such that only required types are listed and any additional types can be added (if so desired). This feature will require a new json schema lib (#1) that supports not or contains.

dlongley commented 9 years ago

See:

v4: https://gist.github.com/anonymous/7359001 v5: https://gist.github.com/anonymous/7359101