Examples
12. Dynamic Update Contact Mcm
Worked CATL example: Dynamic Update Contact Mcm (catl_12_dynamic_update_contact_mcm)
A worked example message from the AEP-105 0.3.0-rc4 example set, shown in both JSON (Volume III) and XML (Volume II) encodings.
{
"header": {
"message_type": "MessageTypeEnum_DYNAMIC_UPDATE",
"source": "a895f8f5-46b0-5603-bdf0-b270a2867c09",
"version": "0.3.0",
"time_sent": "2025-03-18T12:05:00+00:00"
},
"body": {
"operation": {
"$discriminator": "DynamicUpdateOperationTypeEnum_PUT_VALUE",
"put_value": {
"$discriminator": "ValueTypeEnum_CONTACT",
"contact": {
"identifier": "7827da28-a5f5-563e-a4fd-3a2e39597143",
"description": {
"name": "cmre.contact"
},
"timestamp": "2025-03-18T12:05:00+00:00",
"pose": {
"position": {
"$discriminator": "PositionTypeEnum_LATITUDE_LONGITUDE_ALTITUDE",
"latitude_longitude_altitude": {
"latitude": 10.0,
"longitude": 12.0,
"altitude": [
{
"value": 123.0,
"type": "AltitudeTypeEnum_WGS"
}
]
}
}
},
"specialization": {
"$discriminator": "ContactSpecializationTypeEnum_MCM_CONTACT",
"mcm_contact": {
"state": "MCMContactStateEnum_MINE"
}
}
}
}
}
}
}<?xml version="1.0" encoding="UTF-8"?>
<catl_hibw_messages_dynamic_update:dynamic_update xmlns:catl_hibw_messages_dynamic_update="urn:nato:stanag:4817:catl/hibw/messages/dynamic_update" xmlns:catl_hibw_messages_core="urn:nato:stanag:4817:catl/hibw/messages/core" xmlns:base_entity="urn:nato:stanag:4817:base/entity" xmlns:base_description="urn:nato:stanag:4817:base/description" xmlns:base_pose="urn:nato:stanag:4817:base/pose" xmlns:base_track="urn:nato:stanag:4817:base/track" xmlns:catl_hibw_core_world_model="urn:nato:stanag:4817:catl/hibw/core/world_model">
<catl_hibw_messages_core:header>
<catl_hibw_messages_core:message_type>MessageTypeEnum_DYNAMIC_UPDATE</catl_hibw_messages_core:message_type>
<catl_hibw_messages_core:source>a895f8f5-46b0-5603-bdf0-b270a2867c09</catl_hibw_messages_core:source>
<catl_hibw_messages_core:version>0.3.0</catl_hibw_messages_core:version>
<catl_hibw_messages_core:time_sent>2025-03-18T12:05:00+00:00</catl_hibw_messages_core:time_sent>
</catl_hibw_messages_core:header>
<catl_hibw_messages_dynamic_update:body>
<catl_hibw_messages_dynamic_update:operation>
<catl_hibw_messages_dynamic_update:discriminator>DynamicUpdateOperationTypeEnum_PUT_VALUE</catl_hibw_messages_dynamic_update:discriminator>
<catl_hibw_messages_dynamic_update:put_value>
<catl_hibw_messages_dynamic_update:discriminator>ValueTypeEnum_CONTACT</catl_hibw_messages_dynamic_update:discriminator>
<catl_hibw_messages_dynamic_update:contact>
<base_entity:identifier>7827da28-a5f5-563e-a4fd-3a2e39597143</base_entity:identifier>
<base_entity:description>
<base_description:name>cmre.contact</base_description:name>
</base_entity:description>
<base_entity:timestamp>2025-03-18T12:05:00+00:00</base_entity:timestamp>
<base_entity:pose>
<base_pose:position>
<base_pose:discriminator>PositionTypeEnum_LATITUDE_LONGITUDE_ALTITUDE</base_pose:discriminator>
<base_pose:latitude_longitude_altitude>
<base_pose:latitude>10.0</base_pose:latitude>
<base_pose:longitude>12.0</base_pose:longitude>
<base_pose:altitude>
<base_pose:value>123.0</base_pose:value>
<base_pose:type>AltitudeTypeEnum_WGS</base_pose:type>
</base_pose:altitude>
</base_pose:latitude_longitude_altitude>
</base_pose:position>
</base_entity:pose>
<base_track:specialization>
<base_track:discriminator>ContactSpecializationTypeEnum_MCM_CONTACT</base_track:discriminator>
<base_track:mcm_contact>
<base_track:state>MCMContactStateEnum_MINE</base_track:state>
</base_track:mcm_contact>
</base_track:specialization>
</catl_hibw_messages_dynamic_update:contact>
</catl_hibw_messages_dynamic_update:put_value>
</catl_hibw_messages_dynamic_update:operation>
</catl_hibw_messages_dynamic_update:body>
</catl_hibw_messages_dynamic_update:dynamic_update>