Skip to content

Latest commit

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

MassTech

erDiagram
COLLECTION }|--|| PARTICIPANT : has
COLLECTION ||--|{ SHARES : contains
COLLECTION {
string _id
string title
string description
string state
string prime
string publicKey
int threshold
string projectId
timestamp createdAt
string createdBy
timestamp lastClosedAt
timestamp lastOpenedAt
}
PARTICIPANT ||--|{ SHARES : has
PARTICIPANT {
string _id
string collectionId
timestamp createdAt
json metadata
}
SHARES ||--|{ SHARE : consists_of
SHARES {
string _id
string participantId
string collectionId
string name
timestamp createdAt
share[] shares
json metadata
}
SHARE {
string x
string y
string type
}
Loading

Table: COLLECTION

Name of the FieldData TypeDescription
_idstringAutomatically given
titlestringA title for the collection (e.g., BWWC's gender-wise wage gap)
descriptionstringWhat this collection is for
statestringEither "open", "closed", or "paused"
primestringPrime = Field size for cryptography
publicKeystringPublic key for de-/encryption
thresholdnumberThe threshold for the minimum submission requirement to preserve security
projectIdstringIdentifies which project this collection is for and links with the auth service
createdAttimestamp-
createdBystring-
lastClosedAttimestamp-
lastOpenedAttimestamp-

Table: PARTICIPANT

Name of the FieldData TypeDescription
_idstringAutomatically given
collectionIdstringIdentifier to link to which collection this participation belongs
createdAttimestamp-
metadatajsonBWWC Example: ({ industry: "healthcare", size: "large" })

Table: SHARES

Name of the FieldData TypeDescription
_idstringAutomatically given
participantIdstringIdentifier to link with participants whose data is encrypted in these shares
collectionIdstringIdentifier to link with Collection for these shares
namestringUnique name for the set of shares e.g., hispanic_female_executive
createdAttimestamp-
shareslistList of shares
metadatajsonBWWC Example: ({ gender: "female", position: "executive" })

Table: SHARE (not a db table)

Name of the FieldData TypeDescription
xstring-
ystring-
typestringencrypted/unencrypted

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages