﻿using Newtonsoft.Json;
using System.Collections.Generic;

namespace Cassini.MBTA.Core
{
	public class AlertHeader
	{
		[JsonProperty("alert_id")]
		public int Id { get; set; }

		[JsonProperty("header_text")]
		public string Header { get; set; }
	}

	public class RouteAlertHeaders
	{
		[JsonProperty("route_id")]
		public string RouteId { get; set; }

		[JsonProperty("route_name")]
		public string RouteName { get; set; }

		[JsonProperty("alert_headers")]
		public List<AlertHeader> Headers { get; set; }
	}

	public class StopAlertHeaders
	{
		[JsonProperty("stop_id")]
		public string StopId { get; set; }

		[JsonProperty("stop_name")]
		public string StopName { get; set; }

		[JsonProperty("alert_headers")]
		public List<AlertHeader> Headers { get; set; }
	}

	class AlertHeaderRoot
	{
		[JsonProperty("alert_headers")]
		public List<AlertHeader> Headers { get; set; }
	}
}

