STANAG 4817 / AEP-105 · 0.3.0-rc4 (SD-3 RC4)
Examples

14. Task Admin Clear

Worked CATL example: Task Admin Clear (catl_14_task_admin_clear)

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.

catl_14_task_admin_clear.json
{
    "header": {
        "message_type": "MessageTypeEnum_TASK_ADMIN",
        "source": "a895f8f5-46b0-5603-bdf0-b270a2867c09",
        "version": "0.3.0",
        "time_sent": "2025-03-18T12:05:00+00:00"
    },
    "body": {
        "identifier": "dc0ae8a2-3c14-5f4c-9aa0-2d3907d8a346",
        "node": "a895f8f5-46b0-5603-bdf0-b270a2867c09",
        "description": {
            "$discriminator": "TaskTypeEnum_CLEAR",
            "clear": {
                "volume": {
                    "identifier": "3f8e5aca-9aa6-536a-a03f-5e414b84656b",
                    "timestamp": "2025-03-18T12:05:00+00:00",
                    "volume": {
                        "bottom_boundary": -100.0,
                        "top_boundary": 0.0,
                        "region": {
                            "$discriminator": "RegionTypeEnum_POLYGON_AREA",
                            "polygon_area": {
                                "points": [
                                    {
                                        "latitude": 10.0,
                                        "longitude": 10.0
                                    },
                                    {
                                        "latitude": 11.0,
                                        "longitude": 11.0
                                    },
                                    {
                                        "latitude": 12.0,
                                        "longitude": 12.0
                                    }
                                ]
                            }
                        }
                    }
                }
            }
        },
        "action": "TaskAdminActionEnum_PUSH"
    }
}
catl_14_task_admin_clear.xml
<?xml version="1.0" encoding="UTF-8"?>
<catl_hibw_messages_task:task_admin xmlns:catl_hibw_messages_task="urn:nato:stanag:4817:catl/hibw/messages/task" xmlns:catl_hibw_messages_core="urn:nato:stanag:4817:catl/hibw/messages/core" xmlns:base_entity="urn:nato:stanag:4817:base/entity" xmlns:base_tasks="urn:nato:stanag:4817:base/tasks" xmlns:base_task_descriptions="urn:nato:stanag:4817:base/task_descriptions" xmlns:base_location="urn:nato:stanag:4817:base/location">
  <catl_hibw_messages_core:header>
    <catl_hibw_messages_core:message_type>MessageTypeEnum_TASK_ADMIN</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_task:body>
    <base_entity:identifier>dc0ae8a2-3c14-5f4c-9aa0-2d3907d8a346</base_entity:identifier>
    <base_tasks:node>a895f8f5-46b0-5603-bdf0-b270a2867c09</base_tasks:node>
    <base_tasks:description>
      <base_task_descriptions:discriminator>TaskTypeEnum_CLEAR</base_task_descriptions:discriminator>
      <base_task_descriptions:clear>
        <base_task_descriptions:volume>
          <base_entity:identifier>3f8e5aca-9aa6-536a-a03f-5e414b84656b</base_entity:identifier>
          <base_entity:timestamp>2025-03-18T12:05:00+00:00</base_entity:timestamp>
          <base_entity:volume>
            <base_location:bottom_boundary>-100.0</base_location:bottom_boundary>
            <base_location:top_boundary>0.0</base_location:top_boundary>
            <base_location:region>
              <base_location:discriminator>RegionTypeEnum_POLYGON_AREA</base_location:discriminator>
              <base_location:polygon_area>
                <base_location:points>
                  <base_location:latitude>10.0</base_location:latitude>
                  <base_location:longitude>10.0</base_location:longitude>
                </base_location:points>
                <base_location:points>
                  <base_location:latitude>11.0</base_location:latitude>
                  <base_location:longitude>11.0</base_location:longitude>
                </base_location:points>
                <base_location:points>
                  <base_location:latitude>12.0</base_location:latitude>
                  <base_location:longitude>12.0</base_location:longitude>
                </base_location:points>
              </base_location:polygon_area>
            </base_location:region>
          </base_entity:volume>
        </base_task_descriptions:volume>
      </base_task_descriptions:clear>
    </base_tasks:description>
    <catl_hibw_messages_task:action>TaskAdminActionEnum_PUSH</catl_hibw_messages_task:action>
  </catl_hibw_messages_task:body>
</catl_hibw_messages_task:task_admin>