summaryrefslogtreecommitdiff
path: root/tests/files/partial_schemas
diff options
context:
space:
mode:
Diffstat (limited to 'tests/files/partial_schemas')
-rw-r--r--tests/files/partial_schemas/1f-data.yaml1
-rw-r--r--tests/files/partial_schemas/1f-partials.yaml11
-rw-r--r--tests/files/partial_schemas/1f-schema.yaml3
-rw-r--r--tests/files/partial_schemas/1s-data.yaml1
-rw-r--r--tests/files/partial_schemas/1s-partials.yaml11
-rw-r--r--tests/files/partial_schemas/1s-schema.yaml3
-rw-r--r--tests/files/partial_schemas/2f-data.yaml1
-rw-r--r--tests/files/partial_schemas/2f-schema.yaml5
-rw-r--r--tests/files/partial_schemas/2s-data.yaml3
-rw-r--r--tests/files/partial_schemas/2s-partials.yaml16
-rw-r--r--tests/files/partial_schemas/2s-schema.yaml3
-rw-r--r--tests/files/partial_schemas/3f-data.yaml1
-rw-r--r--tests/files/partial_schemas/3f-schema.yaml3
-rw-r--r--tests/files/partial_schemas/4f-data.yaml2
-rw-r--r--tests/files/partial_schemas/4f-schema.yaml20
-rw-r--r--tests/files/partial_schemas/5f-data.yaml1
-rw-r--r--tests/files/partial_schemas/5f-schema.yaml18
-rw-r--r--tests/files/partial_schemas/6f-data.yaml4
-rw-r--r--tests/files/partial_schemas/6f-schema.yaml22
-rw-r--r--tests/files/partial_schemas/7s-data.yaml5
-rw-r--r--tests/files/partial_schemas/7s-schema.yaml12
21 files changed, 146 insertions, 0 deletions
diff --git a/tests/files/partial_schemas/1f-data.yaml b/tests/files/partial_schemas/1f-data.yaml
new file mode 100644
index 0000000..4444bad
--- /dev/null
+++ b/tests/files/partial_schemas/1f-data.yaml
@@ -0,0 +1 @@
+- foo: "opa" \ No newline at end of file
diff --git a/tests/files/partial_schemas/1f-partials.yaml b/tests/files/partial_schemas/1f-partials.yaml
new file mode 100644
index 0000000..b93127a
--- /dev/null
+++ b/tests/files/partial_schemas/1f-partials.yaml
@@ -0,0 +1,11 @@
+schema;fooone:
+ type: map
+ mapping:
+ foo:
+ include: footwo
+
+schema;footwo:
+ type: map
+ mapping:
+ foo:
+ type: bool
diff --git a/tests/files/partial_schemas/1f-schema.yaml b/tests/files/partial_schemas/1f-schema.yaml
new file mode 100644
index 0000000..462d391
--- /dev/null
+++ b/tests/files/partial_schemas/1f-schema.yaml
@@ -0,0 +1,3 @@
+type: seq
+sequence:
+ - include: fooonez
diff --git a/tests/files/partial_schemas/1s-data.yaml b/tests/files/partial_schemas/1s-data.yaml
new file mode 100644
index 0000000..4444bad
--- /dev/null
+++ b/tests/files/partial_schemas/1s-data.yaml
@@ -0,0 +1 @@
+- foo: "opa" \ No newline at end of file
diff --git a/tests/files/partial_schemas/1s-partials.yaml b/tests/files/partial_schemas/1s-partials.yaml
new file mode 100644
index 0000000..ef84657
--- /dev/null
+++ b/tests/files/partial_schemas/1s-partials.yaml
@@ -0,0 +1,11 @@
+schema;fooone:
+ type: map
+ mapping:
+ foo:
+ type: str
+
+schema;footwo:
+ type: map
+ mapping:
+ foo:
+ type: bool \ No newline at end of file
diff --git a/tests/files/partial_schemas/1s-schema.yaml b/tests/files/partial_schemas/1s-schema.yaml
new file mode 100644
index 0000000..ea433b7
--- /dev/null
+++ b/tests/files/partial_schemas/1s-schema.yaml
@@ -0,0 +1,3 @@
+type: seq
+sequence:
+ - include: fooone
diff --git a/tests/files/partial_schemas/2f-data.yaml b/tests/files/partial_schemas/2f-data.yaml
new file mode 100644
index 0000000..b1d5359
--- /dev/null
+++ b/tests/files/partial_schemas/2f-data.yaml
@@ -0,0 +1 @@
+- True
diff --git a/tests/files/partial_schemas/2f-schema.yaml b/tests/files/partial_schemas/2f-schema.yaml
new file mode 100644
index 0000000..d5bd186
--- /dev/null
+++ b/tests/files/partial_schemas/2f-schema.yaml
@@ -0,0 +1,5 @@
+type: seq
+sequence:
+ - include: foo
+schema;foo:
+ type: str
diff --git a/tests/files/partial_schemas/2s-data.yaml b/tests/files/partial_schemas/2s-data.yaml
new file mode 100644
index 0000000..c67a590
--- /dev/null
+++ b/tests/files/partial_schemas/2s-data.yaml
@@ -0,0 +1,3 @@
+- foo:
+ bar:
+ - true
diff --git a/tests/files/partial_schemas/2s-partials.yaml b/tests/files/partial_schemas/2s-partials.yaml
new file mode 100644
index 0000000..238abb9
--- /dev/null
+++ b/tests/files/partial_schemas/2s-partials.yaml
@@ -0,0 +1,16 @@
+schema;footwo:
+ type: map
+ mapping:
+ bar:
+ include: foothree
+
+schema;fooone:
+ type: map
+ mapping:
+ foo:
+ include: footwo
+
+schema;foothree:
+ type: seq
+ sequence:
+ - type: bool
diff --git a/tests/files/partial_schemas/2s-schema.yaml b/tests/files/partial_schemas/2s-schema.yaml
new file mode 100644
index 0000000..ea433b7
--- /dev/null
+++ b/tests/files/partial_schemas/2s-schema.yaml
@@ -0,0 +1,3 @@
+type: seq
+sequence:
+ - include: fooone
diff --git a/tests/files/partial_schemas/3f-data.yaml b/tests/files/partial_schemas/3f-data.yaml
new file mode 100644
index 0000000..0ca9514
--- /dev/null
+++ b/tests/files/partial_schemas/3f-data.yaml
@@ -0,0 +1 @@
+True
diff --git a/tests/files/partial_schemas/3f-schema.yaml b/tests/files/partial_schemas/3f-schema.yaml
new file mode 100644
index 0000000..d83c47c
--- /dev/null
+++ b/tests/files/partial_schemas/3f-schema.yaml
@@ -0,0 +1,3 @@
+include: foo
+schema;foo:
+ type: str
diff --git a/tests/files/partial_schemas/4f-data.yaml b/tests/files/partial_schemas/4f-data.yaml
new file mode 100644
index 0000000..54c108e
--- /dev/null
+++ b/tests/files/partial_schemas/4f-data.yaml
@@ -0,0 +1,2 @@
+- foo:
+ - bar: True
diff --git a/tests/files/partial_schemas/4f-schema.yaml b/tests/files/partial_schemas/4f-schema.yaml
new file mode 100644
index 0000000..d109e40
--- /dev/null
+++ b/tests/files/partial_schemas/4f-schema.yaml
@@ -0,0 +1,20 @@
+type: seq
+sequence:
+ - include: fooone
+
+schema;fooone:
+ type: map
+ mapping:
+ foo:
+ include: footwo
+
+schema;footwo:
+ type: seq
+ sequence:
+ - include: foothree
+
+schema;foothree:
+ type: map
+ mapping:
+ bar:
+ type: str
diff --git a/tests/files/partial_schemas/5f-data.yaml b/tests/files/partial_schemas/5f-data.yaml
new file mode 100644
index 0000000..78cc18b
--- /dev/null
+++ b/tests/files/partial_schemas/5f-data.yaml
@@ -0,0 +1 @@
+- - - - True
diff --git a/tests/files/partial_schemas/5f-schema.yaml b/tests/files/partial_schemas/5f-schema.yaml
new file mode 100644
index 0000000..788d906
--- /dev/null
+++ b/tests/files/partial_schemas/5f-schema.yaml
@@ -0,0 +1,18 @@
+type: seq
+sequence:
+ - include: fooone
+
+schema;fooone:
+ type: seq
+ sequence:
+ - include: footwo
+
+schema;footwo:
+ type: seq
+ sequence:
+ - include: foothree
+
+schema;foothree:
+ type: seq
+ sequence:
+ - type: str
diff --git a/tests/files/partial_schemas/6f-data.yaml b/tests/files/partial_schemas/6f-data.yaml
new file mode 100644
index 0000000..49b7ed7
--- /dev/null
+++ b/tests/files/partial_schemas/6f-data.yaml
@@ -0,0 +1,4 @@
+foo:
+ bar:
+ qwe:
+ ewq: True
diff --git a/tests/files/partial_schemas/6f-schema.yaml b/tests/files/partial_schemas/6f-schema.yaml
new file mode 100644
index 0000000..00c0a91
--- /dev/null
+++ b/tests/files/partial_schemas/6f-schema.yaml
@@ -0,0 +1,22 @@
+type: map
+mapping:
+ foo:
+ include: fooone
+
+schema;fooone:
+ type: map
+ mapping:
+ bar:
+ include: footwo
+
+schema;footwo:
+ type: map
+ mapping:
+ qwe:
+ include: foothree
+
+schema;foothree:
+ type: map
+ mapping:
+ ewq:
+ type: str
diff --git a/tests/files/partial_schemas/7s-data.yaml b/tests/files/partial_schemas/7s-data.yaml
new file mode 100644
index 0000000..d48b5a2
--- /dev/null
+++ b/tests/files/partial_schemas/7s-data.yaml
@@ -0,0 +1,5 @@
+foo: blah
+bar:
+ - blah
+ - blah
+ - blah
diff --git a/tests/files/partial_schemas/7s-schema.yaml b/tests/files/partial_schemas/7s-schema.yaml
new file mode 100644
index 0000000..eaf0613
--- /dev/null
+++ b/tests/files/partial_schemas/7s-schema.yaml
@@ -0,0 +1,12 @@
+type: map
+mapping:
+ foo:
+ type: str
+ required: True
+ bar:
+ include: bar
+schema;bar:
+ type: seq
+ required: True
+ sequence:
+ - type: str