{
  "meta": {
    "patch_id": "",
    "patch_version": "",
    "change_request_id": "",
    "created_at": "",
    "created_by": "",
    "status": "proposed"
  },
  "context": {
    "plan_id": "",
    "plan_version_before": "",
    "plan_version_after": null,
    "source_bundle_hash": ""
  },
  "target": {
    "target_type": "file",
    "target_path": "",
    "target_encoding": "UTF-8"
  },
  "operation": {
    "operation": "replace"
  },
  "match": {
    "match_type": "exact_string",
    "search_pattern": "",
    "expected_match_count": 1,
    "allow_multiple_matches": false
  },
  "change": {
    "before_state": "",
    "after_state": "",
    "replace_content": "",
    "position": null
  },
  "validation": {
    "required_checks": [
      "target_exists",
      "encoding_valid",
      "match_count_valid",
      "operation_valid",
      "result_hash_valid"
    ],
    "fail_policy": "fail_closed"
  },
  "dry_run": {
    "dry_run_required": true,
    "dry_run_status": null,
    "diff_required": true,
    "risk_level": null
  },
  "commit": {
    "commit_allowed": false,
    "requires_passed_dry_run": true,
    "backup_required": true,
    "before_hash": null,
    "after_hash": null,
    "backup_path": null
  },
  "audit": {
    "audit_required": true,
    "audit_id": null,
    "audit_path": null,
    "executor": null,
    "result": null
  }
}