0.0.2 • Published 5 years ago

@sportsdirect/schemas v0.0.2

Weekly downloads
2
License
MIT
Repository
-
Last release
5 years ago

schemas

npm.io npm.io

Schemas for standardizing retail data models. Built using JSON Schemas

Resources:

Tools

  • yarn util - run yarn 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 the schemas directory
  • yarn validate:examples - validates schemas in the examples 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.