Uses PRMD spec to generate a single json schema file from individual yaml schemas files.
535
Uses PRMD spec to generate a single json schema file from individual yaml schemas files.
Following these instructions will generate a schema file. This can be used with z-schema to validate data against schemas (see json-schema-validator repo)
docker run --rm -v $(pwd):/usr/src/app shinydocker/schema-generatordocker run --rm -v $(pwd):/usr/src/app --env-file=env.list schema-generatordocker-compose up with the docker-compose.yml in this repo as a templateschema-generator:
image: shinydocker/schema-generator
volumes:
- ./:/usr/src/app
env_file:
- ./env.list
Where env.list contains
META_PATH=meta.json
SCHEMATA_PATH=schemata/
SCHEMA_PATH=schemas/schema.json
Content type
Image
Digest
Size
258.1 MB
Last updated
over 10 years ago
docker pull shinydocker/schema-generator