Unverified Commit 6c969774 authored by Karoly Erdos's avatar Karoly Erdos Committed by GitHub
Browse files

Merge pull request #45 from EMBL-EBI-SUBS/dev

Merge latest DEV changes to MASTER

Travis is extremely slow, build pending for a long time - won't wait for it. Locally tested with unit tests and executed service and responded for the requests.
parents 37477731 619eed5b
language: node_js
node_js:
- "8.11.1"
- "10.16.3"
script: npm run travis-test
......@@ -8,13 +8,27 @@ This service uses [Elixir's JSON schema validator library](https://github.com/el
The validation is done using the [AJV](https://github.com/epoberezkin/ajv) library version ^6.0.0 that fully supports the JSON Schema **draft-07**.
Deployed for tests purposes on heroku: https://subs-json-schema-validator.herokuapp.com/validate
## Contents
- [Getting Started](README.md#getting-started)
- [Prerequisites](README.md#prerequisites)
- [Installing](README.md#installing)
- [Running the Tests](README.md#running-the-tests)
- [Executing](README.md#executing)
- [Executing with Docker](README.md#executing-with-docker)
- [Development](README.md#development)
- [Validation API](README.md#validation-api)
- [Usage](README.md#usage)
- [API Errors](README.md#api-errors)
- [Custom keywords](README.md#custom-keywords)
- [License](README.md#license)
......@@ -187,7 +201,8 @@ HTTP status code `400`
## Custom keywords
The AJV library supports the implementation of custom json schema keywords to address validation scenarios that go beyond what json schema can handle.
The list of implemented custom keywords could be found in the Elixir's JSON Schema Validator library's documentation: [https://github.com/elixir-europe/json-schema-validator/blob/master/README.md#custom-keywords].
The list of implemented custom keywords could be found in the
[Elixir's JSON Schema Validator library's documentation](https://github.com/elixir-europe/json-schema-validator/blob/master/README.md#custom-keywords).
## License
For more details about licensing see the [LICENSE](LICENSE.md).
This diff is collapsed.
{
"name": "json-schema-validator",
"version": "1.7.0",
"description": "A nodejs JSON schema validator.",
"version": "1.8.0",
"description": "A nodejs JSON schema validator service.",
"main": "src/server.js",
"repository": "https://github.com/EMBL-EBI-SUBS/json-schema-validator.git",
"scripts": {
......@@ -22,7 +22,7 @@
"author": "EMBL-EBI-SUBS, fpenim, ke4, haseeb-gh",
"license": "Apache-2.0",
"dependencies": {
"elixir-jsonschema-validator": "^1.6.1",
"elixir-jsonschema-validator": "^2.0.0",
"express": "^4.17.1",
"npid": "^0.4.0",
"request": "^2.88.2",
......@@ -30,7 +30,12 @@
"winston-daily-rotate-file": "^3.10.0"
},
"devDependencies": {
"jest": "^23.6.0",
"nodemon": "^1.19.4"
"bufferutil": "^4.0.2",
"canvas": "^2.6.1",
"jest": "^26.6.0",
"nodemon": "^2.0.6",
"ts-node": "^9.1.0",
"typescript": "^4.1.2",
"utf-8-validate": "^5.0.3"
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment