{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alert-camp/json-schema/alert-camp-tracking-create-schema.json",
  "title": "TrackingCreate",
  "description": "Schema for creating a tracking event.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alert-camp-tracking-api-openapi.yml#/components/schemas/TrackingCreate",
  "properties": {
    "event_type": {
      "type": "string",
      "maxLength": 50,
      "minLength": 1,
      "title": "Event Type"
    },
    "source": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "title": "Source"
    },
    "platform": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1,
      "title": "Platform"
    },
    "user_agent": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "User Agent"
    }
  },
  "type": "object",
  "required": [
    "event_type",
    "source",
    "platform"
  ]
}