{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendly-now/json-schema/sendly-now-event-track-v1-schema.json",
  "title": "EventTrackV1",
  "description": "Body for POST /api/v1/events.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendly-now-events-api-openapi.yml#/components/schemas/EventTrackV1",
  "properties": {
    "contact_id": {
      "description": "Contact the event belongs to. Must already exist in this project — unlike the legacy `POST /api/track`, this endpoint never creates contacts. Omit for a project-level event.",
      "format": "uuid",
      "type": "string"
    },
    "name": {
      "description": "Event name, e.g. `user.signup`.",
      "maxLength": 200,
      "minLength": 1,
      "type": "string"
    },
    "payload": {
      "additionalProperties": {
        "additionalProperties": {},
        "description": "Arbitrary JSON value (string, number, boolean, null, array, or object).",
        "type": [
          "string",
          "number",
          "boolean",
          "object",
          "array",
          "null"
        ]
      },
      "description": "Arbitrary event payload.",
      "type": "object"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}