Skip to content

Commit 7bf6aac

Browse files
Update data models (#62)
1 parent 23e382d commit 7bf6aac

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

OpenActive.NET/models/Dataset.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,11 @@ public override string ToString()
157157
public new virtual List<DataDownload> Distribution { get; set; }
158158

159159
/// <summary>
160-
/// A link to documentation related to the `Dataset`, or a link to the OpenActive developer documentation if no Dataset-specific documentation is available.
160+
/// A link to documentation related to the `Dataset`, or a link to the OpenActive developer documentation using `https://permalink.openactive.io/dataset-site/open-data-documentation` if no Dataset-specific documentation is available.
161161
/// </summary>
162162
/// <example>
163163
/// <code>
164-
/// "documentation": "https://developer.openactive.io"
164+
/// "documentation": "https://permalink.openactive.io/dataset-site/open-data-documentation"
165165
/// </code>
166166
/// </example>
167167
[DataMember(Name = "documentation", EmitDefaultValue = false, Order = 16)]

OpenActive.NET/models/Place.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public override string ToString()
285285
///
286286
/// If you are using this property, please join the discussion at proposal [#307](https://github.com/openactive/modelling-opportunity-data/issues/307).
287287
/// </summary>
288-
[DataMember(Name = "beta:serviceOperator", EmitDefaultValue = false, Order = 1024)]
288+
[DataMember(Name = "beta:serviceOperator", EmitDefaultValue = false, Order = 1023)]
289289
[JsonConverter(typeof(ValuesConverter))]
290290
public virtual Organization ServiceOperator { get; set; }
291291

@@ -295,7 +295,7 @@ public override string ToString()
295295
///
296296
/// If you are using this property, please join the discussion at proposal [#1](https://github.com/openactive/place-types/issues/1).
297297
/// </summary>
298-
[DataMember(Name = "beta:placeType", EmitDefaultValue = false, Order = 1025)]
298+
[DataMember(Name = "beta:placeType", EmitDefaultValue = false, Order = 1024)]
299299
[JsonConverter(typeof(ValuesConverter))]
300300
public virtual List<Concept> PlaceType { get; set; }
301301
}

OpenActive.NET/models/QuantitativeValue.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public override string ToString()
4545
public override string Type => "QuantitativeValue";
4646

4747
/// <summary>
48-
/// The maximum value.
48+
/// The maximum value, inclusive.
4949
/// </summary>
5050
/// <example>
5151
/// <code>
@@ -57,7 +57,7 @@ public override string ToString()
5757
public new virtual long? MaxValue { get; set; }
5858

5959
/// <summary>
60-
/// The minimum value.
60+
/// The minimum value, inclusive.
6161
/// </summary>
6262
/// <example>
6363
/// <code>

OpenActive.NET/models/WebAPI.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public override string ToString()
7272
public virtual string Description { get; set; }
7373

7474
/// <summary>
75-
/// The location of the OpenID Provider or other relevant authentication authority that must be used to access the API.
75+
/// The location of the OpenID Provider that must be used to access the API.
7676
/// </summary>
7777
/// <example>
7878
/// <code>
@@ -98,11 +98,11 @@ public override string ToString()
9898
public virtual List<Uri> ConformsTo { get; set; }
9999

100100
/// <summary>
101-
/// A link to documentation related to the Dataset, or a link to the OpenActive developer documentation if no Dataset-specific documentation is available.
101+
/// A link to documentation related to how to use the Open Booking API, or a link to the OpenActive developer documentation using `https://permalink.openactive.io/dataset-site/open-booking-api-documentation` if no system-specific documentation is available.
102102
/// </summary>
103103
/// <example>
104104
/// <code>
105-
/// "documentation": "https://developer.openactive.io"
105+
/// "documentation": "https://permalink.openactive.io/dataset-site/open-booking-api-documentation"
106106
/// </code>
107107
/// </example>
108108
[DataMember(Name = "documentation", EmitDefaultValue = false, Order = 11)]
@@ -122,7 +122,7 @@ public override string ToString()
122122
public virtual Uri EndpointDescription { get; set; }
123123

124124
/// <summary>
125-
/// The base URL of the Open Booking API
125+
/// The Base URI of this implementation of the Open Booking API
126126
/// </summary>
127127
/// <example>
128128
/// <code>
@@ -134,7 +134,7 @@ public override string ToString()
134134
public virtual Uri EndpointUrl { get; set; }
135135

136136
/// <summary>
137-
/// The web page the broker uses to obtain access to the API, e.g. via a web form.
137+
/// The URL of a web page that the Broker may use to obtain access to the API, e.g. via a web form.
138138
/// </summary>
139139
/// <example>
140140
/// <code>

0 commit comments

Comments
 (0)