anno-schema
JSON schema, OpenAPI and JSON-LD context
Development
The sources are kept as YAML and transformed to JSON before publishing/linking.
- Adapt
./data-model.yml
/./context.yml
- Regenerate the JSON by either
-
node ./scripts/prepublish.js
(inanno-schema
) -
npm run prepublish
(inanno-schema
) -
lerna bootstrap
(anywhere in or below root folder)
-
- Make sure the tests pass
-
make test:schema
(in root folder) -
npm test
(inanno-schema
)
-