Risks

Field
Type
Description

risks

Array of risk

Query example

 query company($companyId: ID) {
  company(id: $companyId) {
        id
        risks {
            category
            lineage
            additionalInfo {
                name
                value
            }
            ratings {
                type
                links
                ... on RiskRatingInt {
                    type
                    links
                    current {
                        intValue
                        date
                    }
                    previous {
                        intValue
                        date
                    }
                    scale {
                        color
                        label
                        description
                        intValueRange {
                            gte
                            lte
                        }
                        colorGradient {
                            startColor
                            endColor   
                        }
                    }
                }
                ... on RiskRatingString {
                    type
                    links
                    current {
                        stringValue
                        date
                    }
                    previous {
                        stringValue
                        date
                    }
                    scale {
                        color
                        label
                        value
                        description
                    }
                }
                ... on RiskRatingFloat {
                    type
                    links
                    current {
                        floatValue
                        date
                    }
                    previous {
                        floatValue
                        date
                    }
                    scale {
                        color
                        label
                        description
                        colorGradient {
                            startColor
                            endColor
                        }
                        floatValueRange {
                            gt
                            gte
                            lt
                            lte
                        }
                    }
                }    
            }
            highlights {
                content
                occurred
                severity
                additionalInfo {
                    name
                    value
                }
            }
        }
    }
}

Last updated