{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Eviulon principal-authority lineage record",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "id",
    "caseCode",
    "agentClass",
    "receiptChain",
    "currentState",
    "receiptSha256",
    "exactStepAuthorized",
    "truthBoundary"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "caseCode": {
      "type": "string"
    },
    "agentClass": {
      "type": "string"
    },
    "receiptChain": {
      "type": "array",
      "minItems": 3
    },
    "currentState": {
      "type": "string"
    },
    "receiptSha256": {
      "type": "string",
      "pattern": "^[0-9a-f]{64}$"
    },
    "exactStepAuthorized": {
      "type": "boolean"
    },
    "truthBoundary": {
      "type": "string"
    }
  }
}
