using System.Text.Json.Nodes;

namespace NEXUS.WebApi.Models
{
    public class Geometry
    {
        /// <summary>
        /// 
        /// </summary>
        public double[]? coordinates { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? type { get; set; }
    }

    public class Properties
    {
        /// <summary>
        /// 
        /// </summary>
        public string? geoid { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string? name { get; set; }
        public string? fips_state { get; set; }
        public string? fips_count { get; set; }
    }

    public class Features
    {
        /// <summary>
        /// 
        /// </summary>
        public string? type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Geometry? geometry { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Properties? properties { get; set; }
    }

    public class GeoJson
    {
        /// <summary>
        /// 
        /// </summary>
        public string? type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public IEnumerable<Features>? features { get; set; }
    }

}
