You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| General | type | Supported all type [defined in the specification](https://datatracker.ietf.org/doc/html/draft-handrews-json-schema-validation-01#section-6.1.1)|
192
+
|| enum | Supported |
193
+
|| const | Supported |
194
+
| Numbers | multipleOf | Supported |
195
+
|| maximum | Supported |
196
+
|| exclusiveMaximum | Supported |
197
+
|| minimum | Supported |
198
+
|| exclusiveMinimum | Supported |
199
+
| Strings | maxLength | Supported |
200
+
|| minLength | Supported |
201
+
|| pattern | Supported (kotlin.text.Regex is used) |
202
+
| Arrays | items | Supported |
203
+
|| additionalItems | Supported |
204
+
|| unevaluatedItems | Supported |
205
+
|| maxItems | Supported |
206
+
|| uniqueItems | Supported |
207
+
|| contains | Supported |
208
+
|| minContains | Supported (does not affect the work of contains assertion anyhow even if minContains=0) |
209
+
|| maxContains | Supported |
210
+
| Objects | maxProperties | Supported |
211
+
|| minProperties | Supported |
212
+
|| required | Supported |
213
+
|| properties | Supported |
214
+
|| patternProperties | Supported (kotlin.text.Regex is used) |
215
+
|| additionalProperties | Supported |
216
+
|| unevaluatedProperties | Supported |
217
+
|| dependentRequired | Supported |
218
+
|| dependentSchemas | Supported |
219
+
|| propertyNames | Supported |
220
+
| Conditions | if/then/else | Supported |
221
+
| Boolean logic | allOf | Supported |
222
+
|| anyOf | Supported (all validation will be executed even if the element matches the first one) |
223
+
|| oneOf | Supported |
224
+
|| not | Supported |
225
+
</details>
169
226
170
227
## Compliance to JSON schema test suites
171
228
@@ -179,6 +236,6 @@ The test are located [here](test-suites).
179
236
-[x] Add `$schema` property validation (if not set the latest supported will be used)
180
237
-[x] Add proper `$id` support (for nested schemas and for referencing)
0 commit comments