CAGA Input Schema#
Test Input Schema
Type: objectTitle
Type: string Default: nullThe title of the traffic situation
"overtaking_18"
Description
Default: nullA description of the traffic situation
"Crossing situation with 3 target vessels in the Oslofjord"
Starttime
Default: nullStarting time of the situation in ISO 8601
format YYYY-MM-DDThh:mm:ssZ
"2024-04-04T13:41:01.704131"
Own Ship data
Type: objectOwn Ship data
{
"initial": {
"cog": 284.2,
"heading": 283.1,
"navStatus": "Under way using engine",
"position": {
"latitude": 57.2343,
"longitude": 10.3432
},
"sog": 12.3
},
"static": {
"height": 15.0,
"id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
"imo": 1000001,
"length": 230.0,
"mmsi": 123456789,
"name": "RMS Titanic",
"shipType": "Fishing",
"speedMax": 20.0,
"width": 30.0
},
"waypoints": [
{
"data": {
"heading": {
"interpMethod": "linear",
"mAfterLegChange": 100.0,
"mBeforeLegChange": 100.0,
"value": 12.3
},
"sog": {
"interpMethod": "linear",
"mAfterLegChange": 100.0,
"mBeforeLegChange": 100.0,
"value": 12.3
}
},
"position": {
"latitude": 57.2343,
"longitude": 10.3432
},
"turnRadius": 500.0
}
]
}
Static ship information which does not change during a scenario.
{
"height": 15.0,
"id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
"imo": 1000001,
"length": 230.0,
"mmsi": 123456789,
"name": "RMS Titanic",
"shipType": "Fishing",
"speedMax": 20.0,
"width": 30.0
}
Id
Type: stringFormat: uuidUnique Identifier
"8cbccf5a-2415-4609-a886-be2e6ecb67c3"
Length
Type: number Default: nullLength of the ship in meters
Value must be strictly greater than 0.0
230.0
Width
Type: number Default: nullWidth of the ship in meters
Value must be strictly greater than 0.0
30.0
Height
Default: nullHeight of the ship in meters
Value must be strictly greater than 0.0
15.0
Speedmax
Default: nullMaximum speed of the ship in knots
Value must be strictly greater than 0.0
15.0
Mmsi
Default: nullMaritime Mobile Service Identity (MMSI)
Value must be greater or equal to 100000000
and lesser or equal to 999999999
123456789
Imo
Default: nullIMO Number
Value must be greater or equal to 1000000
and lesser or equal to 9999999
1234567
Name
Default: nullShip name
"RMS Titanic"
General ship type, based on AIS
Must be one of:
- "Wing in ground"
- "Fishing"
- "Towing"
- "Dredging or underwater ops"
- "Diving ops"
- "Military ops"
- "Sailing"
- "Pleasure Craft"
- "High speed craft"
- "Pilot Vessel"
- "Search and Rescue vessel"
- "Tug"
- "Port Tender"
- "Anti-pollution"
- "Law Enforcement"
- "Medical Transport"
- "Noncombatant ship"
- "Passenger"
- "Cargo"
- "Tanker"
- "Other Type"
Additional Properties of any type are allowed.
Type: objectInitial longitude and latitude of the ship.
{
"latitude": 57.2343,
"longitude": 10.3432
}
Latitude
Type: number Default: nullWGS-84 latitude
Value must be greater or equal to -90.0
and lesser or equal to 90.0
51.2131
Longitude
Type: number Default: nullWGS-84 longitude
Value must be greater or equal to -180.0
and lesser or equal to 180.0
11.2131
Additional Properties of any type are allowed.
Type: objectSog
Type: number Default: nullInitial ship speed over ground in knots
Value must be greater or equal to 0.0
10.0
Cog
Type: number Default: nullInitial ship course over ground in degrees
Value must be greater or equal to 0.0
and lesser or equal to 360.0
45.0
Heading
Type: number Default: nullInitial ship heading in degrees
Value must be greater or equal to 0.0
and lesser or equal to 360.0
45.2
{
"cog": 284.2,
"heading": 283.1,
"navStatus": "Under way using engine",
"position": {
"latitude": 57.2343,
"longitude": 10.3432
},
"sog": 12.3
}
Waypoints
Default: nullAn array of Waypoint
objects. Each waypoint object must have a position
property.
If no turn radius is provided, it will be assumed to be 0
.
Additional data can be added to each waypoint leg. This allows varying parameters on a per-leg basis, such as speed and heading, or navigational status
No Additional Items
Each item of this array must be:
A geographical coordinate
{
"latitude": 51.2123,
"longitude": 11.2313
}
Latitude
Type: number Default: nullWGS-84 latitude
Value must be greater or equal to -90.0
and lesser or equal to 90.0
51.2131
Longitude
Type: number Default: nullWGS-84 longitude
Value must be greater or equal to -180.0
and lesser or equal to 180.0
11.2131
Additional Properties of any type are allowed.
Type: objectTurnradius
Default: nullOrthodrome turn radius as defined in RTZ format
200
A Data
object that includes speed
, course
, and heading
data points
Each additional property must conform to the following schema
Type: objectThe 'data' field can include additional properties. All additional properties should be DataPoint objects.
{
"data": {
"heading": {
"interpMethod": "linear",
"mAfterLegChange": 100.0,
"mBeforeLegChange": 100.0,
"value": 12.3
},
"sog": {
"interpMethod": "linear",
"mAfterLegChange": 100.0,
"mBeforeLegChange": 100.0,
"value": 12.3
}
},
"position": {
"latitude": 57.2343,
"longitude": 10.3432
},
"turnRadius": 500.0
}
Target Ship data
Type: array Default: nullTarget Ship data
No Additional ItemsEach item of this array must be:
Static ship information which does not change during a scenario.
{
"height": 15.0,
"id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
"imo": 1000001,
"length": 230.0,
"mmsi": 123456789,
"name": "RMS Titanic",
"shipType": "Fishing",
"speedMax": 20.0,
"width": 30.0
}
Id
Type: stringFormat: uuidUnique Identifier
"8cbccf5a-2415-4609-a886-be2e6ecb67c3"
Length
Type: number Default: nullLength of the ship in meters
Value must be strictly greater than 0.0
230.0
Width
Type: number Default: nullWidth of the ship in meters
Value must be strictly greater than 0.0
30.0
Height
Default: nullHeight of the ship in meters
Value must be strictly greater than 0.0
15.0
Speedmax
Default: nullMaximum speed of the ship in knots
Value must be strictly greater than 0.0
15.0
Mmsi
Default: nullMaritime Mobile Service Identity (MMSI)
Value must be greater or equal to 100000000
and lesser or equal to 999999999
123456789
Imo
Default: nullIMO Number
Value must be greater or equal to 1000000
and lesser or equal to 9999999
1234567
Name
Default: nullShip name
"RMS Titanic"
General ship type, based on AIS
Must be one of:
- "Wing in ground"
- "Fishing"
- "Towing"
- "Dredging or underwater ops"
- "Diving ops"
- "Military ops"
- "Sailing"
- "Pleasure Craft"
- "High speed craft"
- "Pilot Vessel"
- "Search and Rescue vessel"
- "Tug"
- "Port Tender"
- "Anti-pollution"
- "Law Enforcement"
- "Medical Transport"
- "Noncombatant ship"
- "Passenger"
- "Cargo"
- "Tanker"
- "Other Type"
Additional Properties of any type are allowed.
Type: objectInitial longitude and latitude of the ship.
{
"latitude": 57.2343,
"longitude": 10.3432
}
Latitude
Type: number Default: nullWGS-84 latitude
Value must be greater or equal to -90.0
and lesser or equal to 90.0
51.2131
Longitude
Type: number Default: nullWGS-84 longitude
Value must be greater or equal to -180.0
and lesser or equal to 180.0
11.2131
Additional Properties of any type are allowed.
Type: objectSog
Type: number Default: nullInitial ship speed over ground in knots
Value must be greater or equal to 0.0
10.0
Cog
Type: number Default: nullInitial ship course over ground in degrees
Value must be greater or equal to 0.0
and lesser or equal to 360.0
45.0
Heading
Type: number Default: nullInitial ship heading in degrees
Value must be greater or equal to 0.0
and lesser or equal to 360.0
45.2
{
"cog": 284.2,
"heading": 283.1,
"navStatus": "Under way using engine",
"position": {
"latitude": 57.2343,
"longitude": 10.3432
},
"sog": 12.3
}
Waypoints
Default: nullAn array of Waypoint
objects. Each waypoint object must have a position
property.
If no turn radius is provided, it will be assumed to be 0
.
Additional data can be added to each waypoint leg. This allows varying parameters on a per-leg basis, such as speed and heading, or navigational status
No Additional Items
Each item of this array must be:
A geographical coordinate
{
"latitude": 51.2123,
"longitude": 11.2313
}
Latitude
Type: number Default: nullWGS-84 latitude
Value must be greater or equal to -90.0
and lesser or equal to 90.0
51.2131
Longitude
Type: number Default: nullWGS-84 longitude
Value must be greater or equal to -180.0
and lesser or equal to 180.0
11.2131
Additional Properties of any type are allowed.
Type: objectTurnradius
Default: nullOrthodrome turn radius as defined in RTZ format
200
A Data
object that includes speed
, course
, and heading
data points
Each additional property must conform to the following schema
Type: objectThe 'data' field can include additional properties. All additional properties should be DataPoint objects.
{
"data": {
"heading": {
"interpMethod": "linear",
"mAfterLegChange": 100.0,
"mBeforeLegChange": 100.0,
"value": 12.3
},
"sog": {
"interpMethod": "linear",
"mAfterLegChange": 100.0,
"mBeforeLegChange": 100.0,
"value": 12.3
}
},
"position": {
"latitude": 57.2343,
"longitude": 10.3432
},
"turnRadius": 500.0
}
[
{
"initial": {
"cog": 284.2,
"heading": 283.1,
"navStatus": "Under way using engine",
"position": {
"latitude": 57.2343,
"longitude": 10.3432
},
"sog": 12.3
},
"static": {
"height": 15.0,
"id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
"imo": 1000001,
"length": 230.0,
"mmsi": 123456789,
"name": "RMS Titanic",
"shipType": "Fishing",
"speedMax": 20.0,
"width": 30.0
},
"waypoints": [
{
"data": {
"heading": {
"interpMethod": "linear",
"mAfterLegChange": 100.0,
"mBeforeLegChange": 100.0,
"value": 12.3
},
"sog": {
"interpMethod": "linear",
"mAfterLegChange": 100.0,
"mBeforeLegChange": 100.0,
"value": 12.3
}
},
"position": {
"latitude": 57.2343,
"longitude": 10.3432
},
"turnRadius": 500.0
}
]
}
]
environmental parameters
Airtemperature
Type: number Default: nullThe air temperature in degrees Celsius
20.0
Waterremperature
Type: number Default: nullThe water temperature in degrees Celsius
15.0
The type of precipitation
Must be one of:
- "None"
- "Rain"
- "Snow"
- "Sleet"
- "Hail"
"Rain"
Windspeed
Type: number Default: nullThe wind speed in m/s
10.0
Winddirection
Type: number Default: nullThe wind direction in degrees
180.0
Currentspeed
Type: number Default: nullThe current speed in m/s
1.0
Currentdirection
Type: number Default: nullThe current direction in degrees
90.0
The wave spectrum
Must be one of:
- "JONSWAP"
- "Pierson-Moskowitz"
- "Bretschneider"
"JONSWAP"
Significantwaveheight
Type: number Default: nullThe significant wave height in meters
3.0
Waveperiod
Type: number Default: nullThe wave period in seconds
12.0
Wavedirection
Type: number Default: nullThe wave direction in degrees
270.0
Visibility
Type: number Default: nullThe visibility in nautical miles
5.0
The overall weather conditions
Must be one of:
- "Clear"
- "Cloudy"
- "Foggy"
- "Rainy"
- "Snowy"
"Clear"
{
"airTemperature": 20.0,
"conditions": "Clear",
"currentDirection": 90.0,
"currentSpeed": 1.0,
"precipitation": "Rain",
"significantWaveHeight": 3.0,
"visibility": 5.0,
"waterRemperature": 15.0,
"waveDirection": 270.0,
"wavePeriod": 12.0,
"waveSpectrum": "JONSWAP",
"windDirection": 180.0,
"windSpeed": 10.0
}
Additional Properties of any type are allowed.
Type: object