diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-01-11 22:09:32 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-01-11 22:09:32 +0100 |
commit | 985001e8b4fff4b2c7dcf3ebd8d26a178e1cf561 (patch) | |
tree | 63ea196307cd6b01a7a19ca71eff5207c0860817 /schema.yml | |
parent | aaee1881495d0e5bae0e4027b48d2d62d6d5c0f1 (diff) |
filter train duplicates by valid date range
Diffstat (limited to 'schema.yml')
-rw-r--r-- | schema.yml | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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: |