{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/halaxy/json-schema/halaxy-schedule-schedule-generate-input-schema.json",
  "title": "Schedule.ScheduleGenerateInput",
  "description": "Schedule resources provide a container for time-slots that can be booked using an appointment. It provides the window of time (period) that slots are defined for and what type of appointments can be booked.\nThe schedule does not provide any information about actual appointments. This separation greatly assists where access to the appointments would not be permitted for security or privacy reasons, while still being able to determine if an appointment might be available.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/halaxy-schedule-api-openapi.yml#/components/schemas/Schedule.ScheduleGenerateInput",
  "type": "object",
  "deprecated": false,
  "properties": {
    "period": {
      "description": "The period to generate slots with the Schedules planing horizon. Leave blank to re-generate to entire planning horizon",
      "anyOf": [
        {
          "$ref": "#/$defs/FhirPeriodDateTime"
        },
        {
          "type": "null"
        }
      ]
    },
    "updatePlanningHorizon": {
      "description": "Pass true to update the planning horizon. Default is false.",
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "$defs": {
    "FhirPeriodDateTime": {
      "type": "object",
      "description": "",
      "deprecated": false,
      "properties": {
        "start": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "end": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "id": {
          "readOnly": true,
          "description": "ID of the FHIR element (optional)",
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}