{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yelp/json-schema/yelp-mark-lead-event-as-read-request-schema.json",
  "title": "MarkLeadEventAsReadRequest",
  "description": "The request body of the POST /v3/leads/{lead_id}/events/mark_as_read endpoint",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/yelp-leads-api-openapi.yml#/components/schemas/MarkLeadEventAsReadRequest",
  "type": "object",
  "properties": {
    "event_id": {
      "description": "The encrypted id of the event which is being marked as read",
      "type": "string"
    },
    "time_read": {
      "description": "An optional parameter to specify the time when the event was read. If not provided, the event is considered read at the current timestamp (Refer [RFC3339](https://www.rfc-editor.org/rfc/rfc3339#section-5.6) for the format)",
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "event_id"
  ]
}