using System; using Newtonsoft.Json; namespace isnd.Data.Catalog { public class RegistrationPage { /// /// The URL to the registration page /// /// [JsonProperty("@id"), JsonRequired] public string Id { get; set; } /// /// The number of registration leaves in the page /// /// [JsonProperty("count"), JsonRequired] public int Count { get; set; } /// /// no The array of registration leaves and their associate metadata /// /// [JsonProperty("items")] public RegistrationLeaf[] Items { get; set; } /// /// The highest SemVer 2.0.0 version in the page (inclusive) /// /// [JsonProperty("upper"), JsonRequired] public Version Upper { get; set; } /// /// The lowest SemVer 2.0.0 version in the page (inclusive) /// /// [JsonProperty("lower"), JsonRequired] public Version Lower { get; set; } /// /// The URL to the registration index /// /// [JsonProperty("parent")] public string Parent { get; set; } } }