{
  "tool_id": "art-178-ifrs17-csm-rollforward-validator",
  "note": "golden_hash empty until first `node golden-parity.test.mjs --update`.",
  "vectors": [
    {
      "name": "valid-rollforward",
      "policy_parameters": {
        "csm": {
          "opening_csm": 1000,
          "new_business_csm": 200,
          "interest_accretion": 50,
          "experience_adjustments": -30,
          "release_to_profit": 100,
          "fx_adjustments": 0
        }
      },
      "output_payload": {
        "closing_csm": 1120,
        "opening_csm": 1000,
        "new_business_csm": 200,
        "interest_accretion": 50,
        "experience_adjustments": -30,
        "release_to_profit": 100,
        "fx_adjustments": 0,
        "onerous": false,
        "loss_component": 0,
        "csm_valid": true
      },
      "golden_hash": "059e2ac278a927771b15d84729aac87ee65a2b25ad7416d807ec698c4e41b387"
    },
    {
      "name": "onerous-contract",
      "policy_parameters": {
        "csm": {
          "opening_csm": 100,
          "new_business_csm": 0,
          "interest_accretion": 0,
          "experience_adjustments": -200,
          "release_to_profit": 0,
          "fx_adjustments": 0
        }
      },
      "output_payload": {
        "closing_csm": 0,
        "opening_csm": 100,
        "new_business_csm": 0,
        "interest_accretion": 0,
        "experience_adjustments": -200,
        "release_to_profit": 0,
        "fx_adjustments": 0,
        "onerous": true,
        "loss_component": 100,
        "csm_valid": false
      },
      "golden_hash": "4d88544eec1ae6c334666b7c55d994216774155d12f14432dfc6603144a150ac"
    },
    {
      "name": "empty-input",
      "policy_parameters": {},
      "output_payload": {
        "closing_csm": 0,
        "opening_csm": 0,
        "new_business_csm": 0,
        "interest_accretion": 0,
        "experience_adjustments": 0,
        "release_to_profit": 0,
        "fx_adjustments": 0,
        "onerous": false,
        "loss_component": 0,
        "csm_valid": true
      },
      "golden_hash": "e141af0b35aaa3891e4148fc96f39ed4d5ad4cf6cfcd4a77a4d7d873356aa867"
    }
  ]
}
