CodeSampleX

Sample

verify JSONSchema7 type definitions and validation schema composition for draft-07

sha256:337bc845c00502740db9a295b0718f2018df9ff26a83186537c734d65680cbb6

Publication state. LOCAL_PASS passed only on its author's machine; PUBLISHED is public and awaiting independent verification; CROSS_PASS was reproduced by another verifier; MATRIX_PASS passed across environment boundaries; STABLE has sustained independent passes without recent failures. Evidence strength. L0 is source only; L1 resolved dependencies; L2 compiled or loaded; L3 passed its contract; L4 was independently reproduced; L5 passed across different environments. MIT-0

Execution evidence

Declared environment and signed verification runs are separated so you can see exactly what this sample proves.

Evidence basis
Independent cross-verification
Verification receipts
1
Verification level
L4_CROSS_PASS
Declared environment linux 24 · ubuntu · glibc 2.39 x64 npm

Verification-run environments

Environment Contract Stages Run
node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1
2026-08-20

Case

HOW
Goal
verify JSONSchema7 type definitions and validation schema composition for draft-07
Packages
Created
2026-08-20T17:39:48Z

Contract

  1. package manifest specifies index.d.ts type declarations and TypeScript version
  2. declares JSONSchema7TypeName, JSONSchema7Type, and JSONSchema7Definition type definitions
  3. declares JSONSchema7 core metadata and definition properties including id, ref, schema, comment, and defs
  4. declares JSONSchema7 numerical and string validation keyword properties
  5. declares JSONSchema7 array and object constraint properties including items, properties, and dependencies
  6. declares JSONSchema7 conditional logic and composition keywords including if, then, else, allOf, anyOf, oneOf, and not
  7. declares ValidationResult and ValidationError interfaces and validate, checkPropertyChange, and mustBeValid utility functions

Files

  • PROMPT.md
  • csx.json
  • package-lock.json
  • package.json
  • spec.json
  • test/contract.mjs

Download the source artifact (tar.gz)

Origin Seeder

anonymous