You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OpenActive.NET/models/FacilityUse.cs
+33-17Lines changed: 33 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -139,6 +139,22 @@ public override string ToString()
139
139
publicvirtualList<Concept>Activity{get;set;}
140
140
141
141
142
+
/// <summary>
143
+
/// Free text restrictions that must be displayed prominently to the user before booking. This property must only contain restrictions not described by `oa:ageRestriction` or `oa:genderRestriction`.
144
+
/// </summary>
145
+
/// <example>
146
+
/// <code>
147
+
/// "additionalAdmissionRestriction": [
148
+
/// "Participants younger than 12 must be accompanied by an adult",
149
+
/// "Participants must be comfortable standing for long periods of time"
/// Provides additional notes and instructions for users of a facility, for example more information on how to find it, what to bring, etc. The value of this property must not include HTML or other markup.
144
160
/// </summary>
@@ -147,7 +163,7 @@ public override string ToString()
147
163
/// "attendeeInstructions": "The tennis court is locked with a keycode, so please ensure you book online in advance to gain access."
@@ -340,7 +356,7 @@ public override string ToString()
340
356
///
341
357
/// If you are using this property, please join the discussion at proposal [#166](https://github.com/openactive/modelling-opportunity-data/issues/166).
@@ -362,7 +378,7 @@ public override string ToString()
362
378
///
363
379
/// If you are using this property, please join the discussion at proposal [#110](https://github.com/openactive/modelling-opportunity-data/issues/110).
@@ -373,7 +389,7 @@ public override string ToString()
373
389
///
374
390
/// If you are using this property, please join the discussion at proposal [#204](https://github.com/openactive/modelling-opportunity-data/issues/204).
Copy file name to clipboardExpand all lines: OpenActive.NET/models/Offer.cs
+27-10Lines changed: 27 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ public override string ToString()
116
116
117
117
118
118
/// <summary>
119
-
/// Indicates that an Offer is applicable to a specific age range. Specified as a QuantitativeValue with minValue and maxValue properties.
119
+
/// DEPRECATED: Please use `oa:ageRestriction` instead when describing an `Offer`.
120
120
/// </summary>
121
121
/// <example>
122
122
/// <code>
@@ -132,26 +132,43 @@ public override string ToString()
132
132
publicvirtualQuantitativeValueAgeRange{get;set;}
133
133
134
134
135
+
/// <summary>
136
+
/// Indicates that an Offer is only applicable to a specific age range. Specified as a QuantitativeValue with minValue and maxValue properties. This must be displayed prominently to the user when selecting an `Offer` or before booking.
/// Can include https://openactive.io/OpenBookingIntakeForm, https://openactive.io/OpenBookingAttendeeDetails, https://openactive.io/OpenBookingApproval, https://openactive.io/OpenBookingNegotiation, https://openactive.io/OpenBookingMessageExchange
/// The duration before the startDate for which this Offer is valid, given in ISO 8601 format. This is a relatively-defined equivalent of schema:validFrom, to allow for Offer inheritance.
@@ -225,7 +242,7 @@ public override string ToString()
225
242
///
226
243
/// If you are using this property, please join the discussion at proposal [#250](https://github.com/openactive/modelling-opportunity-data/issues/250).
0 commit comments