We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06bc67b commit 7baaab0Copy full SHA for 7baaab0
test/input-output/complex/input.json
@@ -0,0 +1,12 @@
1
+{
2
+ "address": {
3
+ "streetAddress": "21 2nd Street",
4
+ "city": "New York"
5
+ },
6
+ "phoneNumber": [
7
+ {
8
+ "location": "home",
9
+ "code": 44
10
+ }
11
+ ]
12
+}
test/input-output/complex/output.json
@@ -0,0 +1,34 @@
+ "type": "object",
+ "properties": {
+ "streetAddress": {
+ "type": "string"
+ "city": {
13
14
+ "required": [
15
+ "streetAddress",
16
+ "city"
17
18
19
+ "phoneNumber": {
20
+ "type": "array",
21
+ "items": {
22
23
24
+ "location": {
25
26
27
+ "code": {
28
+ "type": "integer"
29
30
31
32
33
34
0 commit comments