Michael B. Gale
|
13d4882649
|
Validate JSON more
|
2026-07-29 11:35:46 +01:00 |
|
Michael B. Gale
|
51d51e8121
|
Add boolean Validator to json module
|
2026-07-29 11:19:57 +01:00 |
|
Michael B. Gale
|
e893985e8b
|
Fix makeValidator returning required: boolean
|
2026-07-29 11:19:21 +01:00 |
|
Michael B. Gale
|
0c2cea31ba
|
Break out of loop to allow result object to be updated after failing fast
|
2026-07-13 14:47:38 +01:00 |
|
Michael B. Gale
|
3f1e4da48d
|
Propagate and prefer invalidKeys from element validator in array validator
|
2026-07-13 10:23:24 +01:00 |
|
Michael B. Gale
|
89343ee1aa
|
Fix checkSchema test names
|
2026-07-13 10:22:19 +01:00 |
|
Michael B. Gale
|
ba5fbf159a
|
Propagate CheckSchemaOptions to allow failFast to work as intended
|
2026-07-13 10:16:24 +01:00 |
|
Michael B. Gale
|
9a1225df61
|
Track invalid keys, and use more standard JSON path notation
|
2026-07-13 10:15:59 +01:00 |
|
Michael B. Gale
|
aec5441507
|
Add convenience functions to produce CheckSchemaResult values
|
2026-07-13 10:14:49 +01:00 |
|
Michael B. Gale
|
f8ed33e067
|
Remove keys from unrecognised set as soon as found
|
2026-07-13 10:14:13 +01:00 |
|
Michael B. Gale
|
ec0b8ae45f
|
Allow nested checking
|
2026-07-13 10:14:02 +01:00 |
|
Michael B. Gale
|
36ef889329
|
Improve type inference for object and validateSchema
|
2026-07-13 10:13:13 +01:00 |
|
Michael B. Gale
|
50d76e2fa3
|
Add an object Validator
|
2026-07-13 10:13:05 +01:00 |
|
Michael B. Gale
|
6a62e99aa7
|
Add an array Validator
|
2026-07-13 10:12:56 +01:00 |
|
Michael B. Gale
|
fb5048ee88
|
Add checkSchema function
|
2026-07-13 10:12:46 +01:00 |
|
Mario Campos
|
cbf67da2fa
|
Adjust test name
By @mbg
Co-authored-by: Michael B. Gale <mbg@github.com>
|
2026-07-01 15:46:20 -05:00 |
|
Mario Campos
|
4c18ab020b
|
Change optional to include undefined
The previous implementation of `optional` is now `optionalOrNull`.
|
2026-07-01 15:46:15 -05:00 |
|
Mario Campos
|
ffb3423848
|
Add isNumber/number validator
|
2026-06-30 16:35:16 -05:00 |
|
Michael B. Gale
|
b77983290b
|
Fix permutations comment
|
2026-04-30 13:28:42 +01:00 |
|
Michael B. Gale
|
549683cee5
|
Make it clearer what the expectations for isUsernamePassword are
|
2026-04-30 12:49:49 +01:00 |
|
Michael B. Gale
|
7a6ed56219
|
Modify FromSchema so that optional properties are actually optional
|
2026-04-30 11:54:21 +01:00 |
|
Michael B. Gale
|
91fbc51606
|
Improve validateSchema comment
|
2026-04-30 11:46:01 +01:00 |
|
Michael B. Gale
|
530fcb3bbf
|
Group OIDC schemas into an array
|
2026-04-25 18:36:19 +01:00 |
|
Michael B. Gale
|
243c274daf
|
Add simple JSON schema / validation helpers
|
2026-04-25 15:35:50 +01:00 |
|
Michael B. Gale
|
048d0ea295
|
Address review comments
|
2026-03-10 15:54:58 +00:00 |
|
Michael B. Gale
|
c6e75ac1e8
|
Add JSON helper types and functions
|
2026-03-10 15:31:21 +00:00 |
|