{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentrux-com/json-schema/agentrux-com-agentrux-api-routers-console-misc-router-publish-event-body-schema.json",
  "title": "PublishEventBody",
  "description": "POST /console/topics/{top_id}/events body (Phase 4.8.2).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentrux-com-console-misc-api-openapi.yml#/components/schemas/agentrux__api__routers__console_misc_router__PublishEventBody",
  "properties": {
    "event_type": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "type": "null"
        }
      ],
      "title": "Event Type"
    },
    "payload": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ],
      "title": "Payload"
    },
    "payload_object_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payload Object Id"
    },
    "metadata": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metadata"
    },
    "idempotency_key": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 256
        },
        {
          "type": "null"
        }
      ],
      "title": "Idempotency Key"
    }
  },
  "additionalProperties": false,
  "type": "object"
}