{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/prodantix-com/json-schema/prodantix-com-marketing-event-dto-schema.json",
  "title": "MarketingEventDto",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/prodantix-com-openapi.json#/components/schemas/MarketingEventDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "description": "`webinar`, `conference`, `in_person` or `other`."
    },
    "startsAt": {
      "type": "string",
      "description": "An RFC 3339 timestamp in UTC."
    },
    "endsAt": {
      "type": "string",
      "description": "An RFC 3339 timestamp in UTC."
    },
    "timeZone": {
      "type": "string",
      "description": "The IANA time zone the event's times are shown in."
    },
    "url": {
      "type": [
        "string",
        "null"
      ]
    },
    "organiser": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": "string"
    },
    "source": {
      "type": "string",
      "description": "`manual`, `zoom`, `gotowebinar` or `eventbrite`. An event from a\nprovider is kept in step with it and is not edited here."
    },
    "connectionId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The provider connection a synced event comes through."
    },
    "cancelledAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "campaignId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The campaign that groups the event, when one does."
    },
    "campaignName": {
      "type": [
        "string",
        "null"
      ]
    },
    "registered": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "People who registered; none when the analytics store is not reachable."
    },
    "attended": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "People who attended; none when the analytics store is not reachable."
    },
    "cancelled": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "People who cancelled a registration; none when the analytics store is not reachable."
    },
    "createdBy": {
      "type": "string"
    },
    "updatedBy": {
      "type": "string"
    },
    "createdAt": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "kind",
    "startsAt",
    "endsAt",
    "timeZone",
    "description",
    "source",
    "createdBy",
    "updatedBy",
    "createdAt",
    "updatedAt"
  ]
}