We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See OA spec at http://www.openannotation.org/spec/core/
e.g., this is an example of using json-schema to validate an API endpoint in tests:
See also
The text was updated successfully, but these errors were encountered:
A very crude starting point:
# JSON Schema # json-schema for description and validation of Open Annotation 1.0, see # http://www.openannotation.org/spec/core/ OA_JSON_SCHEMA = <<-END_JSON_SCHEMA_STR { "type":"object", "title":"Open Annotation", "description":"A json-schema for Open Annotation 1.0, see http://www.openannotation.org/", "additionalProperties":true, "properties":{ "@id":{ "type":"string", "format":"uri", "required": true }, "hasTarget":{ "type":"string", "format":"uri", "required": true }, "hasBody":{ "type":"string", "format":"uri" } } } END_JSON_SCHEMA_STR
Sorry, something went wrong.
No branches or pull requests
See OA spec at http://www.openannotation.org/spec/core/
e.g., this is an example of using json-schema to validate an API endpoint in tests:
See also
The text was updated successfully, but these errors were encountered: