{
  "caseId": "BE-01",
  "version": "1.0.0",
  "verificationDate": "2026-11-03",
  "source": {
    "file": "base64-a-excel-referencia.txt",
    "path": "/ejemplos/base64-a-excel-referencia.txt",
    "encoding": "ASCII compatible with UTF-8",
    "bytes": 9236,
    "characters": 9236,
    "sha256": "78321392eaef400a6d27df43641186571de10276f0db41a7ff416e2c451382ef",
    "hasBom": false,
    "hasWhitespace": false
  },
  "output": {
    "file": "base64-a-excel-caso.xlsx",
    "path": "/ejemplos/base64-a-excel-caso.xlsx",
    "downloadName": "libro-base64.xlsx",
    "mediaType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
    "bytes": 6927,
    "sha256": "04fead2d815af1c655117126f37b09ef609219470cd218b43f7b0482d37959ee",
    "signatureHex": "504b0304"
  },
  "workbook": {
    "sheets": [
      {
        "name": "Inventario",
        "visible": true,
        "range": "A1:D4"
      },
      {
        "name": "Resumen",
        "visible": true,
        "range": "A1:B4"
      }
    ],
    "expected": {
      "unicode": [
        "Cuaderno – edición Ñ",
        "Bolígrafo azul",
        "Carpeta José"
      ],
      "integers": [
        3,
        10,
        4
      ],
      "decimals": [
        2.5,
        0.8,
        5.25
      ],
      "dates": [
        "2026-10-15",
        "2026-10-16",
        "2026-10-17"
      ],
      "formulas": {
        "Resumen!B2": {
          "formula": "SUM(Inventario!B2:B4)",
          "cachedValue": 17
        },
        "Resumen!B3": {
          "formula": "SUMPRODUCT(Inventario!B2:B4,Inventario!C2:C4)",
          "cachedValue": 36.5
        }
      }
    }
  },
  "limits": {
    "rawTextMiB": 14,
    "decodedMiB": 10,
    "previewRows": 1000,
    "previewColumns": 100
  },
  "identityPolicy": {
    "comparison": "byte-for-byte",
    "assertion": "SHA-256(decoded Base64) equals SHA-256(canonical XLSX)"
  },
  "automaticChecks": [
    "fixture and reference size plus SHA-256",
    "Base64 round trip",
    "ZIP/XLSX package parts",
    "sheet names and ranges",
    "Unicode, numbers, dates and cached formulas",
    "download byte identity"
  ],
  "manualChecks": [
    "voluntary loading without automatic conversion",
    "Worker and SheetJS load",
    "accessible cancellation and focus",
    "two-sheet preview",
    "physical download SHA-256",
    "result invalidation after editing"
  ],
  "validationScope": "Functional XLSX readability and deterministic identity; not antivirus, macro analysis, ZIP-bomb certification, or exhaustive document security analysis."
}
