{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/jumpseller-com/json-schema/jumpseller-com-appointment-timeslots-by-date-schema.json",
  "title": "AppointmentTimeslotsByDate",
  "description": "A map of `YYYY-MM-DD` date strings (the timeslot's `start_date`) to their available timeslots.",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/jumpseller-com-openapi.json#/components/schemas/AppointmentTimeslotsByDate",
  "type": "object",
  "additionalProperties": {
    "type": "array",
    "items": {
      "type": "object",
      "properties": {
        "start_time": {
          "type": "string",
          "description": "Timeslot start time in the store timezone."
        },
        "end_date": {
          "type": "string",
          "format": "date",
          "description": "Timeslot end date in the store timezone. Only present for `specific_dates` Products, whose slots may span multiple days."
        },
        "end_time": {
          "type": "string",
          "description": "Timeslot end time in the store timezone."
        },
        "capacity": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "Maximum bookings allowed for this timeslot across any linked shared calendar products. `null` when the product has unlimited capacity."
        },
        "remaining": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32",
          "description": "Remaining bookable capacity for this timeslot. `null` when the product has unlimited capacity."
        },
        "existing_count": {
          "type": "integer",
          "format": "int32",
          "description": "Number of existing bookings already counted against this timeslot's capacity."
        }
      }
    }
  }
}