{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "insights/v1/events/honeybadger-elixir/phoenix.live_component.update.stop.json",
  "title": "LiveComponent: update",
  "description": "A Phoenix LiveComponent updated.",
  "x-hb": {
    "notifiers": [
      "honeybadger-elixir"
    ],
    "category": "request",
    "component": "Phoenix LiveView"
  },
  "examples": [
    {
      "event_type": "phoenix.live_component.update.stop",
      "url": "https://www.example.com/users/42/edit",
      "socket_id": "phx-F8ZBOg1zcBQDqDgAAACB",
      "view": "MyAppWeb.UserLive.Show",
      "component": "MyAppWeb.UserLive.FormComponent",
      "assigns": {
        "page_title": "Edit user",
        "current_user_id": 42
      },
      "params": {
        "id": "42"
      },
      "duration": 8500,
      "request_id": "b3d5a1f0c2e4968a7d1b3f5c9e0a2d4f"
    }
  ],
  "type": "object",
  "properties": {
    "event_type": {
      "type": "string",
      "const": "phoenix.live_component.update.stop"
    },
    "url": {
      "type": "string",
      "description": "URL of the LiveView at the time of the event.",
      "examples": [
        "https://www.example.com/users/42/edit"
      ]
    },
    "socket_id": {
      "type": "string",
      "description": "LiveView socket ID.",
      "examples": [
        "phx-F8ZBOg1zcBQDqDgAAACB"
      ]
    },
    "view": {
      "type": "string",
      "description": "LiveView module name.",
      "examples": [
        "MyAppWeb.UserLive.Show"
      ]
    },
    "component": {
      "type": "string",
      "description": "LiveComponent module name, if applicable.",
      "examples": [
        "MyAppWeb.UserLive.FormComponent"
      ]
    },
    "assigns": {
      "type": "object",
      "description": "Socket assigns at the time of the event.",
      "additionalProperties": true,
      "examples": [
        {
          "page_title": "Edit user",
          "current_user_id": 42
        }
      ]
    },
    "params": {
      "type": "object",
      "description": "Params passed to the event handler.",
      "additionalProperties": true,
      "examples": [
        {
          "id": "42"
        }
      ]
    },
    "event": {
      "type": "string",
      "description": "Event name for handle_event events.",
      "examples": [
        "save"
      ]
    },
    "duration": {
      "type": "number",
      "description": "Duration in microseconds.",
      "examples": [
        8500
      ]
    },
    "request_id": {
      "type": "string",
      "description": "Request ID generated at LiveView mount and shared by events on the same socket.",
      "examples": [
        "b3d5a1f0c2e4968a7d1b3f5c9e0a2d4f"
      ]
    }
  },
  "required": [
    "event_type"
  ]
}
