{
  "environment": {
    "platform": "Linux-6.18.57-x86_64-with-glibc2.41",
    "python": "3.13.5",
    "unicode_database": "15.1.0",
    "packages": {
      "pypdf": "5.9.0",
      "pdfplumber": "0.11.9",
      "pdfminer.six": "20251230",
      "Pillow": "12.3.0",
      "pypdfium2": "5.8.0",
      "reportlab": "4.4.9",
      "charset-normalizer": "3.4.7",
      "cryptography": "46.0.4",
      "cffi": "2.0.0",
      "pycparser": "3.0"
    }
  },
  "document": {
    "doc_id": "kb-equipment-policy",
    "doc_version": "pdf-fixture-v1",
    "source_file": "equipment_policy.pdf",
    "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
    "source_bytes": 23046,
    "cleaning_profile": "equipment-policy-fixture-v1",
    "source_aliases": {
      "upload-a": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
      "upload-b": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb"
    },
    "pdf_header": "%PDF-1.3",
    "has_structure_tree": false
  },
  "pages": [
    {
      "page_number": 1,
      "page_label": "Cover",
      "route": "text_layer",
      "chars": 241,
      "image_objects": 0,
      "text": "EQUIPMENT DESK | TRAINING FIXTURE\nReview checklist\nRead the left column first, then the right column.\nPrinted label Cover\nIntake\nRelease\nR2 Close the record.\nR1 Log the release.\nL2 Note the condition.\nL1 Record the item.\nInspect  seals before storage.\n",
      "raw_lines": [
        {
          "text": "EQUIPMENT DESK | TRAINING FIXTURE",
          "bbox": [
            52.0,
            22.863,
            225.034,
            31.863
          ]
        },
        {
          "text": "Review checklist",
          "bbox": [
            52.0,
            63.553999999999974,
            228.08800000000002,
            85.55399999999997
          ]
        },
        {
          "text": "Read the left column first, then the right column.",
          "bbox": [
            52.0,
            93.07,
            264.32000000000005,
            103.07
          ]
        },
        {
          "text": "IntakeRelease",
          "bbox": [
            54.0,
            132.48399999999998,
            315.36,
            144.484
          ]
        },
        {
          "text": "L1 Record the item.R1 Log the release.",
          "bbox": [
            54.0,
            161.277,
            365.997,
            172.277
          ]
        },
        {
          "text": "L2 Note the condition.R2 Close the record.",
          "bbox": [
            54.0,
            186.277,
            370.87,
            197.277
          ]
        },
        {
          "text": "Inspect  seals before storage.",
          "bbox": [
            52.0,
            271.277,
            196.29800000000006,
            282.277
          ]
        },
        {
          "text": "Printed label Cover",
          "bbox": [
            391.473,
            370.863,
            468.00000000000006,
            379.863
          ]
        }
      ],
      "ocr_attempted": false
    },
    {
      "page_number": 2,
      "page_label": "A-7",
      "route": "text_layer",
      "chars": 199,
      "image_objects": 0,
      "text": "EQUIPMENT DESK | TRAINING FIXTURE\nStorage schedule\nUse the location and duration from the same row.\nPrinted label A-7\nStorage location\nHold limit\nLocker A\n7 days\nLocker B\n12 days\nInspect  seals before storage.\n",
      "raw_lines": [
        {
          "text": "EQUIPMENT DESK | TRAINING FIXTURE",
          "bbox": [
            52.0,
            22.863,
            225.034,
            31.863
          ]
        },
        {
          "text": "Storage schedule",
          "bbox": [
            52.0,
            63.553999999999974,
            235.39200000000002,
            85.55399999999997
          ]
        },
        {
          "text": "Use the location and duration from the same row.",
          "bbox": [
            52.0,
            93.07,
            270.43000000000006,
            103.07
          ]
        },
        {
          "text": "Storage locationHold limit",
          "bbox": [
            63.0,
            155.484,
            345.67199999999997,
            167.484
          ]
        },
        {
          "text": "Locker A7 days",
          "bbox": [
            63.0,
            187.484,
            326.352,
            199.484
          ]
        },
        {
          "text": "Locker B12 days",
          "bbox": [
            63.0,
            219.484,
            333.024,
            231.484
          ]
        },
        {
          "text": "Inspect  seals before storage.",
          "bbox": [
            52.0,
            271.277,
            196.29800000000006,
            282.277
          ]
        },
        {
          "text": "Printed label A-7",
          "bbox": [
            401.472,
            370.863,
            468.0,
            379.863
          ]
        }
      ],
      "ocr_attempted": false
    },
    {
      "page_number": 3,
      "page_label": "A-8",
      "route": "ocr_candidate",
      "chars": 0,
      "image_objects": 1,
      "text": "",
      "raw_lines": [],
      "ocr_attempted": false
    }
  ],
  "page1_reading_order": {
    "author_declared": [
      "L1",
      "L2",
      "R1",
      "R2"
    ],
    "pypdf_plain": [
      "R2",
      "R1",
      "L2",
      "L1"
    ],
    "pypdf_layout_excerpt": [
      "L1 Record the item.                                R1 Log the release.",
      "L2 Note the condition.                             R2 Close the record."
    ],
    "pdfplumber_single_band": [
      "L1",
      "R1",
      "L2",
      "R2"
    ],
    "fixture_manual_columns": [
      "L1",
      "L2",
      "R1",
      "R2"
    ],
    "fixture_manual_column_boxes": [
      [
        52,
        154,
        240,
        206
      ],
      [
        255,
        154,
        468,
        206
      ]
    ]
  },
  "table": {
    "settings": {
      "vertical_strategy": "lines",
      "horizontal_strategy": "lines"
    },
    "table_source_span": {
      "doc_id": "kb-equipment-policy",
      "doc_version": "pdf-fixture-v1",
      "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
      "page_number": 2,
      "page_label": "A-7",
      "bbox": [
        52.0,
        144.0,
        468.0,
        240.0
      ],
      "coordinate_space": "pdfplumber-top-left-points",
      "page_size_pt": [
        520,
        400
      ],
      "rotation_deg": 0
    },
    "rows": [
      [
        "Storage location",
        "Hold limit"
      ],
      [
        "Locker A",
        "7 days"
      ],
      [
        "Locker B",
        "12 days"
      ]
    ],
    "target_cell_spans": [
      {
        "doc_id": "kb-equipment-policy",
        "doc_version": "pdf-fixture-v1",
        "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
        "page_number": 2,
        "page_label": "A-7",
        "bbox": [
          52.0,
          208.0,
          280.0,
          240.0
        ],
        "coordinate_space": "pdfplumber-top-left-points",
        "page_size_pt": [
          520,
          400
        ],
        "rotation_deg": 0,
        "row_index": 2,
        "column_index": 0
      },
      {
        "doc_id": "kb-equipment-policy",
        "doc_version": "pdf-fixture-v1",
        "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
        "page_number": 2,
        "page_label": "A-7",
        "bbox": [
          280.0,
          208.0,
          468.0,
          240.0
        ],
        "coordinate_space": "pdfplumber-top-left-points",
        "page_size_pt": [
          520,
          400
        ],
        "rotation_deg": 0,
        "row_index": 2,
        "column_index": 1
      }
    ],
    "restored_cells": [
      "Locker B",
      "12 days"
    ],
    "restored_headers": [
      "Storage location",
      "Hold limit"
    ],
    "other_revision": "source SHA-256 mismatch"
  },
  "cleaning_audit": [
    {
      "rule": "suppress_known_repeated_header",
      "raw_text": "EQUIPMENT DESK | TRAINING FIXTURE",
      "clean_text": null,
      "source_span": {
        "doc_id": "kb-equipment-policy",
        "doc_version": "pdf-fixture-v1",
        "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
        "page_number": 1,
        "page_label": "Cover",
        "bbox": [
          52.0,
          22.863,
          225.034,
          31.863
        ],
        "coordinate_space": "pdfplumber-top-left-points",
        "page_size_pt": [
          520,
          400
        ],
        "rotation_deg": 0
      }
    },
    {
      "rule": "normalize_prose_whitespace",
      "raw_text": "Inspect  seals before storage.",
      "clean_text": "Inspect seals before storage.",
      "source_span": {
        "doc_id": "kb-equipment-policy",
        "doc_version": "pdf-fixture-v1",
        "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
        "page_number": 1,
        "page_label": "Cover",
        "bbox": [
          52.0,
          271.277,
          196.29800000000006,
          282.277
        ],
        "coordinate_space": "pdfplumber-top-left-points",
        "page_size_pt": [
          520,
          400
        ],
        "rotation_deg": 0
      }
    },
    {
      "rule": "suppress_known_repeated_header",
      "raw_text": "EQUIPMENT DESK | TRAINING FIXTURE",
      "clean_text": null,
      "source_span": {
        "doc_id": "kb-equipment-policy",
        "doc_version": "pdf-fixture-v1",
        "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
        "page_number": 2,
        "page_label": "A-7",
        "bbox": [
          52.0,
          22.863,
          225.034,
          31.863
        ],
        "coordinate_space": "pdfplumber-top-left-points",
        "page_size_pt": [
          520,
          400
        ],
        "rotation_deg": 0
      }
    },
    {
      "rule": "normalize_prose_whitespace",
      "raw_text": "Inspect  seals before storage.",
      "clean_text": "Inspect seals before storage.",
      "source_span": {
        "doc_id": "kb-equipment-policy",
        "doc_version": "pdf-fixture-v1",
        "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
        "page_number": 2,
        "page_label": "A-7",
        "bbox": [
          52.0,
          271.277,
          196.29800000000006,
          282.277
        ],
        "coordinate_space": "pdfplumber-top-left-points",
        "page_size_pt": [
          520,
          400
        ],
        "rotation_deg": 0
      }
    }
  ],
  "structured_blocks": [
    {
      "kind": "heading",
      "text": "Review checklist",
      "source_spans": [
        {
          "doc_id": "kb-equipment-policy",
          "doc_version": "pdf-fixture-v1",
          "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
          "page_number": 1,
          "page_label": "Cover",
          "bbox": [
            52.0,
            63.553999999999974,
            228.08800000000002,
            85.55399999999997
          ],
          "coordinate_space": "pdfplumber-top-left-points",
          "page_size_pt": [
            520,
            400
          ],
          "rotation_deg": 0
        }
      ]
    },
    {
      "kind": "prose",
      "text": "L1 Record the item.",
      "source_spans": [
        {
          "doc_id": "kb-equipment-policy",
          "doc_version": "pdf-fixture-v1",
          "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
          "page_number": 1,
          "page_label": "Cover",
          "bbox": [
            54.0,
            161.277,
            149.986,
            172.277
          ],
          "coordinate_space": "pdfplumber-top-left-points",
          "page_size_pt": [
            520,
            400
          ],
          "rotation_deg": 0
        }
      ]
    },
    {
      "kind": "prose",
      "text": "L2 Note the condition.",
      "source_spans": [
        {
          "doc_id": "kb-equipment-policy",
          "doc_version": "pdf-fixture-v1",
          "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
          "page_number": 1,
          "page_label": "Cover",
          "bbox": [
            54.0,
            186.277,
            161.00799999999998,
            197.277
          ],
          "coordinate_space": "pdfplumber-top-left-points",
          "page_size_pt": [
            520,
            400
          ],
          "rotation_deg": 0
        }
      ]
    },
    {
      "kind": "prose",
      "text": "R1 Log the release.",
      "source_spans": [
        {
          "doc_id": "kb-equipment-policy",
          "doc_version": "pdf-fixture-v1",
          "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
          "page_number": 1,
          "page_label": "Cover",
          "bbox": [
            270.0,
            161.277,
            365.997,
            172.277
          ],
          "coordinate_space": "pdfplumber-top-left-points",
          "page_size_pt": [
            520,
            400
          ],
          "rotation_deg": 0
        }
      ]
    },
    {
      "kind": "prose",
      "text": "R2 Close the record.",
      "source_spans": [
        {
          "doc_id": "kb-equipment-policy",
          "doc_version": "pdf-fixture-v1",
          "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
          "page_number": 1,
          "page_label": "Cover",
          "bbox": [
            270.0,
            186.277,
            370.87,
            197.277
          ],
          "coordinate_space": "pdfplumber-top-left-points",
          "page_size_pt": [
            520,
            400
          ],
          "rotation_deg": 0
        }
      ]
    },
    {
      "kind": "prose",
      "text": "Inspect seals before storage.",
      "source_spans": [
        {
          "doc_id": "kb-equipment-policy",
          "doc_version": "pdf-fixture-v1",
          "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
          "page_number": 1,
          "page_label": "Cover",
          "bbox": [
            52.0,
            271.277,
            196.29800000000006,
            282.277
          ],
          "coordinate_space": "pdfplumber-top-left-points",
          "page_size_pt": [
            520,
            400
          ],
          "rotation_deg": 0
        }
      ]
    },
    {
      "kind": "heading",
      "text": "Storage schedule",
      "source_spans": [
        {
          "doc_id": "kb-equipment-policy",
          "doc_version": "pdf-fixture-v1",
          "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
          "page_number": 2,
          "page_label": "A-7",
          "bbox": [
            52.0,
            63.553999999999974,
            235.39200000000002,
            85.55399999999997
          ],
          "coordinate_space": "pdfplumber-top-left-points",
          "page_size_pt": [
            520,
            400
          ],
          "rotation_deg": 0
        }
      ]
    },
    {
      "kind": "table",
      "rows": [
        [
          "Storage location",
          "Hold limit"
        ],
        [
          "Locker A",
          "7 days"
        ],
        [
          "Locker B",
          "12 days"
        ]
      ],
      "cell_spans": [
        [
          {
            "doc_id": "kb-equipment-policy",
            "doc_version": "pdf-fixture-v1",
            "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
            "page_number": 2,
            "page_label": "A-7",
            "bbox": [
              52.0,
              144.0,
              280.0,
              176.0
            ],
            "coordinate_space": "pdfplumber-top-left-points",
            "page_size_pt": [
              520,
              400
            ],
            "rotation_deg": 0,
            "row_index": 0,
            "column_index": 0
          },
          {
            "doc_id": "kb-equipment-policy",
            "doc_version": "pdf-fixture-v1",
            "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
            "page_number": 2,
            "page_label": "A-7",
            "bbox": [
              280.0,
              144.0,
              468.0,
              176.0
            ],
            "coordinate_space": "pdfplumber-top-left-points",
            "page_size_pt": [
              520,
              400
            ],
            "rotation_deg": 0,
            "row_index": 0,
            "column_index": 1
          }
        ],
        [
          {
            "doc_id": "kb-equipment-policy",
            "doc_version": "pdf-fixture-v1",
            "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
            "page_number": 2,
            "page_label": "A-7",
            "bbox": [
              52.0,
              176.0,
              280.0,
              208.0
            ],
            "coordinate_space": "pdfplumber-top-left-points",
            "page_size_pt": [
              520,
              400
            ],
            "rotation_deg": 0,
            "row_index": 1,
            "column_index": 0
          },
          {
            "doc_id": "kb-equipment-policy",
            "doc_version": "pdf-fixture-v1",
            "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
            "page_number": 2,
            "page_label": "A-7",
            "bbox": [
              280.0,
              176.0,
              468.0,
              208.0
            ],
            "coordinate_space": "pdfplumber-top-left-points",
            "page_size_pt": [
              520,
              400
            ],
            "rotation_deg": 0,
            "row_index": 1,
            "column_index": 1
          }
        ],
        [
          {
            "doc_id": "kb-equipment-policy",
            "doc_version": "pdf-fixture-v1",
            "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
            "page_number": 2,
            "page_label": "A-7",
            "bbox": [
              52.0,
              208.0,
              280.0,
              240.0
            ],
            "coordinate_space": "pdfplumber-top-left-points",
            "page_size_pt": [
              520,
              400
            ],
            "rotation_deg": 0,
            "row_index": 2,
            "column_index": 0
          },
          {
            "doc_id": "kb-equipment-policy",
            "doc_version": "pdf-fixture-v1",
            "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
            "page_number": 2,
            "page_label": "A-7",
            "bbox": [
              280.0,
              208.0,
              468.0,
              240.0
            ],
            "coordinate_space": "pdfplumber-top-left-points",
            "page_size_pt": [
              520,
              400
            ],
            "rotation_deg": 0,
            "row_index": 2,
            "column_index": 1
          }
        ]
      ],
      "source_spans": [
        {
          "doc_id": "kb-equipment-policy",
          "doc_version": "pdf-fixture-v1",
          "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
          "page_number": 2,
          "page_label": "A-7",
          "bbox": [
            52.0,
            144.0,
            468.0,
            240.0
          ],
          "coordinate_space": "pdfplumber-top-left-points",
          "page_size_pt": [
            520,
            400
          ],
          "rotation_deg": 0
        }
      ]
    },
    {
      "kind": "prose",
      "text": "Inspect seals before storage.",
      "source_spans": [
        {
          "doc_id": "kb-equipment-policy",
          "doc_version": "pdf-fixture-v1",
          "source_sha256": "4f60163cc8f039c8c61fcc2a4a69367c036da35e85a77aa2f2bf7420edfa79fb",
          "page_number": 2,
          "page_label": "A-7",
          "bbox": [
            52.0,
            271.277,
            196.29800000000006,
            282.277
          ],
          "coordinate_space": "pdfplumber-top-left-points",
          "page_size_pt": [
            520,
            400
          ],
          "rotation_deg": 0
        }
      ]
    }
  ],
  "format_error": {
    "input": "empty byte stream",
    "state": "failed",
    "type": "EmptyFileError",
    "message": "Cannot read an empty file"
  },
  "normalization_only_example": {
    "input_cap_e_acute": "Café",
    "nfc": "Café",
    "compatibility_original": "①",
    "compatibility_after_nfc": "①",
    "compatibility_after_nfkc": "1"
  }
}
