{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eventsend-io/json-schema/eventsend-io-post-api-events-es-your-token-request-schema.json",
  "title": "PostApiEventsEsYourTokenRequest",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/eventsend-io-openapi-generated.yml#/components/schemas/PostApiEventsEsYourTokenRequest",
  "type": "object",
  "properties": {
    "event": {
      "type": "string",
      "description": "The event name, 4–64 characters."
    },
    "message": {
      "type": "string",
      "description": "Human‑readable text, 4–500 characters."
    },
    "payload": {
      "type": "object",
      "description": "Structured data, at most 4096 bytes once JSON‑encoded."
    },
    "level": {
      "type": "string",
      "description": "One of default, success, warning, error, critical."
    },
    "icon": {
      "type": "string",
      "description": "An emoji or short string, 1–16 characters."
    },
    "unique_key": {
      "type": "string",
      "description": "4–128 characters. Makes the request idempotent."
    },
    "user_id": {
      "type": "string",
      "description": "1–128 characters. Your own stable identifier for the customer."
    },
    "occurred_at": {
      "type": "string",
      "description": "ISO‑8601 timestamp of when the thing happened."
    }
  },
  "required": [
    "event",
    "message",
    "payload"
  ]
}