summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-21 14:45:21 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-21 14:45:21 +0100
commit6a7fd1692a9a94e6209b0a34b9a6552ee4d22b4e (patch)
tree9b08908b3bd0bf2b2379e1d429337ef0c0d16469
parentf9a2f05c18944be1755f1c29d3cbf22e1ac6b6d9 (diff)
schema: examples++
-rw-r--r--schema.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/schema.yml b/schema.yml
index c8da34b..122250e 100644
--- a/schema.yml
+++ b/schema.yml
@@ -110,6 +110,11 @@ components:
additionalProperties:
type: boolean
description: true iff the wagon or locomotive type described by the key is scheduled for the train
+ example:
+ "174.5": true
+ DApza: true
+ DBpbzfa: true
+ PBpza: true
wagons:
type: array
items:
@@ -117,5 +122,9 @@ components:
properties:
type:
type: string
+ example: DBpbzfa
+ description: wagon or locomotive type
number:
type: string
+ example: 1
+ decription: wagon number