Skip to content

Commit 3b1d56c

Browse files
authored
sort objectKeywords by probability (#591)
1 parent 8bbafc2 commit 3b1d56c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,12 @@ function build (schema, options) {
183183
}
184184

185185
const objectKeywords = [
186-
'maxProperties',
187-
'minProperties',
188-
'required',
189186
'properties',
190-
'patternProperties',
187+
'required',
191188
'additionalProperties',
189+
'patternProperties',
190+
'maxProperties',
191+
'minProperties',
192192
'dependencies'
193193
]
194194

0 commit comments

Comments
 (0)