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 411adb7 commit d242fb3Copy full SHA for d242fb3
test/array.test.js
@@ -112,3 +112,31 @@ buildTest({
112
}
113
114
}, {ids: [1, 2]})
115
+
116
+buildTest({
117
+ 'title': 'pattern properties array',
118
+ 'type': 'object',
119
+ 'properties': {
120
+ 'args': {
121
+ 'type': 'array',
122
+ 'items': [
123
+ {
124
125
+ 'patternProperties': {
126
+ '.*': {
127
+ 'type': 'string'
128
+ }
129
130
+ },
131
132
133
134
135
+ 'type': 'number'
136
137
138
139
+ ]
140
141
142
+}, {args: [{a: 'test'}, {b: 1}]})
0 commit comments