-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
⭐️ EnhancementImprovement or new feature for usersImprovement or new feature for users
Description
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.
Metadata
Metadata
Assignees
Labels
⭐️ EnhancementImprovement or new feature for usersImprovement or new feature for users