{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/actionbox-cloud/json-schema/actionbox-cloud-analytics-event-request-schema.json",
  "title": "AnalyticsEventRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/actionbox-cloud-analytics-api-openapi.yml#/components/schemas/AnalyticsEventRequest",
  "properties": {
    "event_name": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "pattern": "^[a-z][a-z0-9_]+$",
      "title": "Event Name"
    },
    "action_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "Action Id"
    },
    "source_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Id"
    },
    "metadata": {
      "additionalProperties": true,
      "type": "object",
      "title": "Metadata"
    }
  },
  "type": "object",
  "required": [
    "event_name"
  ]
}