{
 "type": "object",
 "required": [
  "stations"
 ],
 "properties": {
  "stations": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "title",
     "status"
    ],
    "properties": {
     "id": {
      "type": "string"
     },
     "title": {
      "type": "string"
     },
     "status": {
      "enum": [
       "pending",
       "running",
       "built",
       "failed",
       "held"
      ]
     },
     "outputs": {
      "type": "array"
     },
     "errors": {
      "type": "array"
     },
     "at": {
      "type": "string"
     },
     "note": {
      "type": "string"
     }
    }
   }
  }
 },
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "urn:exploder-kit:train:1",
 "title": "Where each station stands",
 "description": "train.json: the passes and their state."
}
