{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://usedeed.app/contracts/deed.design_rubric_evidence_sweep.v1.schema.json",
  "title": "DEED design rubric evidence sweep",
  "type": "object",
  "required": ["$schema", "generatedAt", "catalogVersion", "scope", "thresholds", "cssProvenance", "trustPosture", "summary", "claims", "effectiveScores"],
  "properties": {
    "$schema": { "const": "https://usedeed.app/contracts/deed.design_rubric_evidence_sweep.v1.schema.json" },
    "generatedAt": { "type": "string", "format": "date-time" },
    "catalogVersion": { "type": "string", "minLength": 1 },
    "scope": { "const": "whole-catalog-effective-score" },
    "thresholds": { "type": "object" },
    "cssProvenance": { "type": "object", "required": ["policy", "fileCount", "sha256", "paths"] },
    "trustPosture": { "type": "object", "required": ["source", "claimScope", "headlineSuppression", "publicClaim"] },
    "summary": { "type": "object", "required": ["primitives", "highDimClaims", "fullyBacked", "missing", "effectiveMean", "declaredMean"] },
    "claims": { "type": "array" },
    "effectiveScores": { "type": "array" }
  }
}
