complianceRiskBy (risk insights)

Returns the risk score of vessels based on regime levels and IMO.

The complianceRiskBy query returns the risk score of vessels related to selected regime levels and vessel IMO. The results are consumed per page, limited to 500 vessels per page. Page size and number are controlled by the limit and offset variables.

Arguments

NameTypeDescription
inputComplianceRiskByInput!Filters vessels by compliance risk properties.

ComplianceRiskByInput Fields

NameTypeDescription
filterComplianceRiskByFilterInput!Sets the vessel compliance risk filtering criteria.
limitPositiveInt!The maximal number of records to return.
offsetNonNegativeInt!The number of returned records to skip from the beginning of the record list.

Returns

NameDescription
ComplianceRiskByConnection!The compliance risk information of the vessels filtered by the complianceRiskBy query.

ComplianceRiskByConnection Fields

NameTypeDescription
nodes[ComplianceVesselRisk!]The vessels whose compliance risk attributes match the compliance filtering attributes.
totalCountNonNegativeInt!The number of vessels returned.

Example Code

Sample Query

query ComplianceRiskBy($input: ComplianceRiskByInput!) {
  complianceRiskBy(input: $input) {
    totalCount
    nodes {
      imo
      level
      program
      isSanctioned
      riskySince
      buildingBlocks {
        name
        count
        program
        recentActivityStartDate
        level
      }
    }
  }
}

Variables

{
  "input": {
    "limit": 200,
    "offset": 100,
    "filter": {
      "regimes": "RUSSIA_GENERAL"
    }
  }
}

Response

{
  "data": {
    "complianceRiskBy": {
      "totalCount": 7942,
      "nodes": [
        {
          "imo": "9119684",
          "level": "Medium",
          "program": [
            "RUSSIA_GENERAL"
          ],
          "isSanctioned": false,
          "riskySince": "2022-07-29T07:10:00.000Z",
          "buildingBlocks": [
            {
              "name": "DARK_ACTIVITY",
              "count": null,
              "program": null,
              "recentActivityStartDate": null,
              "level": "Low"
            },
               .
               .
               .
            {
              "name": "SANCTIONED_COUNTRY_COMPANY",
              "count": null,
              "program": null,
              "recentActivityStartDate": null,
              "level": "Low"
            }
          ]
        },
          .
          .
          .
        {
          "imo": "7618272",
          "level": "Medium",
          "program": [
            "RUSSIA_GENERAL"
          ],
          "isSanctioned": false,
          "riskySince": null,
          "buildingBlocks": [
            {
              "name": "DARK_ACTIVITY",
              "count": null,
              "program": null,
              "recentActivityStartDate": null,
              "level": "Low"
            },
               .
               .
               .
            {
              "name": "SANCTIONED_COUNTRY_COMPANY",
              "count": null,
              "program": [
                "RUSSIA_GENERAL"
              ],
              "recentActivityStartDate": "2021-09-08T00:00:00.000Z",
              "level": "Medium"
            }
          ]
        }
      ]
    }
  }
}