{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/blackbaud/json-schema/blackbaud-event-summary-response-schema.json",
  "title": "EventSummaryResponse",
  "description": "Represents detailed summary information for a volunteer event.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blackbaud-volunteer-api-openapi.yml#/components/schemas/EventSummaryResponse",
  "required": [
    "name"
  ],
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The event name."
    },
    "address": {
      "$ref": "#/$defs/Address"
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "The event description."
    },
    "meetup_instructions": {
      "type": [
        "string",
        "null"
      ],
      "description": "Instructions for participants on where and how to meet at the event location."
    },
    "tags": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "The tags applied to this event."
    },
    "types": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "The types applied to this event."
    },
    "categories": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "The categories applied to this event."
    },
    "tshirts": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "T-shirt sizes or options available for event participants."
    },
    "original_timezone_offset": {
      "type": "number",
      "description": "The UTC offset (in hours) of the original timezone set for the event.",
      "format": "double"
    },
    "start_date": {
      "type": "string",
      "description": "The start date and time of the event.",
      "format": "date-time"
    },
    "original_start_date": {
      "type": "string",
      "description": "The original start date and time before any modifications.",
      "format": "date-time"
    },
    "original_end_date": {
      "type": "string",
      "description": "The original end date and time before any modifications.",
      "format": "date-time"
    },
    "end_date": {
      "type": "string",
      "description": "The end date and time of the event.",
      "format": "date-time"
    },
    "original_timezone": {
      "type": [
        "string",
        "null"
      ],
      "description": "The original timezone (e.g., \"Eastern Standard Time\")."
    },
    "original_timezone_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The IANA or Windows identifier of the original timezone (e.g., \"America/New_York\")."
    },
    "benefitting_organization": {
      "type": [
        "string",
        "null"
      ],
      "description": "The benefiting charity."
    },
    "charity_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The benefiting charity ID. null if no charity is linked.",
      "format": "int32"
    },
    "affiliate_organization_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The affiliate organization ID hosting the event. null if not applicable.",
      "format": "int32"
    },
    "registration_open": {
      "type": "boolean",
      "description": "Indicates whether participant registration is currently open for the event."
    },
    "event_contacts": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/EventContactSummary"
      },
      "description": "The list of contacts associated with the event."
    },
    "registration_start_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "The date and time when registration opens. Null if no registration window is set.",
      "format": "date-time"
    },
    "registration_end_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "The date and time when registration closes. Null if no registration window is set.",
      "format": "date-time"
    },
    "recurring": {
      "type": "boolean",
      "description": "Indicates whether this event has a recurring schedule."
    },
    "total_participations": {
      "type": "integer",
      "description": "The total number of participations (including repeat participants) recorded for the event.",
      "format": "int32"
    },
    "private": {
      "type": "boolean",
      "description": "Indicates whether the event is private and not publicly discoverable."
    },
    "allow_guests": {
      "type": "boolean",
      "description": "Indicates whether participants can bring guests to participate."
    },
    "total_waitlist_count": {
      "type": "integer",
      "description": "The total number of participants currently on the waitlist across all shifts.",
      "format": "int32"
    },
    "total_unique_participants": {
      "type": "integer",
      "description": "The number of unique individuals who have participated in the event.",
      "format": "int32"
    },
    "has_grants": {
      "type": "boolean",
      "description": "Indicates whether the event has associated volunteer grants."
    },
    "has_incentives": {
      "type": "boolean",
      "description": "Indicates whether the event has associated volunteer incentives."
    },
    "waitlist_enabled": {
      "type": "boolean",
      "description": "Indicates whether a waitlist is enabled for this event."
    },
    "project_type_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The project type ID associated with the event. null if not set.",
      "format": "int32"
    },
    "volunteer_campaign_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The ID of the volunteer campaign this event belongs to. null if not part of a campaign.",
      "format": "int32"
    },
    "volunteer_campaign_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The name of the volunteer campaign this event belongs to."
    },
    "charity_registration_number": {
      "type": [
        "string",
        "null"
      ],
      "description": "The charity registration number associated with the benefiting organization."
    },
    "custom_question_set_response_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The custom question set ID linked to this event. null if not applicable.",
      "format": "int32"
    },
    "event_occurence_summary": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/EventOccurrenceSummary"
      },
      "description": "The event occurrences for this event (populated for recurring events)."
    },
    "event_organizer": {
      "$ref": "#/$defs/EventOrganizerSummary"
    },
    "image_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "The URL of the event's cover image. Null if no image is set."
    },
    "creator_affiliate_employee_id": {
      "type": "integer",
      "description": "The affiliate employee ID of the event creator.",
      "format": "int32"
    },
    "cause_area": {
      "type": "integer",
      "description": "The cause area ID associated with the event.",
      "format": "int32"
    },
    "participations": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/EventParticipant"
      },
      "description": "The list of participant records for this event."
    },
    "skills": {
      "type": [
        "string",
        "null"
      ],
      "description": "A comma-separated list of skills relevant to this event."
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Address": {
      "type": "object",
      "properties": {
        "combined_address": {
          "type": [
            "string",
            "null"
          ],
          "description": "The full address combined into a single string."
        },
        "address1": {
          "type": [
            "string",
            "null"
          ],
          "description": "The first line of the street address."
        },
        "address2": {
          "type": [
            "string",
            "null"
          ],
          "description": "The second line of the street address (e.g. apartment or suite number)."
        },
        "address3": {
          "type": [
            "string",
            "null"
          ],
          "description": "The third line of the street address."
        },
        "city": {
          "type": [
            "string",
            "null"
          ],
          "description": "The city of the address."
        },
        "state": {
          "type": [
            "string",
            "null"
          ],
          "description": "The state or province of the address."
        },
        "zip": {
          "type": [
            "string",
            "null"
          ],
          "description": "The ZIP or postal code of the address."
        },
        "country_id": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The numeric ID of the country, if available.",
          "format": "int32"
        },
        "country": {
          "type": [
            "string",
            "null"
          ],
          "description": "The full name of the country."
        },
        "country_code": {
          "type": [
            "string",
            "null"
          ],
          "description": "The ISO 3166-1 alpha-2 country code (e.g. \"US\", \"CA\")."
        },
        "county": {
          "type": [
            "string",
            "null"
          ],
          "description": "The county of the address."
        },
        "latitude": {
          "type": [
            "number",
            "null"
          ],
          "description": "The latitude coordinate of the address, if available.",
          "format": "double"
        },
        "longitude": {
          "type": [
            "number",
            "null"
          ],
          "description": "The longitude coordinate of the address, if available.",
          "format": "double"
        },
        "census_msa_code": {
          "type": [
            "string",
            "null"
          ],
          "description": "The Census Metropolitan Statistical Area (MSA) code for the address."
        },
        "census_tract_code": {
          "type": [
            "string",
            "null"
          ],
          "description": "The Census tract code for the address."
        },
        "census_county_code": {
          "type": [
            "string",
            "null"
          ],
          "description": "The Census county code for the address."
        },
        "census_state_code": {
          "type": [
            "string",
            "null"
          ],
          "description": "The Census state code for the address."
        },
        "census_msa_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the Census Metropolitan Statistical Area (MSA), if available."
        },
        "census_tract_income_level": {
          "type": [
            "string",
            "null"
          ],
          "description": "The Census tract income level designation for the address, if available."
        },
        "census_under_served_or_distressed_tract": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether the Census tract is classified as underserved or distressed, if determined."
        }
      },
      "additionalProperties": false,
      "description": "Represents a physical address."
    },
    "EventContactSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "The unique identifier of the contact.",
          "format": "int32"
        },
        "first_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The first name of the contact."
        },
        "last_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The last name of the contact."
        },
        "email": {
          "type": [
            "string",
            "null"
          ],
          "description": "The email address of the contact."
        },
        "phone_number": {
          "type": [
            "string",
            "null"
          ],
          "description": "The phone number of the contact."
        },
        "reason_to_contact": {
          "type": [
            "string",
            "null"
          ],
          "description": "The reason or role for which this person should be contacted."
        }
      },
      "additionalProperties": false,
      "description": "Represents a contact person associated with a volunteer event."
    },
    "EventOccurrenceSummary": {
      "type": "object",
      "properties": {
        "start_date": {
          "type": "string",
          "description": "The start date and time of the occurrence.",
          "format": "date-time"
        },
        "end_date": {
          "type": "string",
          "description": "The end date and time of the occurrence.",
          "format": "date-time"
        },
        "original_start_date": {
          "type": "string",
          "description": "The original start date and time before any modifications.",
          "format": "date-time"
        },
        "original_end_date": {
          "type": "string",
          "description": "The original end date and time before any modifications.",
          "format": "date-time"
        },
        "original_timezone_offset": {
          "type": "number",
          "description": "The UTC offset (in hours) of the original time zone for this occurrence.",
          "format": "double"
        },
        "original_timezone_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "The IANA or Windows time zone identifier for the original time zone."
        },
        "recurrence_occurrence_exception_id": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The identifier of the recurrence exception, if this occurrence was modified. Null if not an exception.",
          "format": "int32"
        },
        "notes": {
          "type": [
            "string",
            "null"
          ],
          "description": "Additional notes for this occurrence."
        },
        "shifts": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/EventShiftSummary"
          },
          "description": "The list of shifts available for this occurrence."
        },
        "event_recurrence_id": {
          "type": "integer",
          "description": "The event recurrence series ID.",
          "format": "int32"
        },
        "occurrence_number": {
          "type": "integer",
          "description": "The sequential number of this occurrence within the recurrence series.",
          "format": "int32"
        },
        "event_id": {
          "type": "integer",
          "description": "The parent event ID.",
          "format": "int32"
        }
      },
      "additionalProperties": false,
      "description": "Represents a summary of a single occurrence of a recurring event."
    },
    "EventOrganizerSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "The organizer ID.",
          "format": "int32"
        },
        "first_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The first name of the organizer."
        },
        "last_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The last name of the organizer."
        },
        "email": {
          "type": [
            "string",
            "null"
          ],
          "description": "The email address of the organizer."
        },
        "affiliate_employee_id": {
          "type": "integer",
          "description": "The affiliate employee ID of the event organizer.",
          "format": "int32"
        },
        "date_modified": {
          "type": "string",
          "description": "The date and time when the organizer record was last updated.",
          "format": "date-time"
        }
      },
      "additionalProperties": false,
      "description": "Represents the organizer of a volunteer event."
    },
    "EventParticipant": {
      "type": "object",
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The participant name."
        },
        "first_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The first name of the participant."
        },
        "last_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The last name of the participant."
        },
        "email": {
          "type": [
            "string",
            "null"
          ],
          "description": "The email address of the participant."
        },
        "total_hours": {
          "type": "number",
          "description": "The total volunteer hours logged by the participant for this event.",
          "format": "double"
        },
        "payroll_employee_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "The payroll system ID for the participant's employee record."
        },
        "employee_location_id": {
          "type": [
            "string",
            "null"
          ],
          "description": "The participant's work location ID."
        },
        "employee_work_address1": {
          "type": [
            "string",
            "null"
          ],
          "description": "The first line of the participant's work address."
        },
        "employee_work_address2": {
          "type": [
            "string",
            "null"
          ],
          "description": "The second line of the participant's work address."
        },
        "employee_work_city": {
          "type": [
            "string",
            "null"
          ],
          "description": "The city of the participant's work address."
        },
        "employee_work_state": {
          "type": [
            "string",
            "null"
          ],
          "description": "The state or province of the participant's work address."
        },
        "employee_work_zip_code": {
          "type": [
            "string",
            "null"
          ],
          "description": "The ZIP or postal code of the participant's work address."
        },
        "employee_work_country": {
          "type": [
            "string",
            "null"
          ],
          "description": "The country of the participant's work address."
        },
        "employee_region": {
          "type": [
            "string",
            "null"
          ],
          "description": "The regional grouping or division the participant belongs to."
        },
        "anonymous": {
          "type": "boolean",
          "description": "Indicates whether the participant chose to remain anonymous in event listings."
        }
      },
      "additionalProperties": false,
      "description": "Represents a participant in a volunteer event."
    },
    "EventShiftSummary": {
      "type": "object",
      "properties": {
        "shift_id": {
          "type": "integer",
          "description": "The shift ID.",
          "format": "int32"
        },
        "start_day": {
          "type": "integer",
          "description": "The start date for this shift, represented as the number of days after the event start date.",
          "format": "int32"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "The shift name."
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "The shift description."
        },
        "start_date": {
          "type": "string",
          "description": "The start date and time of the shift.",
          "format": "date-time"
        },
        "end_date": {
          "type": "string",
          "description": "The end date and time of the shift.",
          "format": "date-time"
        },
        "spots_left": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The number of open participation spots remaining for this shift. null if unlimited.",
          "format": "int32"
        },
        "spots_total": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The total number of participation spots on this shift. null if unlimited.",
          "format": "int32"
        },
        "spots_wait_listed": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The number of participants currently on the waitlist. null if waitlist is not enabled.",
          "format": "int32"
        },
        "event_recurrence_id": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The event recurrence ID, if applicable.",
          "format": "int32"
        },
        "hours_locked": {
          "type": "boolean",
          "description": "Indicates whether the volunteer hours for this shift are locked and cannot be edited."
        },
        "default_hours": {
          "type": [
            "number",
            "null"
          ],
          "description": "The default number of hours to log for this shift. null if not specified.",
          "format": "double"
        },
        "has_default_hours": {
          "type": "boolean",
          "description": "Indicates whether a default hours value has been configured for this shift."
        },
        "occurrence_number": {
          "type": "integer",
          "description": "The sequential number of the occurrence this shift belongs to.",
          "format": "int32"
        },
        "cra_shift": {
          "type": "boolean",
          "description": "Indicates whether this shift is a Community Reinvestment Act (CRA) shift."
        },
        "capacity": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The maximum number of participants allowed on this shift. null if unlimited.",
          "format": "int32"
        },
        "start_hours": {
          "type": "integer",
          "description": "The hour of the shift start time (0–23).",
          "format": "int32"
        },
        "start_minutes": {
          "type": "integer",
          "description": "The minute of the shift start time (0–59).",
          "format": "int32"
        },
        "end_hours": {
          "type": "integer",
          "description": "The hour of the shift end time (0–23).",
          "format": "int32"
        },
        "end_minutes": {
          "type": "integer",
          "description": "The minute of the shift end time (0–59).",
          "format": "int32"
        },
        "number_of_days": {
          "type": "integer",
          "description": "The total number of days this shift spans.",
          "format": "int32"
        }
      },
      "additionalProperties": false,
      "description": "Represents a summary of a single shift within an event occurrence."
    }
  }
}