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

20. Task Admin Complex

Worked CATL example: Task Admin Complex (catl_20_task_admin_complex)

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_20_task_admin_complex.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": "1c23f10b-735d-5690-9430-0c7d419424ee",
        "node": "a895f8f5-46b0-5603-bdf0-b270a2867c09",
        "constraints": [
            {
                "constraint": {
                    "$discriminator": "GeneralConstraintTypeEnum_TOGGLE",
                    "toggle": {
                        "value": false
                    }
                },
                "identifier": "18337d93-f73c-551b-bf0f-de8f85361fc4",
                "strength": "ConstraintStrengthEnum_ADVISORY"
            },
            {
                "constraint": {
                    "$discriminator": "GeneralConstraintTypeEnum_RANGE",
                    "range": {
                        "value": 15.2
                    }
                },
                "identifier": "c2e99209-de07-4292-b276-6406168e4f5c",
                "strength": "ConstraintStrengthEnum_REQUIRED"
            },
            {
                "constraint": {
                    "$discriminator": "GeneralConstraintTypeEnum_ENUMERATION",
                    "enumeration": {
                        "value": {
                            "name": "ON"
                        }
                    }
                },
                "identifier": "0c51c5e2-9f00-4466-b4e0-6081eeae6461",
                "strength": "ConstraintStrengthEnum_OPTIONAL"
            },
            {
                "constraint": {
                    "$discriminator": "GeneralConstraintTypeEnum_EQUIPMENT",
                    "equipment": {
                        "emission_control": "ConstraintTypeEmissionControlEnum_ROUTINE"
                    }
                },
                "identifier": "bb5717d7-5ce1-4f22-ae68-1645ac5f1187",
                "strength": "ConstraintStrengthEnum_ADVISORY"
            }
        ],
        "description": {
            "$discriminator": "TaskTypeEnum_CLEAR",
            "clear": {
                "volume": {
                    "identifier": "4cc311c9-b0c1-5651-b0a1-8d78b99bdf96",
                    "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_20_task_admin_complex.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_constraints="urn:nato:stanag:4817:base/constraints" xmlns:base_meta="urn:nato:stanag:4817:base/meta" 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>1c23f10b-735d-5690-9430-0c7d419424ee</base_entity:identifier>
    <base_tasks:node>a895f8f5-46b0-5603-bdf0-b270a2867c09</base_tasks:node>
    <base_tasks:constraints>
      <base_constraints:constraint>
        <base_constraints:discriminator>GeneralConstraintTypeEnum_TOGGLE</base_constraints:discriminator>
        <base_constraints:toggle>
          <base_constraints:value>false</base_constraints:value>
        </base_constraints:toggle>
      </base_constraints:constraint>
      <base_constraints:identifier>18337d93-f73c-551b-bf0f-de8f85361fc4</base_constraints:identifier>
      <base_constraints:strength>ConstraintStrengthEnum_ADVISORY</base_constraints:strength>
    </base_tasks:constraints>
    <base_tasks:constraints>
      <base_constraints:constraint>
        <base_constraints:discriminator>GeneralConstraintTypeEnum_RANGE</base_constraints:discriminator>
        <base_constraints:range>
          <base_constraints:value>15.2</base_constraints:value>
        </base_constraints:range>
      </base_constraints:constraint>
      <base_constraints:identifier>c2e99209-de07-4292-b276-6406168e4f5c</base_constraints:identifier>
      <base_constraints:strength>ConstraintStrengthEnum_REQUIRED</base_constraints:strength>
    </base_tasks:constraints>
    <base_tasks:constraints>
      <base_constraints:constraint>
        <base_constraints:discriminator>GeneralConstraintTypeEnum_ENUMERATION</base_constraints:discriminator>
        <base_constraints:enumeration>
          <base_constraints:value>
            <base_meta:name>ON</base_meta:name>
          </base_constraints:value>
        </base_constraints:enumeration>
      </base_constraints:constraint>
      <base_constraints:identifier>0c51c5e2-9f00-4466-b4e0-6081eeae6461</base_constraints:identifier>
      <base_constraints:strength>ConstraintStrengthEnum_OPTIONAL</base_constraints:strength>
    </base_tasks:constraints>
    <base_tasks:constraints>
      <base_constraints:constraint>
        <base_constraints:discriminator>GeneralConstraintTypeEnum_EQUIPMENT</base_constraints:discriminator>
        <base_constraints:equipment>
          <base_constraints:emission_control>ConstraintTypeEmissionControlEnum_ROUTINE</base_constraints:emission_control>
        </base_constraints:equipment>
      </base_constraints:constraint>
      <base_constraints:identifier>bb5717d7-5ce1-4f22-ae68-1645ac5f1187</base_constraints:identifier>
      <base_constraints:strength>ConstraintStrengthEnum_ADVISORY</base_constraints:strength>
    </base_tasks:constraints>
    <base_tasks:description>
      <base_task_descriptions:discriminator>TaskTypeEnum_CLEAR</base_task_descriptions:discriminator>
      <base_task_descriptions:clear>
        <base_task_descriptions:volume>
          <base_entity:identifier>4cc311c9-b0c1-5651-b0a1-8d78b99bdf96</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>