﻿using Newtonsoft.Json;

namespace Digirati.IIIF.Model.Types
{
    public class Collection : IIIFPresentationBase
    {
        [JsonProperty(Order = 100, PropertyName = "collections")]
        public Collection[] Collections { get; set; }

        [JsonProperty(Order = 101, PropertyName = "manifests")]
        public Manifest[] Manifests { get; set; }

        public override string Type
        {
            get { return "sc:Collection"; }
        }
    }
}

﻿using Newtonsoft.Json;

namespace Digirati.IIIF.Model.Types
{
    public class Collection : IIIFPresentationBase
    {
        [JsonProperty(Order = 100, PropertyName = "collections")]
        public Collection[] Collections { get; set; }

        [JsonProperty(Order = 101, PropertyName = "manifests")]
        public Manifest[] Manifests { get; set; }

        [JsonProperty(Order = 111, PropertyName = "members")]
        public IIIFPresentationBase[] Members { get; set; }

        public override string Type
        {
            get { return "sc:Collection"; }
        }
    }
}

Add members property to collection
Add members property to collection
