summaryrefslogtreecommitdiffstats
path: root/javatoscachecker/kwalify/src/test/resources/validateMapOfSeqSchema.yml
diff options
context:
space:
mode:
Diffstat (limited to 'javatoscachecker/kwalify/src/test/resources/validateMapOfSeqSchema.yml')
-rw-r--r--javatoscachecker/kwalify/src/test/resources/validateMapOfSeqSchema.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/javatoscachecker/kwalify/src/test/resources/validateMapOfSeqSchema.yml b/javatoscachecker/kwalify/src/test/resources/validateMapOfSeqSchema.yml
new file mode 100644
index 0000000..7868fc2
--- /dev/null
+++ b/javatoscachecker/kwalify/src/test/resources/validateMapOfSeqSchema.yml
@@ -0,0 +1,20 @@
+type: map
+mapping:
+ company:
+ type: str
+ required: yes
+ email:
+ type: str
+ employees:
+ type: seq
+ sequence:
+ - type: map
+ mapping:
+ code:
+ type: int
+ required: yes
+ name:
+ type: str
+ required: yes
+ email:
+ type: str