namespace {{options.rootNamespace}}
{
    {{#with data}}
    using Newtonsoft.Json;
    using System;
    using System.Collections.Generic;
    {{> using}}

    /// <summary>
{{#getLines description}}
    {{#each .}}
    /// {{.}}
    {{/each}}
{{/getLines}}
    /// </summary>
    public class {{pascalCase name}} {{#ancestor}}: {{pascalCase name}}{{/ancestor}}
    {
    {{#properties}}
        /// <summary>
    {{#getLines description}}
        {{#each .}}
        /// {{.}}
        {{/each}}
    {{/getLines}}
        /// </summary>
        [JsonProperty("{{name}}")]
        public {{> type }} {{pascalCase name}} { get; set; }

    {{/properties}}
    }
    {{/with}}
}