|
|
@ -92,7 +92,8 @@ |
|
|
|
"type": "string", |
|
|
|
"type": "string", |
|
|
|
"enum": ["passing", "arrival", "departure"] |
|
|
|
"enum": ["passing", "arrival", "departure"] |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
"required": ["delay", "station", "state"] |
|
|
|
}, |
|
|
|
}, |
|
|
|
"stations": { |
|
|
|
"stations": { |
|
|
|
"description": "List of stations the train stops at", |
|
|
|
"description": "List of stations the train stops at", |
|
|
@ -127,5 +128,5 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
"required": ["route", "stations"] |
|
|
|
"required": ["route", "stations", "rank", "number", "date", "operator"] |
|
|
|
} |
|
|
|
} |