{
  "version": "1.1.0",
  "input_fields": [
    "grant",
    "grant_at",
    "revocation",
    "revoked_at",
    "attempt_at",
    "order_known",
    "scope",
    "response",
    "evidence"
  ],
  "semantic_rules": [
    {
      "code": "ABSENT_GRANT_HAS_TIME",
      "constraint": "grant=absent requires grant_at=null"
    },
    {
      "code": "NO_REVOCATION_HAS_TIME",
      "constraint": "revocation=no requires revoked_at=null"
    },
    {
      "code": "UNKNOWN_GRANT_HAS_TIME",
      "constraint": "grant=unknown requires grant_at=null"
    },
    {
      "code": "UNKNOWN_REVOCATION_HAS_TIME",
      "constraint": "revocation=unknown requires revoked_at=null"
    },
    {
      "code": "ABSENT_GRANT_HAS_REVOCATION",
      "constraint": "grant=absent requires revocation=no in this single-grant model"
    },
    {
      "code": "REVOCATION_PRECEDES_SINGLE_GRANT",
      "constraint": "With known order, a known revocation cannot precede the sole known grant"
    }
  ],
  "missing_times": "A present grant or known revocation may have an unavailable time: null. This yields UNKNOWN when relevant; it is different from a contradictory known timestamp.",
  "engine_policy": "Reject; no implicit normalization. A rejected input cannot create a receipt.",
  "ui_policy": "Clear/disable irrelevant fields and explicitly trace the changes. Do not fabricate missing timestamps.",
  "boundary": "No real revocation enforcement or receipt authentication."
}
