PermissionError opened a new issue, #133: URL: https://github.com/apache/incubator-annotator/issues/133
Currently `yarn validate --url <url>` can be used to validate JSON documents against the Web Annotation Data Model schema. This is achieved through executing `test/data-model.test.ts`. I'm wondering if this should/could be included as API somewhere? An example use case would be where a server may wish to validate uploaded annotation data against the schema. I am aware that this probably doesn't fall into either the `dom` or `selector` package, but since the code is already there, it seems like a waste to not to include it in a more developer-friendly form. Perhaps in a new `util` package? It should be relatively trivial, and I could take that on. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@annotator.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org