Problem description
Both APIs in this repo define a "requested QoS session duration in seconds" concept with near-identical wording, but with very different upper bounds — added independently during the r4.3-alignment work in this release cycle (neither had a maximum before 0.1.0 / r1.2):
qos-booking-and-assignment.yaml Duration (code/API_definitions/qos-booking-and-assignment.yaml:1016-1025): maximum: 86400 (24 hours)
qos-booking.yaml duration property, used in both CreateBooking and BookingInfo (code/API_definitions/qos-booking.yaml:443, :484): maximum: 31622400 (~366 days)
I checked how QualityOnDemand handles the same concept, since both APIs here explicitly say "Value may be explicitly limited for the QoS profile, as specified in the Qos Profile (see qos-profile API)." QoD's duration (quality-on-demand.yaml, SessionInfo and CreateSession) uses maximum: 2147483647 — i.e. no meaningful business limit at the schema level, just the int32 ceiling — and defers the actual bound entirely to the QoS Profile's own Duration object (qos-profiles.yaml, a structured {value, unit} pair via minDuration/maxDuration, not a raw integer-seconds cap).
So neither qos-booking nor qos-booking-and-assignment matches QoD's pattern, and they don't match each other either — three different approaches to a concept all three APIs describe the same way and all defer to the same "QoS Profile" for the real limit.
Expected behavior
Confirm whether the difference between the two QoS Booking APIs is intentional (e.g. qos-booking-and-assignment targets short ad hoc device bookings while qos-booking targets longer-term reservations) and, if so, document the rationale in each API's description. If not intentional, consider aligning with QoD's approach — an effectively unbounded schema maximum (int32 ceiling) with the real limit left to the QoS Profile — for consistency across the CQM-adjacent APIs that share this exact "limited by the QoS profile" language.
Alternative solution
If the two APIs are meant to allow different duration ranges by design, no schema change is needed — just add a short note to each Duration/duration description explaining the bound, so the divergence (from each other and from QoD) reads as deliberate rather than as drift.
Problem description
Both APIs in this repo define a "requested QoS session duration in seconds" concept with near-identical wording, but with very different upper bounds — added independently during the r4.3-alignment work in this release cycle (neither had a
maximumbefore 0.1.0 / r1.2):qos-booking-and-assignment.yamlDuration(code/API_definitions/qos-booking-and-assignment.yaml:1016-1025):maximum: 86400(24 hours)qos-booking.yamldurationproperty, used in bothCreateBookingandBookingInfo(code/API_definitions/qos-booking.yaml:443,:484):maximum: 31622400(~366 days)I checked how QualityOnDemand handles the same concept, since both APIs here explicitly say "Value may be explicitly limited for the QoS profile, as specified in the Qos Profile (see qos-profile API)." QoD's
duration(quality-on-demand.yaml,SessionInfoandCreateSession) usesmaximum: 2147483647— i.e. no meaningful business limit at the schema level, just theint32ceiling — and defers the actual bound entirely to the QoS Profile's ownDurationobject (qos-profiles.yaml, a structured{value, unit}pair viaminDuration/maxDuration, not a raw integer-seconds cap).So neither
qos-bookingnorqos-booking-and-assignmentmatches QoD's pattern, and they don't match each other either — three different approaches to a concept all three APIs describe the same way and all defer to the same "QoS Profile" for the real limit.Expected behavior
Confirm whether the difference between the two QoS Booking APIs is intentional (e.g.
qos-booking-and-assignmenttargets short ad hoc device bookings whileqos-bookingtargets longer-term reservations) and, if so, document the rationale in each API's description. If not intentional, consider aligning with QoD's approach — an effectively unbounded schemamaximum(int32 ceiling) with the real limit left to the QoS Profile — for consistency across the CQM-adjacent APIs that share this exact "limited by the QoS profile" language.Alternative solution
If the two APIs are meant to allow different duration ranges by design, no schema change is needed — just add a short note to each
Duration/durationdescription explaining the bound, so the divergence (from each other and from QoD) reads as deliberate rather than as drift.