{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.demiton.io/registers/evidence_gap_verdict/v2.json",
  "title": "evidence_gap_verdict contract v2",
  "type": "object",
  "required": [
    "consequence",
    "detail",
    "dispute_type",
    "grade",
    "source_clause",
    "source_title",
    "standard_key",
    "status"
  ],
  "properties": {
    "grade": {
      "type": "string",
      "description": "the standard's own citation grade",
      "x-demiton-requiredness": "required"
    },
    "detail": {
      "type": "string",
      "description": "a one-line human-readable explanation of the verdict",
      "x-demiton-requiredness": "required"
    },
    "reason": {
      "type": "string",
      "description": "the unmeasurable reason code, or the missed consequence code",
      "x-demiton-requiredness": "optional"
    },
    "status": {
      "type": "string",
      "description": "met, at_risk, missed, or unmeasurable",
      "x-demiton-requiredness": "required"
    },
    "currency": {
      "type": "currency",
      "description": "the currency of every amount on this record (`exposure`), an ISO 4217 alpha-3 code as the source states it. A record with no currency has no usable amount.",
      "x-demiton-requiredness": "optional"
    },
    "exposure": {
      "type": "number",
      "description": "a proxy dollar exposure from the project's own contract terms",
      "x-demiton-requiredness": "optional"
    },
    "source_url": {
      "type": "string",
      "description": "the standard's own source URL",
      "x-demiton-requiredness": "optional"
    },
    "consequence": {
      "type": "string",
      "description": "what missing the standard costs, from the standard's own field",
      "x-demiton-requiredness": "required"
    },
    "dispute_type": {
      "type": "string",
      "description": "the dispute type the standard defends against",
      "x-demiton-requiredness": "required"
    },
    "source_title": {
      "type": "string",
      "description": "the standard's own source, carried onto the verdict for display",
      "x-demiton-requiredness": "required"
    },
    "standard_key": {
      "type": "string",
      "description": "which evidence standard this verdict is about",
      "x-demiton-requiredness": "required"
    },
    "source_clause": {
      "type": "string",
      "description": "the standard's own clause or section",
      "x-demiton-requiredness": "required"
    },
    "cause_category": {
      "type": "string",
      "description": "The subcategory of the verdict's disease: the stage or control that failed. One of that disease's `causes[].key` in vocab/diseases.json, checked by the writer. Absent when the detector does not determine it.",
      "x-demiton-requiredness": "optional"
    }
  },
  "x-demiton-register-type": "evidence_gap_verdict",
  "x-demiton-contract-version": "2.1.0",
  "x-demiton-store": "tenant",
  "x-demiton-axes": [],
  "x-demiton-measures": [],
  "x-demiton-provenance": {
    "standards": []
  },
  "description": "The Evidence gap verdict register contract, version 2. JSON Schema (draft 2020-12); x-demiton-* keywords carry Demiton's own meaning and standard validators ignore them.",
  "x-demiton-contract-url": "https://docs.demiton.io/registers/evidence_gap_verdict/",
  "x-demiton-register-catalog": "https://docs.demiton.io/concepts/register-catalog"
}