{
  "tool_id": "art-193-metadata-sanitization-prover",
  "note": "golden_hash filled by `node golden-parity.test.mjs --update`.",
  "vectors": [
    {
      "name": "jpeg-sanitized",
      "policy_parameters": {
        "original_sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "sanitized_sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
        "file_type": "jpeg",
        "findings": [
          {
            "field": "GPSLatitude",
            "category": "gps",
            "action": "removed"
          },
          {
            "field": "GPSLongitude",
            "category": "gps",
            "action": "removed"
          },
          {
            "field": "Make",
            "category": "device",
            "action": "removed"
          },
          {
            "field": "UserComment",
            "category": "comment",
            "action": "removed"
          }
        ],
        "bytes_before": 204800,
        "bytes_after": 203100
      },
      "output_payload": {
        "sanitization_record": {
          "record_version": "1.0",
          "file_type": "jpeg",
          "original_sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
          "sanitized_sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
          "findings": [
            {
              "field": "GPSLatitude",
              "category": "gps",
              "action": "removed"
            },
            {
              "field": "GPSLongitude",
              "category": "gps",
              "action": "removed"
            },
            {
              "field": "Make",
              "category": "device",
              "action": "removed"
            },
            {
              "field": "UserComment",
              "category": "comment",
              "action": "removed"
            }
          ],
          "counts": {
            "total": 4,
            "removed": 4,
            "redacted": 0,
            "retained": 0
          },
          "bytes_before": 204800,
          "bytes_after": 203100,
          "verdict": "sanitized",
          "record_sha256": "d0e39cef2c4cc122a9e6a9cccef8e9f7ea20a43b2f627c2b6268984ece0d9b8f"
        },
        "residual_risks": [],
        "verdict": "sanitized"
      },
      "golden_hash": "cc64f181e3c7d4802566191aaccd276bf340c9f7021aa3683d20e788fb36998c"
    },
    {
      "name": "pdf-not-verifiable",
      "policy_parameters": {
        "original_sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "sanitized_sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
        "file_type": "pdf",
        "findings": [
          {
            "field": "Author",
            "category": "author",
            "action": "removed"
          }
        ]
      },
      "output_payload": {
        "sanitization_record": {
          "record_version": "1.0",
          "file_type": "pdf",
          "original_sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
          "sanitized_sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
          "findings": [
            {
              "field": "Author",
              "category": "author",
              "action": "removed"
            }
          ],
          "counts": {
            "total": 1,
            "removed": 1,
            "redacted": 0,
            "retained": 0
          },
          "bytes_before": null,
          "bytes_after": null,
          "verdict": "not_verifiable",
          "record_sha256": "23d2649e081b5d1a5eb6b8f56cff517e2cc23d57babb14021ff58f9f4eeaccbc"
        },
        "residual_risks": [
          "XMP packets and embedded-object metadata are not fully enumerable client-side for this file type"
        ],
        "verdict": "not_verifiable"
      },
      "golden_hash": "0756999f2dc06c159517cfb7ac98b8c4b43de46acaed8084fd56a6dd7769c022"
    },
    {
      "name": "empty-input",
      "policy_parameters": {},
      "output_payload": {
        "sanitization_record": {
          "record_version": "1.0",
          "file_type": "generic",
          "original_sha256": "",
          "sanitized_sha256": "",
          "findings": [],
          "counts": {
            "total": 0,
            "removed": 0,
            "redacted": 0,
            "retained": 0
          },
          "bytes_before": null,
          "bytes_after": null,
          "verdict": "sanitized",
          "record_sha256": "64977724eb788b7e2a33d8c14c1faae43d8ec069d2769c3249a6ffdb5fa6dd08"
        },
        "residual_risks": [],
        "verdict": "sanitized"
      },
      "golden_hash": "7a7ced38aec2ce62eea8ee4e9df69f6e8dce38d1e7f0217e531cb1fb35e4911f"
    }
  ]
}
