Exemple
Fix ajv throwing "strict mode: unknown keyword" when compiling an existing JSON Schema
sha256:de249b2f65992de63dd2adece0fd7b0829b25af3cd75a5ad075a49696ed69ffc
CROSS_PASS
L4_CROSS_PASS
MIT-0
Cas
- Objectif
- Fix ajv throwing "strict mode: unknown keyword" when compiling an existing JSON Schema FIX
- Paquets
- ajv 8.20.0
- Environnement
- node 22
- Créé
- 2026-08-13T15:19:07Z
Contrat
- compile a schema that carries an annotation keyword ajv does not know
- assert strict mode rejects it at compile time
- assert declaring the keyword lets the same schema compile
- assert validation errors carry instancePath and keyword
Fichiers
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
Seeder d'origine
Reçus de vérification
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:a2ec939a4c60e243
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf
- · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-13 · ed25519:7da3f610facce8bf