diff options
author | Nicolai Cornelis <[email protected]> | 2024-10-19 06:42:37 +0200 |
---|---|---|
committer | Nicolai Cornelis <[email protected]> | 2024-10-21 19:35:32 +0200 |
commit | 570c265c01a2a22b8cdf81312638dbf58a7e77ea (patch) | |
tree | 834fe1398982e7f019242bff722390f53bb1617c /schemas/readme.md | |
parent | e49a95f7c1d9a2a0e21280e2e268fda72ab9e444 (diff) |
Clean up JSON schema validation
Update ajv cli
Diffstat (limited to 'schemas/readme.md')
-rw-r--r-- | schemas/readme.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/schemas/readme.md b/schemas/readme.md index 65a8de98..43dff920 100644 --- a/schemas/readme.md +++ b/schemas/readme.md @@ -7,9 +7,10 @@ This directory contains public schemas for the most important parts of applicati - You can validate existing config file using the following command: ```bash -docker run --rm -v "$(pwd):/src" -w "/src" node:14-alpine sh -c \ +docker run --rm -v "$(pwd):/src" -w "/src" node:20-alpine sh -c \ "npm install -g ajv-cli && \ ajv validate --all-errors --verbose \ -s ./schemas/config/3.0.schema.json \ + --spec=draft2019 \ -d ./.rr*.y*ml" ``` |