Skip to content

Commit

Permalink
Update data models (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
openactive-bot authored Jul 19, 2022
1 parent 23e382d commit 7bf6aac
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions OpenActive.NET/models/Dataset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ public override string ToString()
public new virtual List<DataDownload> Distribution { get; set; }

/// <summary>
/// A link to documentation related to the `Dataset`, or a link to the OpenActive developer documentation if no Dataset-specific documentation is available.
/// 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.
/// </summary>
/// <example>
/// <code>
/// "documentation": "https://developer.openactive.io"
/// "documentation": "https://permalink.openactive.io/dataset-site/open-data-documentation"
/// </code>
/// </example>
[DataMember(Name = "documentation", EmitDefaultValue = false, Order = 16)]
Expand Down
4 changes: 2 additions & 2 deletions OpenActive.NET/models/Place.cs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public override string ToString()
///
/// If you are using this property, please join the discussion at proposal [#307](https://github.com/openactive/modelling-opportunity-data/issues/307).
/// </summary>
[DataMember(Name = "beta:serviceOperator", EmitDefaultValue = false, Order = 1024)]
[DataMember(Name = "beta:serviceOperator", EmitDefaultValue = false, Order = 1023)]
[JsonConverter(typeof(ValuesConverter))]
public virtual Organization ServiceOperator { get; set; }

Expand All @@ -295,7 +295,7 @@ public override string ToString()
///
/// If you are using this property, please join the discussion at proposal [#1](https://github.com/openactive/place-types/issues/1).
/// </summary>
[DataMember(Name = "beta:placeType", EmitDefaultValue = false, Order = 1025)]
[DataMember(Name = "beta:placeType", EmitDefaultValue = false, Order = 1024)]
[JsonConverter(typeof(ValuesConverter))]
public virtual List<Concept> PlaceType { get; set; }
}
Expand Down
4 changes: 2 additions & 2 deletions OpenActive.NET/models/QuantitativeValue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public override string ToString()
public override string Type => "QuantitativeValue";

/// <summary>
/// The maximum value.
/// The maximum value, inclusive.
/// </summary>
/// <example>
/// <code>
Expand All @@ -57,7 +57,7 @@ public override string ToString()
public new virtual long? MaxValue { get; set; }

/// <summary>
/// The minimum value.
/// The minimum value, inclusive.
/// </summary>
/// <example>
/// <code>
Expand Down
10 changes: 5 additions & 5 deletions OpenActive.NET/models/WebAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public override string ToString()
public virtual string Description { get; set; }

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

/// <summary>
/// A link to documentation related to the Dataset, or a link to the OpenActive developer documentation if no Dataset-specific documentation is available.
/// 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.
/// </summary>
/// <example>
/// <code>
/// "documentation": "https://developer.openactive.io"
/// "documentation": "https://permalink.openactive.io/dataset-site/open-booking-api-documentation"
/// </code>
/// </example>
[DataMember(Name = "documentation", EmitDefaultValue = false, Order = 11)]
Expand All @@ -122,7 +122,7 @@ public override string ToString()
public virtual Uri EndpointDescription { get; set; }

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

/// <summary>
/// The web page the broker uses to obtain access to the API, e.g. via a web form.
/// The URL of a web page that the Broker may use to obtain access to the API, e.g. via a web form.
/// </summary>
/// <example>
/// <code>
Expand Down

0 comments on commit 7bf6aac

Please sign in to comment.