{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blackbaud/main/json-schema/blackbaud-event-view-schema.json",
  "title": "EventView",
  "description": "ViewEvent",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blackbaud-altru-event-api-openapi.yml#/components/schemas/EventView",
  "type": "object",
  "properties": {
    "name": {
      "maxLength": 205,
      "minLength": 0,
      "type": "string",
      "description": "The name."
    },
    "start_date": {
      "type": "string",
      "description": "The event date. Uses the format YYYY-MM-DDThh:mm:ss. An example date: <i>1955-11-05T22:04:00</i>.",
      "format": "date-time"
    },
    "end_date": {
      "type": "string",
      "description": "The event date. Uses the format YYYY-MM-DDThh:mm:ss. An example date: <i>1955-11-05T22:04:00</i>.",
      "format": "date-time"
    },
    "capacity": {
      "type": "integer",
      "description": "The event capacity.",
      "format": "int32"
    },
    "will_attend_count": {
      "type": "integer",
      "description": "The will attend.",
      "format": "int32"
    },
    "will_not_attend_count": {
      "type": "integer",
      "description": "The will not attend.",
      "format": "int32"
    },
    "attended_count": {
      "type": "integer",
      "description": "The attended.",
      "format": "int32"
    },
    "percent_of_capacity": {
      "type": "number",
      "description": "The percent of capacity.",
      "format": "double"
    },
    "location": {
      "maxLength": 100,
      "minLength": 0,
      "type": "string",
      "description": "The location."
    },
    "location_room": {
      "maxLength": 100,
      "minLength": 0,
      "type": "string",
      "description": "The room/unit."
    },
    "location_contact": {
      "maxLength": 700,
      "minLength": 0,
      "type": "string",
      "description": "The contact."
    },
    "event_location_contact_id": {
      "type": "string",
      "description": "The eventlocationcontactid."
    },
    "supporting_events_count": {
      "type": "integer",
      "description": "The supportingeventscount.",
      "format": "int32"
    },
    "main_event_name": {
      "maxLength": 100,
      "minLength": 0,
      "type": "string",
      "description": "The main event."
    },
    "budgeted_expense": {
      "type": "number",
      "description": "The expense budget.",
      "format": "double"
    },
    "actual_expense": {
      "type": "number",
      "description": "The agreed expenses.",
      "format": "double"
    },
    "percent_of_budget": {
      "type": "number",
      "description": "The percent of budget.",
      "format": "double"
    },
    "active": {
      "type": "boolean",
      "description": "Indicates whether isactive."
    },
    "site": {
      "type": "string",
      "description": "The site."
    },
    "coordinator": {
      "maxLength": 700,
      "minLength": 0,
      "type": "string",
      "description": "The coordinator."
    },
    "coordinator_id": {
      "type": "string",
      "description": "The coordinator ID."
    },
    "category": {
      "maxLength": 100,
      "minLength": 0,
      "type": "string",
      "description": "The category."
    },
    "gift_aid_qualification_status": {
      "maxLength": 25,
      "minLength": 0,
      "type": "string",
      "description": "The gift aid status."
    },
    "has_coordinators": {
      "type": "boolean",
      "description": "Indicates whether indicates that the event has the coordinator management option turned on (does not imply the existence of a coordinator record.."
    },
    "lookup_id": {
      "maxLength": 36,
      "minLength": 0,
      "type": "string",
      "description": "The lookup ID."
    },
    "budgeted_expense_subevents": {
      "type": "number",
      "description": "The expense budget.",
      "format": "double"
    },
    "actual_expense_subevents": {
      "type": "number",
      "description": "The agreed expenses.",
      "format": "double"
    },
    "percent_of_budget_subevents": {
      "type": "number",
      "description": "The percent of budget.",
      "format": "double"
    },
    "capacity_subevents": {
      "type": "integer",
      "description": "The event capacity.",
      "format": "int32"
    },
    "will_attend_count_subevents": {
      "type": "integer",
      "description": "The will attend.",
      "format": "int32"
    },
    "will_not_attend_count_subevents": {
      "type": "integer",
      "description": "The will not attend.",
      "format": "int32"
    },
    "attended_count_subevents": {
      "type": "integer",
      "description": "The attended.",
      "format": "int32"
    },
    "percent_of_capacity_subevents": {
      "type": "number",
      "description": "The percent of capacity.",
      "format": "double"
    },
    "multi_level": {
      "type": "boolean",
      "description": "Indicates whether is multi-level event."
    },
    "amount_paid": {
      "type": "number",
      "description": "The amount paid.",
      "format": "double"
    },
    "amount_paid_subevents": {
      "type": "number",
      "description": "The amount paid.",
      "format": "double"
    },
    "base_currency_id": {
      "type": "string",
      "description": "The base currency. Read-only in the SOAP API."
    },
    "start_time": {
      "$ref": "#/$defs/HourMinute"
    },
    "end_time": {
      "$ref": "#/$defs/HourMinute"
    },
    "has_expenses": {
      "type": "boolean",
      "description": "Indicates whether hasexpenses."
    },
    "sub_event_has_expenses": {
      "type": "boolean",
      "description": "Indicates whether subeventhasexpenses."
    },
    "has_registrants_and_options": {
      "type": "boolean",
      "description": "Indicates whether hasregistrantsandoptions."
    },
    "sub_event_has_registrants_and_options": {
      "type": "boolean",
      "description": "Indicates whether subeventhasregistrantsandoptions."
    }
  },
  "additionalProperties": false,
  "x-display-name": "Event Summary View Form 3",
  "x-display-id": "Event Summary View Form 3",
  "$defs": {
    "HourMinute": {
      "type": "object",
      "properties": {
        "hour": {
          "type": "integer",
          "description": "The hour.",
          "format": "int32"
        },
        "minute": {
          "type": "integer",
          "description": "The minute.",
          "format": "int32"
        }
      },
      "description": "HourMinute",
      "x-display-name": "Hour Minute",
      "x-display-id": "Hour Minute"
    }
  }
}