{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/blackbaud/json-schema/blackbaud-employee-event-sign-up-request-schema.json",
  "title": "EmployeeEventSignUpRequest",
  "description": "Represents the request body for signing an employee up 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/EmployeeEventSignUpRequest",
  "required": [
    "affiliate_employee_id"
  ],
  "type": "object",
  "properties": {
    "affiliate_employee_id": {
      "type": "integer",
      "description": "The employee ID from the affiliate's system.",
      "format": "int32"
    },
    "shifts": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/EventShiftInformation"
      },
      "description": "The list of shifts the employee is being signed up for."
    }
  },
  "additionalProperties": false,
  "$defs": {
    "EventShiftInformation": {
      "type": "object",
      "properties": {
        "event_recurrence_id": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The ID of the event recurrence series. Null for non-recurring events.",
          "format": "int32"
        },
        "occurrence_number": {
          "type": "integer",
          "description": "The occurrence number within the recurrence series.",
          "format": "int32"
        },
        "shift_id": {
          "type": "integer",
          "description": "The shift ID.",
          "format": "int32"
        },
        "hours": {
          "type": "number",
          "description": "The number of volunteer hours for this shift.",
          "format": "double"
        }
      },
      "additionalProperties": false,
      "description": "Represents the shift details included in an event sign-up request."
    }
  }
}