{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yelp/json-schema/yelp-write-lead-event-request-schema.json",
  "title": "WriteLeadEventRequest",
  "description": "The request object of the POST /v3/leads/{lead_id}/events 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/WriteLeadEventRequest",
  "type": "object",
  "properties": {
    "request_content": {
      "description": "The actual content of the event. This must be a non empty string.",
      "type": "string",
      "pattern": "[\\S\\s]+[\\S]+"
    },
    "request_type": {
      "description": "The content type of the event. Only \"TEXT\" is supported right now.",
      "type": "string",
      "enum": [
        "TEXT"
      ]
    }
  },
  "required": [
    "request_content",
    "request_type"
  ]
}