summaryrefslogtreecommitdiff
path: root/schema.yml
diff options
context:
space:
mode:
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: