BlueBrain / nexus-forge

Building and Using Knowledge Graphs made easy
https://nexus-forge.readthedocs.io
GNU Lesser General Public License v3.0
39 stars 19 forks source link

Add support for validation against a schema #207

Closed kplatis closed 2 years ago

kplatis commented 2 years ago

The current implementation of .validate() expects a type attribute in the validated resource object. It would be useful to be able to validate against a schema by passing the schema as parameter in .validate()