{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carbon-arc/json-schema/carbon-arc-tracking-event-request-schema.json",
  "title": "TrackingEventRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/carbon-arc-tracking-api-openapi.yml#/components/schemas/TrackingEventRequest",
  "properties": {
    "event_name": {
      "type": "string",
      "maxLength": 64,
      "title": "Event Name"
    },
    "event_source_url": {
      "type": "string",
      "maxLength": 2048,
      "title": "Event Source Url"
    },
    "fbc": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 512
        },
        {
          "type": "null"
        }
      ],
      "title": "Fbc"
    },
    "fbp": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 512
        },
        {
          "type": "null"
        }
      ],
      "title": "Fbp"
    },
    "email": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 320
        },
        {
          "type": "null"
        }
      ],
      "title": "Email"
    },
    "phone": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 64
        },
        {
          "type": "null"
        }
      ],
      "title": "Phone"
    },
    "custom_data": {
      "anyOf": [
        {
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Custom Data"
    }
  },
  "type": "object",
  "required": [
    "event_name",
    "event_source_url"
  ]
}