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
Name | Type | Description |
---|---|---|
input | ComplianceRiskByInput! | Filters vessels by compliance risk properties. |
ComplianceRiskByInput Fields
Name | Type | Description |
---|---|---|
filter | ComplianceRiskByFilterInput! | Sets the vessel compliance risk filtering criteria. |
limit | PositiveInt! | The maximal number of records to return. |
offset | NonNegativeInt! | The number of returned records to skip from the beginning of the record list. |
Returns
Name | Description |
---|---|
ComplianceRiskByConnection! | The compliance risk information of the vessels filtered by the complianceRiskBy query. |
ComplianceRiskByConnection Fields
Name | Type | Description |
---|---|---|
nodes | [ComplianceVesselRisk!] | The vessels whose compliance risk attributes match the compliance filtering attributes. |
totalCount | NonNegativeInt! | 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"
}
]
}
]
}
}
}