mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
16 lines
478 B
Markdown
16 lines
478 B
Markdown
# Schemas
|
|
|
|
This directory contains public schemas for the most important parts of application.
|
|
|
|
**Do not rename or remove this directory or any file or directory inside.**
|
|
|
|
- You can validate existing config file using the following command:
|
|
|
|
```bash
|
|
$ docker run --rm -v "$(pwd):/src" -w "/src" node:16-alpine sh -c \
|
|
"npm install -g ajv-cli && \
|
|
ajv validate --all-errors --verbose \
|
|
-s ./schemas/config/1.0.schema.json \
|
|
-d ./error-pages.y*ml"
|
|
```
|