{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scrapiq-io/json-schema/scrapiq-io-event-request-schema.json",
  "title": "EventRequest",
  "description": "Server-side conversion/usage event.",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scrapiq-io-openapi.json#/components/schemas/EventRequest",
  "properties": {
    "event_type": {
      "type": "string",
      "title": "Event Type",
      "description": "e.g. signup, extract, checkout"
    },
    "source": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source",
      "description": "utm_source"
    },
    "campaign": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Campaign",
      "description": "utm_campaign"
    }
  },
  "type": "object",
  "required": [
    "event_type"
  ]
}