@sportsdirect/schemas
v0.0.2
Published
 
Readme
schemas
Schemas for standardizing retail data models. Built using JSON Schemas
Resources:
Tools
yarn util- runyarn util --helpfor 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 theschemasdirectoryyarn validate:examples- validates schemas in theexamplesdirectory
#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.
