From 75f8c38c49efc0bb4836cc216c9bf50aa6bde456 Mon Sep 17 00:00:00 2001 From: Anderson Banihirwe <13301940+andersy005@users.noreply.github.com> Date: Thu, 5 Sep 2024 10:34:55 -0700 Subject: [PATCH] Refactor JSON mapping keys from "account", "beneficiary", and "note" to "retirement_account", "retirement_beneficiary", and "retirement_note". (#83) --- .../configs/credits-raw-columns-mapping.json | 96 +++++++++---------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/offsets_db_data/configs/credits-raw-columns-mapping.json b/offsets_db_data/configs/credits-raw-columns-mapping.json index 1b1c98c..d5a7d6c 100644 --- a/offsets_db_data/configs/credits-raw-columns-mapping.json +++ b/offsets_db_data/configs/credits-raw-columns-mapping.json @@ -1,130 +1,130 @@ { "american-carbon-registry": { "cancellations": { - "account": null, - "beneficiary": null, - "note": null, "project_id": "Project ID", "quantity": "Quantity of Credits", - "reason": null, + "retirement_account": null, + "retirement_beneficiary": null, + "retirement_note": null, + "retirement_reason": null, "transaction_date": "Status Effective (GMT)", "vintage": "Vintage" }, "issuances": { - "account": null, - "beneficiary": null, - "note": null, "project_id": "Project ID", "quantity": "Total Credits Issued", - "reason": null, + "retirement_account": null, + "retirement_beneficiary": null, + "retirement_note": null, + "retirement_reason": null, "transaction_date": "Date Issued (GMT)", "vintage": "Vintage" }, "retirements": { - "account": "Account Holder", - "beneficiary": null, - "note": "Purpose of Retirement", "project_id": "Project ID", "quantity": "Quantity of Credits", - "reason": "Retirement Reason", + "retirement_account": "Account Holder", + "retirement_beneficiary": null, + "retirement_note": "Purpose of Retirement", + "retirement_reason": "Retirement Reason", "transaction_date": "Status Effective (GMT)", "vintage": "Vintage" } }, "art-trees": { "cancellations": { - "account": null, - "beneficiary": null, - "note": null, "project_id": "Program ID", "quantity": "Quantity of Credits", - "reason": null, + "retirement_account": null, + "retirement_beneficiary": null, + "retirement_note": null, + "retirement_reason": null, "transaction_date": "Status Effective", "vintage": "Vintage" }, "issuances": { - "account": null, - "beneficiary": null, - "note": null, "project_id": "Program ID", "quantity": "Credits Verified", - "reason": null, + "retirement_account": null, + "retirement_beneficiary": null, + "retirement_note": null, + "retirement_reason": null, "transaction_date": "Date Approved", "vintage": "Vintage" }, "retirements": { - "account": "Account Holder", - "beneficiary": null, - "note": "Retirement Reason Details", "project_id": "Program ID", "quantity": "Quantity of Credits", - "reason": "Retirement Reason", + "retirement_account": "Account Holder", + "retirement_beneficiary": null, + "retirement_note": "Retirement Reason Details", + "retirement_reason": "Retirement Reason", "transaction_date": "Status Effective", "vintage": "Vintage" } }, "climate-action-reserve": { "cancellations": { - "account": null, - "beneficiary": null, - "note": null, "project_id": "Project ID", "quantity": "Quantity of Offset Credits", - "reason": null, + "retirement_account": null, + "retirement_beneficiary": null, + "retirement_note": null, + "retirement_reason": null, "transaction_date": "Status Effective", "vintage": "Vintage" }, "issuances": { - "account": null, - "beneficiary": null, - "note": null, "project_id": "Project ID", "quantity": "Total Offset Credits Issued", - "reason": null, + "retirement_account": null, + "retirement_beneficiary": null, + "retirement_note": null, + "retirement_reason": null, "transaction_date": "Date Issued", "vintage": "Vintage" }, "retirements": { - "account": "Account Holder", - "beneficiary": null, - "note": "Retirement Reason Details", "project_id": "Project ID", "quantity": "Quantity of Offset Credits", - "reason": "Retirement Reason", + "retirement_account": "Account Holder", + "retirement_beneficiary": null, + "retirement_note": "Retirement Reason Details", + "retirement_reason": "Retirement Reason", "transaction_date": "Status Effective", "vintage": "Vintage" } }, "gold-standard": { "issuances": { - "account": null, - "beneficiary": null, - "note": null, "project_id": "GSID", "quantity": "Quantity", - "reason": null, + "retirement_account": null, + "retirement_beneficiary": null, + "retirement_note": null, + "retirement_reason": null, "transaction_date": "Issuance Date", "vintage": "Vintage" }, "retirements": { - "account": null, - "beneficiary": "Using Entity", - "note": "Note", "project_id": "GSID", "quantity": "Quantity", - "reason": null, + "retirement_account": null, + "retirement_beneficiary": "Using Entity", + "retirement_note": "Note", + "retirement_reason": null, "transaction_date": "Retirement Date", "vintage": "Vintage" } }, "verra": { "transactions": { - "account": null, - "beneficiary": "Retirement Beneficiary", - "note": "Retirement Details", "project_id": null, "quantity": null, - "reason": "Retirement Reason", + "retirement_account": null, + "retirement_beneficiary": "Retirement Beneficiary", + "retirement_note": "Retirement Details", + "retirement_reason": "Retirement Reason", "transaction_date": null, "vintage": null }