...
1{
2 "properties": {
3 "foo": {
4 "type": "integer"
5 },
6 "bar": {
7 "type": "integer"
8 },
9 "nested": {
10 "type": "object",
11 "properties": {
12 "inner": {
13 "type": "object",
14 "properties": {
15 "foo": {
16 "type": "integer"
17 },
18 "bar": {
19 "type": "integer"
20 }
21 }
22 }
23 }
24 },
25 "all": {
26 "allOf": [
27 {
28 "type": "object",
29 "properties": {
30 "foo": {
31 "type": "integer"
32 }
33 }
34 },
35 {
36 "type": "object",
37 "properties": {
38 "bar": {
39 "type": "integer"
40 }
41 }
42 }
43 ]
44 },
45 "any": {
46 "anyOf": [
47 {
48 "type": "object",
49 "properties": {
50 "foo": {
51 "type": "integer"
52 }
53 }
54 },
55 {
56 "type": "object",
57 "properties": {
58 "bar": {
59 "type": "integer"
60 }
61 }
62 }
63 ]
64 },
65 "one": {
66 "oneOf": [
67 {
68 "type": "object",
69 "properties": {
70 "foo": {
71 "type": "integer"
72 }
73 },
74 "required": ["foo"]
75 },
76 {
77 "type": "object",
78 "properties": {
79 "bar": {
80 "type": "integer"
81 }
82 }
83 }
84 ]
85 },
86 "not": {
87 "not": {
88 "type": "object",
89 "properties": {
90 "foo": {
91 "type": "integer"
92 }
93 }
94 }
95 },
96 "array": {
97 "items": {
98 "properties": {
99 "foo": {}
100 }
101 }
102 }
103 },
104 "required": ["foo", "bar", "nested", "all", "any", "one"]
105}
View as plain text