Skip to Content
StriseConnect
Mutations

reviewPrivatePersonCreate

Generate a review for a private person.

Required permission: reviews:write

Response fields with their own permission:

mutation ReviewPrivatePersonCreate($where: PrivatePersonWhereInput!, $riskLevel: RiskLevelKind) {
  reviewPrivatePersonCreate(where: $where, riskLevel: $riskLevel) {
    success
    risk
    id
    context {
      triggerId
      relation {
        edges {
          kind
          explanation
          custom
          node {
            ... on BusinessPerson {
              id
              name
            }
            ... on Company {
              id
              name
            }
            ... on CustomBusinessPerson {
              id
              name
            }
            ... on DeletedEntity {
              isDeleted
              id
              name
              addresses {
                country {
                  code
                  name
                }
                addressLine
                city
                zipCode
                addressKind
                sourceMetadata {
                  acquiredAt
                  verifiedAt
                  source
                  origin
                }
                editMetadata {
                  editKind
                  updatedAt
                  editedBy {
                    id
                    name
                    avatar
                    email
                    accountKind
                  }
                  comment
                  sourceKind
                }
              }
              countries {
                relationship
                country {
                  code
                  name
                }
                sourceMetadata {
                  acquiredAt
                  verifiedAt
                  source
                  origin
                }
                editMetadata {
                  editKind
                  updatedAt
                  editedBy {
                    id
                    name
                    avatar
                    email
                    accountKind
                  }
                  comment
                  sourceKind
                }
              }
              identifiers {
                value
                country
                kind
                description
                sourceMetadata {
                  acquiredAt
                  verifiedAt
                  source
                  origin
                }
                editMetadata {
                  editKind
                  updatedAt
                  editedBy {
                    id
                    name
                    avatar
                    email
                    accountKind
                  }
                  comment
                  sourceKind
                }
              }
              sanctionInfo {
                sanctioned
                sanctions {
                  sanctionedBy
                  sourceReference
                  sanctionedSince
                  program
                  programs {
                    id
                    name
                  }
                  sourceUrl
                  confirmedMatch
                  dispositions {
                    status
                    comment
                    commentOrigin {
                      kind
                      model
                      generatedAt
                      editedAt
                      signedRecord
                    }
                    dispositionedBy {
                      id
                      name
                      avatar
                      email
                      accountKind
                    }
                    dispositionedAt
                    aiAssistant {
                      suggestion
                      model
                    }
                  }
                }
              }
              ams {
                id
                entityId
                published
                publisher
                title
                summary
                bodyText
                url
                clusteredEvents {
                  id
                  url
                }
                authors
                images
                entityMentions {
                  text
                  span {
                    start
                    end
                  }
                  entityType
                  containingPhrase
                  containingPhraseSpan {
                    start
                    end
                  }
                  amsPredictions {
                    context {
                      start
                      end
                    }
                    classification
                    score
                    contextText
                  }
                  field
                  amsClassification
                }
                topicMentions {
                  topic
                  mentions
                }
                eventKind
                createdBy {
                  id
                  name
                  avatar
                  email
                  accountKind
                }
                behindPaywall
              }
              riskFactors {
                kind
                riskValues {
                  ... on CountryRiskValue {
                    country {
                      code
                      name
                    }
                  }
                  ... on IndustryRiskValue {
                    industry {
                      code
                      description
                      codeType
                      editMetadata {
                        editKind
                        updatedAt
                        editedBy {
                          id
                          name
                          avatar
                          email
                          accountKind
                        }
                        comment
                        sourceKind
                      }
                      sourceMetadata {
                        acquiredAt
                        verifiedAt
                        source
                        origin
                      }
                    }
                  }
                  ... on LegalFormRiskValue {
                    legalForm
                  }
                  ... on CourtCaseRiskValue {
                    courtCase {
                      kind
                      role
                      title
                      url
                      validFrom
                    }
                  }
                  ... on LifecycleStatusRiskValue {
                    status
                    date
                  }
                  ... on AuditorNotesRiskValue {
                    year
                  }
                  ... on CustomFieldRiskValue {
                    customRiskField {
                      riskField {
                        id
                        name
                        kind
                        options {
                          id
                          name
                        }
                        tags
                        condition {
                          field
                          options
                        }
                        optionSource
                      }
                      selectedOptions {
                        id
                        name
                      }
                      conditionMet
                    }
                  }
                  ... on PepRiskValue {
                    entityId
                    pepInfo {
                      pep
                      rca
                      confirmedPepStatus
                      confirmedRcaStatus
                      hits {
                        name
                        aliases
                        dateOfBirth {
                          dayOfMonth
                          month
                          year
                        }
                        countries {
                          code
                          name
                        }
                        pep
                        roles {
                          description
                          details
                          startDate
                          endDate
                        }
                        rca
                        relations {
                          description
                          name
                          birthDate
                          roles {
                            description
                            details
                            startDate
                            endDate
                          }
                          externalUrls
                        }
                        custom
                        externalUrls
                        confirmedMatch
                        dispositions {
                          status
                          comment
                          commentOrigin {
                            kind
                            model
                            generatedAt
                            editedAt
                            signedRecord
                          }
                          dispositionedBy {
                            id
                            name
                            avatar
                            email
                            accountKind
                          }
                          dispositionedAt
                          aiAssistant {
                            suggestion
                            model
                          }
                        }
                      }
                    }
                  }
                  ... on SanctionRiskValue {
                    entityId
                    sanctionInfo {
                      sanctioned
                      sanctions {
                        sanctionedBy
                        sourceReference
                        sanctionedSince
                        program
                        programs {
                          id
                          name
                        }
                        sourceUrl
                        confirmedMatch
                        dispositions {
                          status
                          comment
                          commentOrigin {
                            kind
                            model
                            generatedAt
                            editedAt
                            signedRecord
                          }
                          dispositionedBy {
                            id
                            name
                            avatar
                            email
                            accountKind
                          }
                          dispositionedAt
                          aiAssistant {
                            suggestion
                            model
                          }
                        }
                      }
                    }
                  }
                  ... on ScreeningListRiskValue {
                    hit {
                      id
                      listId
                      listName
                      listVersion
                      entryName
                      matchedName
                      score
                    }
                  }
                  ... on RegisterRiskValue {
                    register
                  }
                }
              }
              isCustom
              customEntityMetadata {
                sourceKind
                createdAt
                updatedAt
                createdBy {
                  id
                  name
                  avatar
                  email
                  accountKind
                }
              }
              entityKindBasis
            }
          }
          details {
            ... on OwnershipRelationDetails {
              share
            }
          }
        }
      }
      explanations
      entity {
        ... on Company {
          id
          name
        }
        ... on BusinessPerson {
          id
          name
        }
        ... on CustomBusinessPerson {
          id
          name
        }
        ... on DeletedEntity {
          isDeleted
          id
          name
          addresses {
            country {
              code
              name
            }
            addressLine
            city
            zipCode
            addressKind
            sourceMetadata {
              acquiredAt
              verifiedAt
              source
              origin
            }
            editMetadata {
              editKind
              updatedAt
              editedBy {
                id
                name
                avatar
                email
                accountKind
              }
              comment
              sourceKind
            }
          }
          countries {
            relationship
            country {
              code
              name
            }
            sourceMetadata {
              acquiredAt
              verifiedAt
              source
              origin
            }
            editMetadata {
              editKind
              updatedAt
              editedBy {
                id
                name
                avatar
                email
                accountKind
              }
              comment
              sourceKind
            }
          }
          identifiers {
            value
            country
            kind
            description
            sourceMetadata {
              acquiredAt
              verifiedAt
              source
              origin
            }
            editMetadata {
              editKind
              updatedAt
              editedBy {
                id
                name
                avatar
                email
                accountKind
              }
              comment
              sourceKind
            }
          }
          sanctionInfo {
            sanctioned
            sanctions {
              sanctionedBy
              sourceReference
              sanctionedSince
              program
              programs {
                id
                name
              }
              sourceUrl
              confirmedMatch
              dispositions {
                status
                comment
                commentOrigin {
                  kind
                  model
                  generatedAt
                  editedAt
                  signedRecord
                }
                dispositionedBy {
                  id
                  name
                  avatar
                  email
                  accountKind
                }
                dispositionedAt
                aiAssistant {
                  suggestion
                  model
                }
              }
            }
          }
          ams {
            id
            entityId
            published
            publisher
            title
            summary
            bodyText
            url
            clusteredEvents {
              id
              url
            }
            authors
            images
            entityMentions {
              text
              span {
                start
                end
              }
              entityType
              containingPhrase
              containingPhraseSpan {
                start
                end
              }
              amsPredictions {
                context {
                  start
                  end
                }
                classification
                score
                contextText
              }
              field
              amsClassification
            }
            topicMentions {
              topic
              mentions
            }
            eventKind
            createdBy {
              id
              name
              avatar
              email
              accountKind
            }
            behindPaywall
          }
          riskFactors {
            kind
            riskValues {
              ... on CountryRiskValue {
                country {
                  code
                  name
                }
              }
              ... on IndustryRiskValue {
                industry {
                  code
                  description
                  codeType
                  editMetadata {
                    editKind
                    updatedAt
                    editedBy {
                      id
                      name
                      avatar
                      email
                      accountKind
                    }
                    comment
                    sourceKind
                  }
                  sourceMetadata {
                    acquiredAt
                    verifiedAt
                    source
                    origin
                  }
                }
              }
              ... on LegalFormRiskValue {
                legalForm
              }
              ... on CourtCaseRiskValue {
                courtCase {
                  kind
                  role
                  title
                  url
                  validFrom
                }
              }
              ... on LifecycleStatusRiskValue {
                status
                date
              }
              ... on AuditorNotesRiskValue {
                year
              }
              ... on CustomFieldRiskValue {
                customRiskField {
                  riskField {
                    id
                    name
                    kind
                    options {
                      id
                      name
                    }
                    tags
                    condition {
                      field
                      options
                    }
                    optionSource
                  }
                  selectedOptions {
                    id
                    name
                  }
                  conditionMet
                }
              }
              ... on PepRiskValue {
                entityId
                pepInfo {
                  pep
                  rca
                  confirmedPepStatus
                  confirmedRcaStatus
                  hits {
                    name
                    aliases
                    dateOfBirth {
                      dayOfMonth
                      month
                      year
                    }
                    countries {
                      code
                      name
                    }
                    pep
                    roles {
                      description
                      details
                      startDate
                      endDate
                    }
                    rca
                    relations {
                      description
                      name
                      birthDate
                      roles {
                        description
                        details
                        startDate
                        endDate
                      }
                      externalUrls
                    }
                    custom
                    externalUrls
                    confirmedMatch
                    dispositions {
                      status
                      comment
                      commentOrigin {
                        kind
                        model
                        generatedAt
                        editedAt
                        signedRecord
                      }
                      dispositionedBy {
                        id
                        name
                        avatar
                        email
                        accountKind
                      }
                      dispositionedAt
                      aiAssistant {
                        suggestion
                        model
                      }
                    }
                  }
                }
              }
              ... on SanctionRiskValue {
                entityId
                sanctionInfo {
                  sanctioned
                  sanctions {
                    sanctionedBy
                    sourceReference
                    sanctionedSince
                    program
                    programs {
                      id
                      name
                    }
                    sourceUrl
                    confirmedMatch
                    dispositions {
                      status
                      comment
                      commentOrigin {
                        kind
                        model
                        generatedAt
                        editedAt
                        signedRecord
                      }
                      dispositionedBy {
                        id
                        name
                        avatar
                        email
                        accountKind
                      }
                      dispositionedAt
                      aiAssistant {
                        suggestion
                        model
                      }
                    }
                  }
                }
              }
              ... on ScreeningListRiskValue {
                hit {
                  id
                  listId
                  listName
                  listVersion
                  entryName
                  matchedName
                  score
                }
              }
              ... on RegisterRiskValue {
                register
              }
            }
          }
          isCustom
          customEntityMetadata {
            sourceKind
            createdAt
            updatedAt
            createdBy {
              id
              name
              avatar
              email
              accountKind
            }
          }
          entityKindBasis
        }
        ... on PrivatePerson {
          id
          name
        }
      }
    }
  }
}
input PrivatePersonWhereInput {
  id: PrivatePersonId!
}

Arguments

where PrivatePersonWhereInput! non-null input

PrivatePersonWhereInput!

riskLevel RiskLevelKind enum

RiskLevelKind The risk level to store on the review. Omit it to store none; the risk class returned is decided by the risk class settings either way. Ignored when the risk class settings move the entity to manual review.

Type

PrivatePersonReviewPayload object

PrivatePersonReviewPayload

Response Fields

success Boolean! non-null scalar

Boolean!

risk RiskClass! non-null enum

RiskClass!

id ID scalar

ID Has a value only when the review is automatically completed, which is dependent on configured risk class settings.

context ReviewContext object

ReviewContext

On this page