{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/foresea-ink/json-schema/foresea-ink-analytics-event-request-schema.json",
  "title": "AnalyticsEventRequest",
  "description": "Anonymous or signed-in product event from the browser.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/foresea-ink-system-api-openapi.yml#/components/schemas/AnalyticsEventRequest",
  "properties": {
    "event_name": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1,
      "pattern": "^[a-z][a-z0-9_]*$",
      "title": "Event Name"
    },
    "path": {
      "type": "string",
      "maxLength": 500,
      "title": "Path",
      "default": "/"
    },
    "metadata": {
      "additionalProperties": true,
      "type": "object",
      "title": "Metadata"
    }
  },
  "type": "object",
  "required": [
    "event_name"
  ]
}