{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/passport-me/json-schema/passport-me-metrics-event-schema.json",
  "title": "MetricsEvent",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/passport-me-openapi.json#/components/schemas/MetricsEvent",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "enum": [
        "landing_cta_click",
        "trust_section_view",
        "landing_slide_view",
        "landing_scroll_depth",
        "first_run_promise_view",
        "first_run_step_click",
        "welcome_dismiss",
        "sidebar_nav_click",
        "developer_section_view"
      ]
    },
    "path": {
      "type": "string",
      "maxLength": 128
    },
    "props": {
      "type": "object",
      "description": "Shallow properties. Only string/number/boolean values accepted. Total JSON capped at 512 bytes.",
      "additionalProperties": {
        "oneOf": [
          {
            "type": "string",
            "maxLength": 128
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          }
        ]
      }
    }
  }
}