{
  "asyncapi": "3.1.0",
  "id": "urn:waraps.api-overview",
  "info": {
    "title": "WARA-PS Overview MQTT API",
    "version": "1.0.3",
    "description": "### Overview\nThe WARA-PS Core System utilizes an MQTT-based asynchronous publish/subscribe architecture to facilitate efficient M2M communication. Designed for agility and minimal integration effort, the system leverages UUID v4 for message tracing and supports unreliable network environments through persistent heartbeat signals and asynchronous response patterns.\n\nData is typically exchanged at QoS 0 to optimize bandwidth, while critical static information utilizes MQTT's 'retained' message feature. Standardized topic naming conventions are enforced to ensure system-wide interoperability across core functions such as telemetry, command execution, and task feedback.\n\n### Agent Communication Levels\nAgents are categorized into four hierarchical levels based on operational complexity:\n\n1. **Level 1 (Sensors):** Foundational data providers. Required to publish heartbeat and sensor telemetry.\n2. **Level 2 (Tasks):** Functional execution units. Capable of processing direct commands (e.g., movement) and providing real-time execution feedback.\n3. **Level 3 (Missions - Specified):** Mission-capable units. Supports complex task specifications via Behavior Trees or Task Specification Trees (TST).\n4. **Level 4 (Missions - Reasoning):** Advanced autonomous units. Capable of task delegation and reasoning within non-fully specified mission environments.\n\nDetailed command protocols for higher-level task trees are defined in supplementary API specifications.\n\n### Sub-specifications\nThere are specific sub-specifications for each area of:\n\n- **[Declarations](waraps-api-declarations.json)** — Heartbeat, sensor info, and direct execution info channels\n- **[Sensors](waraps-api-sensors.json)** — All sensor data channels (position, speed, heading, etc.)\n- **[Tasks](waraps-api-tasks.json)** — Command channels for task execution, responses, and feedback\n- **[Map Objects](waraps-api-map-objects.json)** — Publishing map objects (areas, circles, points, paths)\n- **[Video Server](waraps-api-video-server.json)** — Publishing and watching RTMP video streams\n\nEach sub-specification is a self-contained AsyncAPI document.",
    "contact": {
      "name": "waraps.org",
      "url": "https://portal.waraps.org/",
      "email": "info@waraps.org"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
    }
  },
  "defaultContentType": "application/json"
}
