From 985001e8b4fff4b2c7dcf3ebd8d26a178e1cf561 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 11 Jan 2021 22:09:32 +0100 Subject: filter train duplicates by valid date range --- schema.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'schema.yml') diff --git a/schema.yml b/schema.yml index 0cbc85d..b7542f9 100644 --- a/schema.yml +++ b/schema.yml @@ -38,7 +38,12 @@ components: description: ISO 8601 interval describing when this train composition dataset is valid train: type: object - description: dict mapping train numbers to train objects + description: dict mapping train numbers to probably valid train objects + additionalProperties: + $ref: '#/components/schemas/train' + train_variants: + type: object + description: dict mapping train numbers to list of possible train objects additionalProperties: type: array items: -- cgit v1.2.3