From ffaa4c4ebefc6a719f321682d47906589cdc1c77 Mon Sep 17 00:00:00 2001 From: Arihant Date: Tue, 21 Jul 2026 12:08:30 +0200 Subject: [PATCH] SPTECH-269: expose min/max participants on price-breakdown timeslots Add min_participants / max_participants to the public TimeSlot schema, mirroring the change shipped in public-partner-api (price-breakdown now returns these per time slot). This spec is a manually-maintained mirror with no auto-sync, so the fields are added here directly. Co-Authored-By: Claude Opus 4.8 --- spec/components/schema/day_breakdowns.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spec/components/schema/day_breakdowns.yaml b/spec/components/schema/day_breakdowns.yaml index 370d3bb..2dce5af 100644 --- a/spec/components/schema/day_breakdowns.yaml +++ b/spec/components/schema/day_breakdowns.yaml @@ -54,6 +54,14 @@ components: vacancies: type: integer example: 10 + min_participants: + type: integer + description: Minimum number of participants required to book this timeslot. + example: 2 + max_participants: + type: integer + description: Maximum number of participants that can be booked on this timeslot. + example: 50 unavailability_reason: $ref: '#/components/schemas/UnavailabilityReason' price_breakdown: