{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blackbaud/main/json-schema/blackbaud-job-occurrence-view-schema.json",
  "title": "JobOccurrenceView",
  "description": "ViewJobOccurrence",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blackbaud-altru-volunteer-api-openapi.yml#/components/schemas/JobOccurrenceView",
  "type": "object",
  "properties": {
    "start_date": {
      "type": "string",
      "description": "The dates. Uses the format YYYY-MM-DDThh:mm:ss. An example date: <i>1955-11-05T22:04:00</i>.",
      "format": "date-time"
    },
    "enddate": {
      "type": "string",
      "description": "The enddate. Uses the format YYYY-MM-DDThh:mm:ss. An example date: <i>1955-11-05T22:04:00</i>.",
      "format": "date-time"
    },
    "start_month_day": {
      "$ref": "#/$defs/MonthDay"
    },
    "end_month_day": {
      "$ref": "#/$defs/MonthDay"
    },
    "start_time": {
      "$ref": "#/$defs/HourMinute"
    },
    "end_time": {
      "$ref": "#/$defs/HourMinute"
    },
    "type_code": {
      "type": "integer",
      "description": "The typecode.",
      "format": "int32"
    },
    "type": {
      "maxLength": 25,
      "minLength": 0,
      "type": "string",
      "description": "The type."
    },
    "day_of_week": {
      "maxLength": 15,
      "minLength": 0,
      "type": "string",
      "description": "The day of week."
    },
    "volunteers_needed": {
      "type": "integer",
      "description": "The needed.",
      "format": "int32"
    },
    "comments": {
      "type": "string",
      "description": "The comments."
    },
    "location": {
      "maxLength": 250,
      "minLength": 0,
      "type": "string",
      "description": "The location."
    },
    "department": {
      "maxLength": 250,
      "minLength": 0,
      "type": "string",
      "description": "The department."
    },
    "event": {
      "maxLength": 50,
      "minLength": 0,
      "type": "string",
      "description": "The event."
    },
    "site": {
      "maxLength": 1024,
      "minLength": 0,
      "type": "string",
      "description": "The site."
    },
    "schedule_summary": {
      "maxLength": 1024,
      "minLength": 0,
      "type": "string",
      "description": "The schedule."
    },
    "schedule_summary_collection": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/JobOccurrenceScheduleSummaryCollection"
      },
      "description": "Schedule summary collection."
    },
    "more_than_five": {
      "type": "boolean",
      "description": "Indicates whether more than five."
    }
  },
  "additionalProperties": false,
  "x-display-name": "Job Occurrence View Form",
  "x-display-id": "Job Occurrence View Form",
  "$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"
    },
    "JobOccurrenceScheduleSummaryCollection": {
      "type": "object",
      "properties": {
        "assignment_date": {
          "type": "string",
          "description": "date",
          "format": "date"
        },
        "openings": {
          "type": "integer",
          "description": "needed"
        }
      },
      "description": "JobOccurrenceScheduleSummaryCollection",
      "x-display-name": "schedule_summary_collection",
      "x-display-id": "schedule_summary_collection"
    },
    "MonthDay": {
      "type": "object",
      "properties": {
        "month": {
          "type": "integer",
          "description": "The month.",
          "format": "int32"
        },
        "day": {
          "type": "integer",
          "description": "The day.",
          "format": "int32"
        }
      },
      "description": "MonthDay",
      "x-display-name": "Month Day",
      "x-display-id": "Month Day"
    }
  }
}