Data Model mapped and documented at this repository.

A live version of the HTML documentation is hosted available at Github Pages

The data model is versioned, with the current live version being V1 and with V2 being produced.

Diagram for the Data Model v2

Documentation

The documentation can be found in HTML and PDF. The HTML live version is highly recommended.

There is also an excel spreadsheet version.

Below is an embedded version of the PDF docs.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/349a3b64-2fb4-415f-b098-ea866157025a/FightPandemics_documentation_compressed_(1).pdf

Specifications and Scripts

There are JSON Document and JSON Schema representations.

There are MongoDB Scripts available for collection creation, in JS with standard Mongo Shell flavor.

Mongoose scripts with the models definitions are also available here.

Collections

Users

Collection that holds all the data on system's users.

The users can be of two types: (1) Individual, representing a private user account; and (2) Organization, representing an organization of various types.

The field 'type' is used to differentiate between the two subschemas, with 'individual' representing private user accounts and "Community", "Government", "Health care provider", "Non-profit", "Other", "R&D", "Startup", "Traditional Company" and "University".