Schema URL: https://www.cvp.dev/developers/cvp/schema/cvp-evidence-1.0.json
Draft: JSON Schema 2020-12 · Protocol: CVP · Version: 1.0.0-proposed · Document status: proposed
Use this schema to validate Evidence Manifests emitted by a CVP Runner. Field meanings and control obligations are defined only in the CVP 1.0 Specification. While Proposed, UI must not show a bare CVP VERIFIED badge.
Independent reference items use reference_scope (Erratum E1: model · expected_values · numerical_behavior · all). The deprecated alias scope is accepted for older manifests; new Runner output emits both, and CVP-REF-01 fails if the field is missing or does not cover the claims used in the run. Numerical ULP claims also declare numerical.claim_scope. The exact_integer profile records arithmetic, comparison: exact_equality, and ulp_applicable: false — it must not emit ULP fields or treat host IEEE-754 as the numeric model.
Structural vs semantic validation
Passing this schema does not prove that a Manifest conforms to CVP. Validation has two layers:
- Structural (this schema): fields, types, enums, required members, and conditions JSON Schema can express —
protocol.revisionas an ISO date while Proposed,status=VERIFIEDonly withattestation.status=CURRENT, theexact_integerprofile without ULP fields, and complete signed-attestation triples. - Semantic (CVP validator): control obligations per profile, status derivation,
verified_scope/ reference coverage,passed ≤ total,cvp_core_sha256binding against live Evidence, and clock orderverified_at ≤ evidence_attested_at ≤ last_confirmed_current_at.
Counterexamples
Each invalid file must fail structural validation. Enable format assertion in your validator; the pattern also rejects non-dates without it. Whether a revision matches a published spec revision is a semantic check.
structurally-valid-example.json— passes structural validation only. Placeholder digests,example.comsuite and incomplete controls: not a conformant Manifest and not real evidence.invalid-revision-not-a-date.json—protocol.revisionis not an ISO dateinvalid-missing-revision.json— Proposed Manifest withoutprotocol.revisioninvalid-verified-not-current.json—VERIFIEDwithattestation.status=STALEinvalid-exact-integer-ulp-field.json—exact_integerprofile emittingmax_error_observed