summaryrefslogtreecommitdiff
path: root/schema.yml
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-11 21:23:31 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-11 21:23:31 +0100
commitaaee1881495d0e5bae0e4027b48d2d62d6d5c0f1 (patch)
tree700a5857594eb8cd6018185bd2eab879934f0567 /schema.yml
parentc6270546445c1c3954636a1c92d882d1b4b379bd (diff)
do not silently ignore duplicate train entries (wip)
Diffstat (limited to 'schema.yml')
-rw-r--r--schema.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/schema.yml b/schema.yml
index 60f5b15..0cbc85d 100644
--- a/schema.yml
+++ b/schema.yml
@@ -40,7 +40,9 @@ components:
type: object
description: dict mapping train numbers to train objects
additionalProperties:
- $ref: '#/components/schemas/train'
+ type: array
+ items:
+ $ref: '#/components/schemas/train'
train:
type: object
properties: