{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://usechartory.com/schemas/route-line.json",
 "description": "The data prop of <RouteLine> (Chartory chart 057).",
 "type": "object",
 "title": "RouteLineData",
 "properties": {
  "stops": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "RouteLineStop",
    "properties": {
     "name": {
      "type": "string",
      "description": "The name shown on the chart."
     },
     "eta": {
      "type": "string",
      "description": "The arrival time as shown."
     },
     "state": {
      "enum": [
       "done",
       "now",
       "next"
      ],
      "description": "The state."
     }
    },
    "required": [
     "name",
     "eta",
     "state"
    ]
   },
   "description": "The stops, in order."
  }
 },
 "required": [
  "stops"
 ]
}
