summaryrefslogtreecommitdiff
path: root/schema.yml
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-11 19:31:35 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-11 19:31:35 +0100
commitc6270546445c1c3954636a1c92d882d1b4b379bd (patch)
tree376d081c391ef4a05bff5d62f8abaaa43d2f1d30 /schema.yml
parent87bf817466c6647a55b71275c143c3c01a54093d (diff)
respect cycle IDs when parsing cycle refs and building graphs
Diffstat (limited to 'schema.yml')
-rw-r--r--schema.yml20
1 files changed, 11 insertions, 9 deletions
diff --git a/schema.yml b/schema.yml
index 44869d1..60f5b15 100644
--- a/schema.yml
+++ b/schema.yml
@@ -128,15 +128,17 @@ components:
description: rated maximum speed in km/h
cycle:
type: object
- properties:
- from:
- type: array
- items:
- type: string
- to:
- type: array
- items:
- type: string
+ additionalProperties:
+ type: object
+ properties:
+ from:
+ type: array
+ items:
+ type: string
+ to:
+ type: array
+ items:
+ type: string
hasWagon:
type: object
additionalProperties: