frasersgroup / schemas Goto Github PK
View Code? Open in Web Editor NEWSchemas for standardizing retail data models
License: MIT License
Schemas for standardizing retail data models
License: MIT License
Add to private-schemas
How do we handle this difference in our schema? Are Product entities at the Style or SKU level? Can see a few approaches at the moment:
Style-Level Products including SKUs - The big pro to me here is that all the information is saved at the style level and not repeated for it's x SKUs. In this design SKUs are saved as a collection on the Style Level Product.
SKU-Level Products - All information is saved at the SKU level. Looking at the Style level requires a query or aggregate where Style ID = Style ID. Downside - editing style-level info must be saved to each individual SKU.
Both! We create a Style and a Product and they have a relationship. A Style has many Products. Downside is now we have 2 entities to deal with vs 1. Did we overcomplicate, or is this a good model of the domain?
Personally I'm a fan of 1 or 3.
Need to publish the schemas as an npm package for importing into highstreet
SD has a specific SD SKU
Do we use UPCs?
Likely a json schema -> markdown converter. Should already exist and be pretty simple to generate
See comment in #8
Based on Category?
We need a way to compile the schemas to a single object by dereferencing the $ref
'ed fields.
Likely a good reference: https://www.npmjs.com/package/json-schema-ref-parser
Need to fill out the rest of the top-level schemas for:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.