riskyVesselsInArea

Get understanding of which risky vessels are operating in an area of interest

Query Schema

type Query {
   riskyVesselsInArea(input: RiskyVesselsInAreaInput!): RiskyVesselsInAreaConnection!
}

Arguments

NameTypeDescription
areaGeoJSONPolygonGeometryScalar!Sample: { "type": "Polygon" "coordinates": [ [ [2.176516056060791, 41.38813490002815], [2.1565604209899902, 41.35480230882416], [2.1931135654449463, 41.34268079363133], [2.222381830215454, 41.388883479485], [2.176516056060791, 41.38813490002815] ] ] }

Returns

NameDescription
RiskyVesselsInAreaConnection!Vessels flagged by WIndward with any risk score related to IUU fishing, sanctions compliance, or border security risks in the selected area.

RiskyVesselsInAreaConnection!

NameTypeDescription
nodesVesselIntelligenceDetails, including risk indicators of the risky vessels in the selected polygonriskyVesselInArea query input.
totalCountNonNegativeInt!The number of vessel nodes returned.

Example Code

Sample Query

query RiskyVesselsInArea($input: RiskyVesselsInAreaInput!) {
  riskyVesselsInArea(input: $input) {
    nodes {
      id
      imo
      buildYear
      class
      deadweight
      draught
      flag
      grosstonnage
      mmsi
      name
      reportedPort {
        country
        name
        portId
      }
      status
      riskAssessment {
        smugglingRisk {
          indicators {
            count
            name
            risk
          }
          level
          riskySince
        }
        iuuFishingRisk {
          type
          riskIndicators {
            count
            createdAt
            name
          }
          level
          labels
          createdAt
        }
        complianceRisk {
          buildingBlocks {
            count
            level
            name
            program
            recentActivityStartDate
            risk
          }
          isSanctioned
          level
          program
          riskySince
        }
      }
      pscInspections {
        mou
        inspectionType
        inspectionResult
        inspectionPort
        inspectionId
        inspectionDate
        deficienciesNum
      }
      callsign
      length
    }
  }
}

Variables

{
  "input": {
    "area": {
          "coordinates": [ [ [2.176516056060791, 41.38813490002815], [2.1565604209899902, 41.35480230882416], [2.1931135654449463, 41.34268079363133], [2.222381830215454, 41.388883479485], [2.176516056060791, 41.38813490002815
            ]
          ]
        ],
          "type": "Polygon"
    },,
    "limit": 2,
    "offset": 0
  }
}

Response

{
  "data": {
    "riskyVesselsInArea": {
      "nodes": [
        {
          "id": "5907ba50527ba957a1c2f98f",
          "imo": 1012098,
          "buildYear": 2015,
          "class": "Pleasure",
          "deadweight": null,
          "draught": 4.2,
          "flag": "CaymanIslands",
          "grosstonnage": 3000,
          "mmsi": 319076700,
          "name": "SYMPHONY",
          "reportedPort": {
            "country": null,
            "name": "UNDEFINED",
            "portId": null
          },
          "status": null,
          "riskAssessment": {
            "smugglingRisk": {
              "indicators": [
                {
                  "count": 1,
                  "name": "DARK_ACTIVITY",
                  "risk": 1
                },
                {
                  "count": null,
                  "name": "UNECONOMICAL_BEHAVIOR",
                  "risk": 1
                }
              ],
              "level": "Moderate",
              "riskySince": "2023-03-04T00:00:00.000Z"
            },
            "iuuFishingRisk": null,
            "complianceRisk": {
              "buildingBlocks": [],
              "isSanctioned": false,
              "level": "Low",
              "program": null,
              "riskySince": null
            }
          },
          "pscInspections": [
            {
              "mou": "PARIS_MOU",
              "inspectionType": "MORE_DETAILED_INSPECTION",
              "inspectionResult": false,
              "inspectionPort": "MTMLA",
              "inspectionId": "425631275",
              "inspectionDate": "2015-05-29T00:00:00.000Z",
              "deficienciesNum": 0
            },
            {
              "mou": "PARIS_MOU",
              "inspectionType": "INITIAL_INSPECTION",
              "inspectionResult": false,
              "inspectionPort": "ITGIA",
              "inspectionId": "823490696",
              "inspectionDate": "2018-08-09T00:00:00.000Z",
              "deficienciesNum": 0
            },
            {
              "mou": "PARIS_MOU",
              "inspectionType": "MORE_DETAILED_INSPECTION",
              "inspectionResult": false,
              "inspectionPort": "ITGIA",
              "inspectionId": "1699045002",
              "inspectionDate": "2019-08-12T00:00:00.000Z",
              "deficienciesNum": 0
            },
            {
              "mou": "PARIS_MOU",
              "inspectionType": "MORE_DETAILED_INSPECTION",
              "inspectionResult": false,
              "inspectionPort": "ITSIR",
              "inspectionId": "2434452552",
              "inspectionDate": "2020-08-13T00:00:00.000Z",
              "deficienciesNum": 0
            }
          ],
          "callsign": "ZGEP2",
          "length": 101
        }
      ]
    }
  }
}