{
  "tool_id": "art-601-dora-roi-gleif-preflight-pack",
  "note": "Golden vectors for compute(): clean pass with a closed attestation, a relationship violation with attestation still pending, a counterparty missing its GLEIF snapshot capture, a missing upstream dora_roi_artifact reference, and an empty counterparty set. All LEIs are synthetic (ISO 17442 mod-97 valid) test values, not real registry entries.",
  "vectors": [
    {
      "name": "clean-pass-two-counterparties-attested",
      "policy_parameters": {
        "dora_roi_artifact": {
          "execution_hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
          "tool_id": "art-466-dora-roi-builder"
        },
        "counterparties": [
          {
            "counterparty_id": "provider-1",
            "gleif_snapshot": {
              "lei": "5493001KJTIIGC8Y1R12",
              "lei_checksum_valid": true,
              "source_sha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "captured_at": "2026-08-17T00:00:00Z",
              "last_update_date": "2026-01-01",
              "snapshot_captured": true
            },
            "lei_relationship_check": {
              "subject_lei": "5493001KJTIIGC8Y1R12",
              "records_assessed": true,
              "consistent": true,
              "violation_count": 0
            }
          },
          {
            "counterparty_id": "provider-2",
            "gleif_snapshot": {
              "lei": "213800WSGIIZCXF1P572",
              "lei_checksum_valid": true,
              "source_sha256": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
              "captured_at": "2026-08-17T00:00:00Z",
              "last_update_date": "2026-02-01",
              "snapshot_captured": true
            },
            "lei_relationship_check": {
              "subject_lei": "213800WSGIIZCXF1P572",
              "records_assessed": true,
              "consistent": true,
              "violation_count": 0
            }
          }
        ],
        "attestation": {
          "name": "Jane Doe",
          "title": "Head of ICT Risk",
          "timestamp": "2026-08-17T12:00:00Z"
        }
      },
      "output_payload": {
        "scope_note": "Assembles evidence a firm compiles when preparing its own DORA RoI submission. Not a submission, not a filing, not a determination that a submission is complete or accurate, and not a statement that any regulator has reviewed or would accept this output.",
        "dora_roi_artifact_ref": {
          "execution_hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
          "tool_id": "art-466-dora-roi-builder",
          "linked": true
        },
        "counterparty_count": 2,
        "counterparties": [
          {
            "counterparty_id": "provider-1",
            "lei": "5493001KJTIIGC8Y1R12",
            "gleif_snapshot": {
              "snapshot_captured": true,
              "lei_checksum_valid": true,
              "source_sha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "captured_at": "2026-08-17T00:00:00Z",
              "last_update_date": "2026-01-01"
            },
            "lei_relationship_check": {
              "relationships_assessed": true,
              "relationship_consistent": true,
              "violation_count": 0
            },
            "snapshot_missing": false,
            "relationship_violation_present": false
          },
          {
            "counterparty_id": "provider-2",
            "lei": "213800WSGIIZCXF1P572",
            "gleif_snapshot": {
              "snapshot_captured": true,
              "lei_checksum_valid": true,
              "source_sha256": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
              "captured_at": "2026-08-17T00:00:00Z",
              "last_update_date": "2026-02-01"
            },
            "lei_relationship_check": {
              "relationships_assessed": true,
              "relationship_consistent": true,
              "violation_count": 0
            },
            "snapshot_missing": false,
            "relationship_violation_present": false
          }
        ],
        "rollup": {
          "all_snapshots_captured": true,
          "any_relationship_violation": false,
          "counterparties_missing_snapshot": [],
          "counterparties_with_violations": []
        },
        "attestation": {
          "status": "closed",
          "signer_name": "Jane Doe",
          "signer_title": "Head of ICT Risk",
          "signed_at": "2026-08-17T12:00:00Z"
        },
        "error": null
      },
      "golden_hash": "ec69fd8e9fea78953254e91a91f4c44974b1add037c0e3e0ba7e963212d18315"
    },
    {
      "name": "relationship-violation-attestation-pending",
      "policy_parameters": {
        "dora_roi_artifact": {
          "execution_hash": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
          "tool_id": "art-466-dora-roi-builder"
        },
        "counterparties": [
          {
            "counterparty_id": "provider-1",
            "gleif_snapshot": {
              "lei": "5493001KJTIIGC8Y1R12",
              "lei_checksum_valid": true,
              "source_sha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "captured_at": "2026-08-17T00:00:00Z",
              "last_update_date": "2026-01-01",
              "snapshot_captured": true
            },
            "lei_relationship_check": {
              "subject_lei": "5493001KJTIIGC8Y1R12",
              "records_assessed": true,
              "consistent": true,
              "violation_count": 0
            }
          },
          {
            "counterparty_id": "provider-2",
            "gleif_snapshot": {
              "lei": "213800WSGIIZCXF1P572",
              "lei_checksum_valid": true,
              "source_sha256": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
              "captured_at": "2026-08-17T00:00:00Z",
              "last_update_date": null,
              "snapshot_captured": true
            },
            "lei_relationship_check": {
              "subject_lei": "213800WSGIIZCXF1P572",
              "records_assessed": true,
              "consistent": false,
              "violation_count": 2
            }
          }
        ]
      },
      "output_payload": {
        "scope_note": "Assembles evidence a firm compiles when preparing its own DORA RoI submission. Not a submission, not a filing, not a determination that a submission is complete or accurate, and not a statement that any regulator has reviewed or would accept this output.",
        "dora_roi_artifact_ref": {
          "execution_hash": "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
          "tool_id": "art-466-dora-roi-builder",
          "linked": true
        },
        "counterparty_count": 2,
        "counterparties": [
          {
            "counterparty_id": "provider-1",
            "lei": "5493001KJTIIGC8Y1R12",
            "gleif_snapshot": {
              "snapshot_captured": true,
              "lei_checksum_valid": true,
              "source_sha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "captured_at": "2026-08-17T00:00:00Z",
              "last_update_date": "2026-01-01"
            },
            "lei_relationship_check": {
              "relationships_assessed": true,
              "relationship_consistent": true,
              "violation_count": 0
            },
            "snapshot_missing": false,
            "relationship_violation_present": false
          },
          {
            "counterparty_id": "provider-2",
            "lei": "213800WSGIIZCXF1P572",
            "gleif_snapshot": {
              "snapshot_captured": true,
              "lei_checksum_valid": true,
              "source_sha256": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
              "captured_at": "2026-08-17T00:00:00Z",
              "last_update_date": null
            },
            "lei_relationship_check": {
              "relationships_assessed": true,
              "relationship_consistent": false,
              "violation_count": 2
            },
            "snapshot_missing": false,
            "relationship_violation_present": true
          }
        ],
        "rollup": {
          "all_snapshots_captured": true,
          "any_relationship_violation": true,
          "counterparties_missing_snapshot": [],
          "counterparties_with_violations": [
            "provider-2"
          ]
        },
        "attestation": {
          "status": "pending_named_human_closure",
          "signer_name": null,
          "signer_title": null,
          "signed_at": null
        },
        "error": null
      },
      "golden_hash": "dfa72e1bfa5fa30deccd0e177cac65e97bb6d1a460e88e7b7fb8fe6a897b54d9"
    },
    {
      "name": "missing-snapshot-counterparty",
      "policy_parameters": {
        "dora_roi_artifact": {
          "execution_hash": "sha256:eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
          "tool_id": "art-466-dora-roi-builder"
        },
        "counterparties": [
          {
            "counterparty_id": "provider-3",
            "gleif_snapshot": {
              "lei": "9695006MSX1OYEK7CC85",
              "lei_checksum_valid": null,
              "source_sha256": null,
              "captured_at": null,
              "last_update_date": null,
              "snapshot_captured": false
            },
            "lei_relationship_check": {
              "subject_lei": "9695006MSX1OYEK7CC85",
              "records_assessed": false,
              "consistent": null,
              "violation_count": 0
            }
          }
        ],
        "attestation": {
          "name": "John Smith",
          "title": "Management Body Member",
          "timestamp": "2026-08-17T09:00:00Z"
        }
      },
      "output_payload": {
        "scope_note": "Assembles evidence a firm compiles when preparing its own DORA RoI submission. Not a submission, not a filing, not a determination that a submission is complete or accurate, and not a statement that any regulator has reviewed or would accept this output.",
        "dora_roi_artifact_ref": {
          "execution_hash": "sha256:eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
          "tool_id": "art-466-dora-roi-builder",
          "linked": true
        },
        "counterparty_count": 1,
        "counterparties": [
          {
            "counterparty_id": "provider-3",
            "lei": "9695006MSX1OYEK7CC85",
            "gleif_snapshot": {
              "snapshot_captured": false,
              "lei_checksum_valid": null,
              "source_sha256": null,
              "captured_at": null,
              "last_update_date": null
            },
            "lei_relationship_check": {
              "relationships_assessed": false,
              "relationship_consistent": null,
              "violation_count": 0
            },
            "snapshot_missing": true,
            "relationship_violation_present": false
          }
        ],
        "rollup": {
          "all_snapshots_captured": false,
          "any_relationship_violation": false,
          "counterparties_missing_snapshot": [
            "provider-3"
          ],
          "counterparties_with_violations": []
        },
        "attestation": {
          "status": "closed",
          "signer_name": "John Smith",
          "signer_title": "Management Body Member",
          "signed_at": "2026-08-17T09:00:00Z"
        },
        "error": null
      },
      "golden_hash": "142b39ce6ec350c9f0bcc49f34918492fedfbe0a11cb516504694d701b477427"
    },
    {
      "name": "no-upstream-artifact-reference",
      "policy_parameters": {
        "counterparties": [
          {
            "counterparty_id": "provider-1",
            "gleif_snapshot": {
              "lei": "5493001KJTIIGC8Y1R12",
              "lei_checksum_valid": true,
              "source_sha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
              "captured_at": "2026-08-17T00:00:00Z",
              "last_update_date": "2026-01-01",
              "snapshot_captured": true
            },
            "lei_relationship_check": {
              "subject_lei": "5493001KJTIIGC8Y1R12",
              "records_assessed": true,
              "consistent": true,
              "violation_count": 0
            }
          }
        ]
      },
      "output_payload": {
        "scope_note": "Assembles evidence a firm compiles when preparing its own DORA RoI submission. Not a submission, not a filing, not a determination that a submission is complete or accurate, and not a statement that any regulator has reviewed or would accept this output.",
        "dora_roi_artifact_ref": {
          "execution_hash": null,
          "tool_id": null,
          "linked": false
        },
        "counterparty_count": 1,
        "counterparties": [],
        "rollup": {
          "all_snapshots_captured": null,
          "any_relationship_violation": null
        },
        "attestation": {
          "status": "pending_named_human_closure",
          "signer_name": null,
          "signer_title": null,
          "signed_at": null
        },
        "error": "missing_dora_roi_artifact_reference"
      },
      "golden_hash": "68a72b8145f4873af7de5241e739ad076ee4af79c34133f27b62f4b03f3dc5db"
    },
    {
      "name": "no-counterparties-supplied",
      "policy_parameters": {
        "dora_roi_artifact": {
          "execution_hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
          "tool_id": "art-466-dora-roi-builder"
        },
        "counterparties": []
      },
      "output_payload": {
        "scope_note": "Assembles evidence a firm compiles when preparing its own DORA RoI submission. Not a submission, not a filing, not a determination that a submission is complete or accurate, and not a statement that any regulator has reviewed or would accept this output.",
        "dora_roi_artifact_ref": {
          "execution_hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
          "tool_id": "art-466-dora-roi-builder",
          "linked": true
        },
        "counterparty_count": 0,
        "counterparties": [],
        "rollup": {
          "all_snapshots_captured": null,
          "any_relationship_violation": null
        },
        "attestation": {
          "status": "pending_named_human_closure",
          "signer_name": null,
          "signer_title": null,
          "signed_at": null
        },
        "error": "no_counterparties_supplied"
      },
      "golden_hash": "238b96210f1f11631fb3a9194c713fcdb5427f1760e60053f845171e7077ae1f"
    }
  ]
}
