summaryrefslogtreecommitdiff
path: root/schemas/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'schemas/readme.md')
-rw-r--r--schemas/readme.md10
1 files changed, 3 insertions, 7 deletions
diff --git a/schemas/readme.md b/schemas/readme.md
index 43dff920..656a7788 100644
--- a/schemas/readme.md
+++ b/schemas/readme.md
@@ -4,13 +4,9 @@ This directory contains public schemas for the most important parts of applicati
**Do not rename or remove this directory or any file or directory inside.**
-- You can validate existing config file using the following command:
+- You can validate existing config file using the following command from the project root.
```bash
-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"
+docker run --rm -v "$(pwd):/src" -w "/src" node:22-alpine sh -c \
+ "cd schemas && npm install && node test.js"
```