diff --git a/scraper/trainInfoScrapResultSchema.json b/scraper/trainInfoScrapResultSchema.json index 7d1c497..d25307d 100644 --- a/scraper/trainInfoScrapResultSchema.json +++ b/scraper/trainInfoScrapResultSchema.json @@ -92,7 +92,8 @@ "type": "string", "enum": ["passing", "arrival", "departure"] } - } + }, + "required": ["delay", "station", "state"] }, "stations": { "description": "List of stations the train stops at", @@ -127,5 +128,5 @@ } } }, - "required": ["route", "stations"] + "required": ["route", "stations", "rank", "number", "date", "operator"] } \ No newline at end of file