{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/university-of-waterloo/json-schema/university-of-waterloo-site-event-schema.json",
  "title": "SiteEvent",
  "description": "Model representing a WCMS Event item",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/university-of-waterloo-wcms-api-openapi.yml#/components/schemas/SiteEvent",
  "type": "object",
  "properties": {
    "siteId": {
      "type": "integer",
      "description": "Unique, numeric site ID",
      "format": "int32"
    },
    "uniqueKey": {
      "type": [
        "string",
        "null"
      ],
      "description": "Unique Id of this evevnt item"
    },
    "title": {
      "type": [
        "string",
        "null"
      ],
      "description": "Title of the event"
    },
    "eventStartDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "Start date of the event",
      "format": "date-time"
    },
    "eventEndDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "End date of the event",
      "format": "date-time"
    },
    "recurRule": {
      "type": [
        "string",
        "null"
      ],
      "description": "Description of the event recurrence rule"
    },
    "eventTimezone": {
      "type": [
        "string",
        "null"
      ],
      "description": "Time zone description of the event dates"
    },
    "itemUri": {
      "type": [
        "string",
        "null"
      ],
      "description": "Link to the Event"
    },
    "eventTags": {
      "type": [
        "string",
        "null"
      ],
      "description": "Tag(s) representing the event"
    },
    "eventType": {
      "type": [
        "string",
        "null"
      ],
      "description": "Type of the event"
    },
    "eventWebsite": {
      "type": [
        "string",
        "null"
      ],
      "description": "Supplemental URI for the event"
    },
    "audience": {
      "type": [
        "string",
        "null"
      ],
      "description": "Tag(s) representing the intended audience for the event"
    },
    "cost": {
      "type": [
        "string",
        "null"
      ],
      "description": "Cost of the event"
    },
    "host": {
      "type": [
        "string",
        "null"
      ],
      "description": "Event host information"
    },
    "locationId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Unique Id of the location hosting the event",
      "format": "int32"
    },
    "locationName": {
      "type": [
        "string",
        "null"
      ],
      "description": "Display name of the location hosting the event"
    },
    "updatedDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "Date item last updated",
      "format": "date-time"
    },
    "content": {
      "type": [
        "string",
        "null"
      ],
      "description": "Description content for the event, often includes HTML markup"
    }
  },
  "additionalProperties": false
}