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
With a schema validator which also validates the schema itself when compiling for all rules to be in non-conflict: require('@exodus/schemasafe').validator(require('../../doc/node-config-schema.json'))
Same but also enforcing that every property is validated: require('@exodus/schemasafe').validator(require('../../doc/node-config-schema.json'), { mode: 'strong' })
minItems is not a property of type: 'string' schema, it should have been on type: 'array' level
It crashes strict validators and is silently ignored in loose validators otherwise.
Activity
DevAnnafi commentedon Jan 30, 2026
Here is what I think might work:
Solution
Move constraints to their correct levels:
For testing you could try this:
ChALkeR commentedon Jan 30, 2026
@DevAnnafi I already opened a PR above: #61596
scripts/validate-schema.jsdoes not exist.feat: warn on misplaced keywords during schema compilation