{
  "version": "1.0.0",
  "scope": "Exact old inputs identified by the audit; negative controls for R1.1",
  "cases": [
    {
      "id": "D001-02",
      "version": "1.0.0",
      "title_es": "Permiso vigente, solo 202",
      "title_en": "Active permission, only 202",
      "inputs": {
        "grant": "present",
        "grant_at": 600,
        "revocation": "no",
        "revoked_at": 601,
        "attempt_at": 602,
        "order_known": true,
        "scope": "match",
        "response": "202",
        "evidence": "none"
      },
      "expected": {
        "decision": "ALLOW",
        "effect": "UNKNOWN"
      }
    },
    {
      "id": "D001-03",
      "version": "1.0.0",
      "title_es": "Permiso y recibo final vinculado",
      "title_en": "Permission and bound final receipt",
      "inputs": {
        "grant": "present",
        "grant_at": 600,
        "revocation": "no",
        "revoked_at": 601,
        "attempt_at": 602,
        "order_known": true,
        "scope": "match",
        "response": "202",
        "evidence": "final_effect"
      },
      "expected": {
        "decision": "ALLOW",
        "effect": "CONFIRMED"
      }
    },
    {
      "id": "D001-05",
      "version": "1.0.0",
      "title_es": "Sin autorización concedida",
      "title_en": "No grant",
      "inputs": {
        "grant": "absent",
        "grant_at": 600,
        "revocation": "yes",
        "revoked_at": 601,
        "attempt_at": 602,
        "order_known": true,
        "scope": "match",
        "response": "202",
        "evidence": "none"
      },
      "expected": {
        "decision": "DENY",
        "effect": "UNKNOWN"
      }
    },
    {
      "id": "D001-06",
      "version": "1.0.0",
      "title_es": "Autorización posterior al intento",
      "title_en": "Grant after the attempt",
      "inputs": {
        "grant": "present",
        "grant_at": 603,
        "revocation": "no",
        "revoked_at": 601,
        "attempt_at": 602,
        "order_known": true,
        "scope": "match",
        "response": "202",
        "evidence": "none"
      },
      "expected": {
        "decision": "DENY",
        "effect": "UNKNOWN"
      }
    },
    {
      "id": "D001-11",
      "version": "1.0.0",
      "title_es": "La operación queda fuera del alcance",
      "title_en": "Operation is out of scope",
      "inputs": {
        "grant": "present",
        "grant_at": 600,
        "revocation": "no",
        "revoked_at": 601,
        "attempt_at": 602,
        "order_known": true,
        "scope": "mismatch",
        "response": "202",
        "evidence": "none"
      },
      "expected": {
        "decision": "DENY",
        "effect": "UNKNOWN"
      }
    },
    {
      "id": "D001-12",
      "version": "1.0.0",
      "title_es": "Alcance sin determinar",
      "title_en": "Scope is unknown",
      "inputs": {
        "grant": "present",
        "grant_at": 600,
        "revocation": "no",
        "revoked_at": 601,
        "attempt_at": 602,
        "order_known": true,
        "scope": "unknown",
        "response": "202",
        "evidence": "none"
      },
      "expected": {
        "decision": "UNKNOWN",
        "effect": "UNKNOWN"
      }
    },
    {
      "id": "D001-14",
      "version": "1.0.0",
      "title_es": "Un 200 tampoco es el recibo final",
      "title_en": "A 200 is not the final receipt either",
      "inputs": {
        "grant": "present",
        "grant_at": 600,
        "revocation": "no",
        "revoked_at": 601,
        "attempt_at": 602,
        "order_known": true,
        "scope": "match",
        "response": "200",
        "evidence": "none"
      },
      "expected": {
        "decision": "ALLOW",
        "effect": "UNKNOWN"
      }
    },
    {
      "id": "D001-15",
      "version": "1.0.0",
      "title_es": "Error técnico sin prueba de ausencia",
      "title_en": "Technical error without proof of absence",
      "inputs": {
        "grant": "present",
        "grant_at": 600,
        "revocation": "no",
        "revoked_at": 601,
        "attempt_at": 602,
        "order_known": true,
        "scope": "match",
        "response": "500",
        "evidence": "none"
      },
      "expected": {
        "decision": "ALLOW",
        "effect": "UNKNOWN"
      }
    },
    {
      "id": "D001-16",
      "version": "1.0.0",
      "title_es": "Sin respuesta a tiempo",
      "title_en": "Timeout",
      "inputs": {
        "grant": "present",
        "grant_at": 600,
        "revocation": "no",
        "revoked_at": 601,
        "attempt_at": 602,
        "order_known": true,
        "scope": "match",
        "response": "timeout",
        "evidence": "none"
      },
      "expected": {
        "decision": "ALLOW",
        "effect": "UNKNOWN"
      }
    },
    {
      "id": "D001-17",
      "version": "1.0.0",
      "title_es": "Recibo final de ausencia de efecto",
      "title_en": "Final receipt of no effect",
      "inputs": {
        "grant": "present",
        "grant_at": 600,
        "revocation": "no",
        "revoked_at": 601,
        "attempt_at": 602,
        "order_known": true,
        "scope": "match",
        "response": "202",
        "evidence": "final_no_effect"
      },
      "expected": {
        "decision": "ALLOW",
        "effect": "NO_EFFECT_CONFIRMED"
      }
    },
    {
      "id": "D001-18",
      "version": "1.0.0",
      "title_es": "Recibo que no identifica esta operación",
      "title_en": "Receipt not bound to this operation",
      "inputs": {
        "grant": "present",
        "grant_at": 600,
        "revocation": "no",
        "revoked_at": 601,
        "attempt_at": 602,
        "order_known": true,
        "scope": "match",
        "response": "202",
        "evidence": "unbound"
      },
      "expected": {
        "decision": "ALLOW",
        "effect": "UNKNOWN"
      }
    }
  ]
}
