Skip to content

Commit

Permalink
Merge pull request #115 from Whats-Cookin/revert-114-dev
Browse files Browse the repository at this point in the history
Revert "Get candid changes into master"
  • Loading branch information
gvelez17 authored Jul 28, 2024
2 parents 2d2f8a0 + 7ef6f8b commit 61fcea8
Showing 1 changed file with 16 additions and 24 deletions.
40 changes: 16 additions & 24 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -155,30 +155,28 @@ model Image {
// claimData ClaimData @relation(fields: [claimDataId], references: [id])
}


// this is for validator service
model CandidUserInfo {
id Int @id @default(autoincrement())
claimId Int? @unique
firstName String?
lastName String?
candid_entity_id String
email String
profileURL String
id Int @id @default(autoincrement())
claimId Int? @unique
firstName String
lastName String
email String
profileURL String
}

model ValidationRequest {
id Int @id @default(autoincrement())
id Int @id @default(autoincrement())
createdAt DateTime @default(now())
context String
validatorName String
validatorEmail String
claimId Int @unique // the id of the candid user claim (the root claim)
validationClaimId Int? @unique // the id of validation claim
validationStatus ValidationStatus @default(PENDING)
response ResponseStatus?
validationDate DateTime?
statement String?
context String
validatorEmail String
claimId Int
validationStatus ValidationStatus @default(PENDING)
response Boolean? @default(false)
validationDate DateTime?
statement String?
}

enum ValidationStatus {
Expand All @@ -195,13 +193,6 @@ enum IssuerIdType {
URL
}

enum ResponseStatus {
GREEN // approved
YELLOW // may wish to follow up
GREY // we do not have any information that they should actively be rejected
RED // should be rejected without further action.
}

enum HowKnown {
FIRST_HAND
SECOND_HAND
Expand All @@ -215,3 +206,4 @@ enum HowKnown {
OPINION
OTHER
}

0 comments on commit 61fcea8

Please sign in to comment.