Firestore Database JSON Schemas
In the following folders are the schemas for each use case data store.
Some useful information:
- Note that UC2 and UC3 share the same ‘garments’ db.
JSON Schema versioning
We use Semantic Versioning to safeguard backwards-compatibility between the new schema and existing data represented in earlier versions of the schema.
The filename follows the following pattern
MODEL-REVISION-ADDITION, where you increment:
MODEL when you make a breaking schema change which will prevent interaction with any historical data,
REVISION when you make a schema change which may prevent interaction with some historical data,
ADDITION when you make a schema change that is compatible with all historical data.