ORNL / DataFed

A Federated Scientific Data Management System
https://ornl.github.io/DataFed/
Other
18 stars 14 forks source link

Schema: Need to support arrays in schema validation #564

Closed dvstans closed 3 years ago

dvstans commented 3 years ago

JSON schema supports item definitions for arrays that may include sub-object definitions and/or schema references. Need to modify schema validation codes in DataFed to traverse arrays for this purpose (current code only traverses objects).

dvstans commented 3 years ago

Fixed - might need fine tuning for edge cases in the future (i.e. smarter as far as which $refs to ignore_

dvstans commented 3 years ago

This must be supported in the DB reference resolution code also.