Title: node-config-schema.json has mistakes · Issue #61595 · nodejs/node · GitHub
Open Graph Title: node-config-schema.json has mistakes · Issue #61595 · nodejs/node
X Title: node-config-schema.json has mistakes · Issue #61595 · nodejs/node
Description: 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 p...
Open Graph Description: 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...
X Description: 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...
Opengraph URL: https://github.com/nodejs/node/issues/61595
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"node-config-schema.json has mistakes","articleBody":"With a schema validator which also validates the schema itself when compiling for all rules to be in non-conflict:\n`require('@exodus/schemasafe').validator(require('../../doc/node-config-schema.json'))`\n\nSame but also enforcing that every property is validated:\n`require('@exodus/schemasafe').validator(require('../../doc/node-config-schema.json'), { mode: 'strong' })`\n\nEven the first one fails\n\nExample:\nhttps://github.com/nodejs/node/blob/e67848a8ae92d3846e1e417fb55342b7ad837af8/doc/node-config-schema.json#L26-L30\n\n`minItems` is not a property of `type: 'string'` schema, it should have been on `type: 'array'` level\nIt crashes strict validators and is silently ignored in loose validators otherwise.\n\nThere seems to be many instances of that\n\nalso perhaps add a validator to lint that","author":{"url":"https://github.com/ChALkeR","@type":"Person","name":"ChALkeR"},"datePublished":"2026-01-30T21:30:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/61595/node/issues/61595"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fc55fc35-b997-c67b-519e-b06258ca2ce2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AAB4:1A1859:1118825:16D6F9E:6A4D8DFD |
| html-safe-nonce | 22b5496e421bf783cbf01ee418f711fd2ba292c67e1e7c867bd7975d126d87ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUI0OjFBMTg1OToxMTE4ODI1OjE2RDZGOUU6NkE0RDhERkQiLCJ2aXNpdG9yX2lkIjoiMTQ4NDAwMzQ1NDE1NDAxODMwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2f4c0b051b7e8070456162206cbcda51e61c12468752ea0cd8aafa7b99e0a4cb |
| hovercard-subject-tag | issue:3877450087 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/61595/issue_layout |
| twitter:image | https://opengraph.githubassets.com/42970ee4b070ae19201f8e4d321feed87ff95345f23ff7dc6984d7278f0c7bdc/nodejs/node/issues/61595 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/42970ee4b070ae19201f8e4d321feed87ff95345f23ff7dc6984d7278f0c7bdc/nodejs/node/issues/61595 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ChALkeR |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 74e2a9c78f1e38588de4f25885878349d721eedf |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width