{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/feed-fm/json-schema/feed-fm-session-event-request-schema.json",
  "title": "SessionEventRequest",
  "description": "Body for `POST /session/event`. The event is validated. Unknown\ntop-level keys are permitted and passed through.\n",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/feed-fm-v3-openapi.yml#/components/schemas/SessionEventRequest",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "event",
    "parameters"
  ],
  "properties": {
    "event": {
      "type": "string",
      "enum": [
        "test"
      ],
      "description": "The event being reported. Currently, only `test` is accepted;\nanything else is rejected with `invalidParameter` (code 15), and\nomitting it entirely gives `missingParameter` (code 16).\n"
    },
    "parameters": {
      "type": "object",
      "required": [
        "test"
      ],
      "additionalProperties": true,
      "description": "The detail the event carries. Required, and its contents are fixed\nby `event`: the `test` event takes a boolean `test`. Keys beyond the\nones the event names are left alone rather than rejected.\n",
      "properties": {
        "test": {
          "type": "boolean",
          "description": "The `test` event's only parameter. Must be a boolean; the string\n`\"true\"` is rejected with `invalidParameter` (code 15).\n"
        }
      }
    },
    "client_id": {
      "type": "string",
      "maxLength": 23,
      "description": "The client uuid the event belongs to. Required, but may instead\narrive as a `cid` cookie or a `client_id` query parameter — see\n*Identifying a client*. Values longer than 23 characters are\nsilently truncated.\n"
    }
  }
}