@sportsdirect/schemas
v0.0.2
Published
 
Downloads
9
Readme
schemas
Schemas for standardizing retail data models. Built using JSON Schemas
Resources:
Tools
yarn util
- runyarn util --help
for instructions on how to use$ yarn util generate:field <name>
- generate new field-level json schema$ yarn util generate:schema <name>
- generate new top-leel json schema$ yarn util compile
- dereference / compile schemas to/dist
Compile Schemas
yarn validate
- validates schemas in theschemas
directoryyarn validate:examples
- validates schemas in theexamples
directory
#Branch Structure
Due to limited workload in this repo initially, all work should be done in develop. Submit PRs to master. We can switch to feature branches if we begin to see conflicts.