@carrot-foundation/schemas 0.1.49 → 0.1.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +213 -229
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +176 -168
- package/dist/index.d.ts +176 -168
- package/dist/index.js +208 -228
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/schemas/ipfs/collection/collection.example.json +5 -5
- package/schemas/ipfs/collection/collection.schema.json +2 -2
- package/schemas/ipfs/credit/credit.example.json +5 -5
- package/schemas/ipfs/credit/credit.schema.json +2 -2
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.example.json +8 -8
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json +6 -17
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.example.json +7 -7
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json +5 -16
- package/schemas/ipfs/gas-id/gas-id.example.json +17 -15
- package/schemas/ipfs/gas-id/gas-id.schema.json +29 -17
- package/schemas/ipfs/mass-id/mass-id.example.json +13 -13
- package/schemas/ipfs/mass-id/mass-id.schema.json +31 -62
- package/schemas/ipfs/mass-id-audit/mass-id-audit.example.json +150 -150
- package/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json +2 -2
- package/schemas/ipfs/methodology/methodology.example.json +89 -89
- package/schemas/ipfs/methodology/methodology.schema.json +2 -2
- package/schemas/ipfs/recycled-id/recycled-id.example.json +17 -15
- package/schemas/ipfs/recycled-id/recycled-id.schema.json +24 -13
- package/schemas/schema-hashes.json +10 -10
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.50/schemas/ipfs/collection/collection.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "6f17d343a85dc52a2a1313f4979a06f72f3ae720ccf77a3e332f11871940e779",
|
|
5
5
|
"type": "Collection",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.50",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm/collection.schema.json"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"created_at": "2024-12-05T14:30:00.000Z",
|
|
15
15
|
"external_id": "8f2c3445-ef89-4de7-8d95-7c814d5c8af9",
|
|
16
16
|
"external_url": "https://explore.carrot.eco/collection/bold-cold-start-carazinho",
|
|
17
|
-
"original_content_hash": "
|
|
18
|
-
"content_hash": "
|
|
17
|
+
"original_content_hash": "2ff0a2b598bbba42ebbe2188bc0dd2c3de3034213044b1b846ca1af055e3f161",
|
|
18
|
+
"content_hash": "2ff0a2b598bbba42ebbe2188bc0dd2c3de3034213044b1b846ca1af055e3f161",
|
|
19
19
|
"name": "BOLD Cold Start - Carazinho",
|
|
20
20
|
"slug": "bold-cold-start-carazinho",
|
|
21
21
|
"image": "ipfs://bafybeihdwdcefgh4dqkjv67uzcmw7ojee6xedzdetojuzjevtenxquvyku/bold-cold-start-carazinho-icon.png",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "Collection IPFS Record",
|
|
4
4
|
"description": "Collection metadata stored in IPFS, extending the base schema with collection-specific fields used to group and organize credit purchases and retirements in Carrot's ecosystem",
|
|
5
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
6
|
-
"version": "0.1.
|
|
5
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.51/schemas/ipfs/collection/collection.schema.json",
|
|
6
|
+
"version": "0.1.51",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
9
|
"$schema": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.50/schemas/ipfs/credit/credit.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "b8724ef9a1a15dd665502513d2b41720b2a267f95fd24edd3253f9cb1441c08f",
|
|
5
5
|
"type": "Credit",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.50",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm/credit.schema.json"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"created_at": "2024-12-05T14:30:00.000Z",
|
|
15
15
|
"external_id": "8f2c3445-ef89-4de7-8d95-7c814d5c8af9",
|
|
16
16
|
"external_url": "https://explore.carrot.eco/credit/carrot-carbon",
|
|
17
|
-
"original_content_hash": "
|
|
18
|
-
"content_hash": "
|
|
17
|
+
"original_content_hash": "8e5372d7a53d8d686126ad395c6c3bd3cecaeb9c34dec26d0df1b3abb4938d27",
|
|
18
|
+
"content_hash": "8e5372d7a53d8d686126ad395c6c3bd3cecaeb9c34dec26d0df1b3abb4938d27",
|
|
19
19
|
"symbol": "C-CARB.CH4",
|
|
20
20
|
"slug": "carbon-methane",
|
|
21
21
|
"name": "Carrot Carbon (CH₄)",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "Credit IPFS Record",
|
|
4
4
|
"description": "Credit token metadata stored in IPFS, extending the base schema with ERC20-specific details",
|
|
5
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
6
|
-
"version": "0.1.
|
|
5
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.51/schemas/ipfs/credit/credit.schema.json",
|
|
6
|
+
"version": "0.1.51",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
9
|
"$schema": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.50/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "5c89035c43d5d4f8c0a5408b928b734fbd3acfe60f4659b90baa69de37fa74bd",
|
|
5
5
|
"type": "CreditPurchaseReceipt",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.50",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm/credit-purchase-receipt.schema.json"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
"network_name": "Polygon",
|
|
18
18
|
"token_id": "987"
|
|
19
19
|
},
|
|
20
|
+
"created_at": "2025-02-03T12:45:30.000Z",
|
|
21
|
+
"external_id": "f1a2b3c4-d5e6-4789-9012-34567890abcd",
|
|
22
|
+
"external_url": "https://explore.carrot.eco/document/f1a2b3c4-d5e6-4789-9012-34567890abcd",
|
|
23
|
+
"original_content_hash": "03897875550ec4db17a81706db8421ea546dccb00ba78f1f1573ccca3715d1f9",
|
|
24
|
+
"content_hash": "03897875550ec4db17a81706db8421ea546dccb00ba78f1f1573ccca3715d1f9",
|
|
20
25
|
"viewer_reference": {
|
|
21
26
|
"ipfs_cid": "bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
|
|
22
27
|
"integrity_hash": "87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
23
28
|
},
|
|
24
|
-
"created_at": "2025-02-03T12:45:30.000Z",
|
|
25
|
-
"external_id": "f1a2b3c4-d5e6-4789-9012-34567890abcd",
|
|
26
|
-
"external_url": "https://explore.carrot.eco/document/f1a2b3c4-d5e6-4789-9012-34567890abcd",
|
|
27
|
-
"original_content_hash": "0e983a5f7b1db810e4f2b0f7c8132733d689529753bfb57b7f3a07d4cd089afc",
|
|
28
|
-
"content_hash": "0e983a5f7b1db810e4f2b0f7c8132733d689529753bfb57b7f3a07d4cd089afc",
|
|
29
29
|
"name": "Credit Purchase Receipt #987 • 8.5 Credits Purchased",
|
|
30
30
|
"short_name": "Credit Purchase Receipt #987",
|
|
31
31
|
"description": "Receipt for purchasing 8.5 credits (C-CARB.CH4 and C-BIOW) across 3 certificates, with 3.0 credits retired immediately on behalf of Climate Action Corp. Credits delivered to EcoTech Solutions Inc.",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "CreditPurchaseReceipt NFT IPFS Record",
|
|
4
4
|
"description": "Complete CreditPurchaseReceipt NFT IPFS record including attributes and credit purchase data",
|
|
5
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
6
|
-
"version": "0.1.
|
|
5
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.51/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json",
|
|
6
|
+
"version": "0.1.51",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
9
|
"$schema": {
|
|
@@ -1460,7 +1460,7 @@
|
|
|
1460
1460
|
},
|
|
1461
1461
|
{
|
|
1462
1462
|
"title": "Total Credits Purchased Attribute",
|
|
1463
|
-
"description": "
|
|
1463
|
+
"description": "Total number of credits purchased across all tokens attribute with numeric display",
|
|
1464
1464
|
"type": "object",
|
|
1465
1465
|
"properties": {
|
|
1466
1466
|
"trait_type": {
|
|
@@ -1503,7 +1503,7 @@
|
|
|
1503
1503
|
},
|
|
1504
1504
|
{
|
|
1505
1505
|
"title": "Total USDC Amount Attribute",
|
|
1506
|
-
"description": "
|
|
1506
|
+
"description": "Total USDC amount paid for the purchase attribute with numeric display",
|
|
1507
1507
|
"type": "object",
|
|
1508
1508
|
"properties": {
|
|
1509
1509
|
"trait_type": {
|
|
@@ -1546,7 +1546,7 @@
|
|
|
1546
1546
|
},
|
|
1547
1547
|
{
|
|
1548
1548
|
"title": "Purchase Date Attribute",
|
|
1549
|
-
"description": "
|
|
1549
|
+
"description": "Unix timestamp in milliseconds when the purchase was completed attribute",
|
|
1550
1550
|
"type": "object",
|
|
1551
1551
|
"properties": {
|
|
1552
1552
|
"trait_type": {
|
|
@@ -1566,17 +1566,6 @@
|
|
|
1566
1566
|
"display_type": {
|
|
1567
1567
|
"type": "string",
|
|
1568
1568
|
"const": "date"
|
|
1569
|
-
},
|
|
1570
|
-
"max_value": {
|
|
1571
|
-
"title": "Max Value",
|
|
1572
|
-
"description": "Maximum possible value for numeric traits",
|
|
1573
|
-
"examples": [
|
|
1574
|
-
0,
|
|
1575
|
-
45.2,
|
|
1576
|
-
72.5
|
|
1577
|
-
],
|
|
1578
|
-
"type": "number",
|
|
1579
|
-
"minimum": 0
|
|
1580
1569
|
}
|
|
1581
1570
|
},
|
|
1582
1571
|
"required": [
|
|
@@ -1588,7 +1577,7 @@
|
|
|
1588
1577
|
},
|
|
1589
1578
|
{
|
|
1590
1579
|
"title": "Certificates Purchased Attribute",
|
|
1591
|
-
"description": "
|
|
1580
|
+
"description": "Total number of certificates purchased attribute with numeric display",
|
|
1592
1581
|
"type": "object",
|
|
1593
1582
|
"properties": {
|
|
1594
1583
|
"trait_type": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.50/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "bcebfb3c05eb1c941c7d05f619212dca98481f09de4a13f8cc5db3872da0814d",
|
|
5
5
|
"type": "CreditRetirementReceipt",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.50",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm/credit-retirement-receipt.schema.json"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"network_name": "Polygon",
|
|
18
18
|
"token_id": "1245"
|
|
19
19
|
},
|
|
20
|
+
"created_at": "2025-01-20T14:45:30.000Z",
|
|
21
|
+
"external_id": "b2c3d4e5-f6a7-4c89-8a01-234567890abc",
|
|
22
|
+
"external_url": "https://explore.carrot.eco/document/b2c3d4e5-f6a7-4c89-8a01-234567890abc",
|
|
23
|
+
"content_hash": "a8061baf4a2fc10d479ac42f746ef6c8b8063a6b92aaecd544fcdb7cc0346cb6",
|
|
20
24
|
"viewer_reference": {
|
|
21
25
|
"ipfs_cid": "bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
|
|
22
26
|
"integrity_hash": "87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
23
27
|
},
|
|
24
|
-
"created_at": "2025-01-20T14:45:30.000Z",
|
|
25
|
-
"external_id": "b2c3d4e5-f6a7-4c89-8a01-234567890abc",
|
|
26
|
-
"external_url": "https://explore.carrot.eco/document/b2c3d4e5-f6a7-4c89-8a01-234567890abc",
|
|
27
|
-
"content_hash": "66c5ce76cbaa3a4968e3080a000deb353b7c76f68a28fc3a4f4c468083589e3b",
|
|
28
28
|
"name": "Credit Retirement Receipt #1245 • 10.5 Credits Retired",
|
|
29
29
|
"short_name": "Credit Retirement Receipt #1245",
|
|
30
30
|
"description": "Permanent proof of credit retirement: 10.5 credits (C-CARB.CH4 and C-BIOW) retired by EcoTech Solutions Inc. on behalf of beneficiary Climate Action Corp, from 3 certificates across 2 collections.",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "CreditRetirementReceipt NFT IPFS Record",
|
|
4
4
|
"description": "Complete CreditRetirementReceipt NFT IPFS record including attributes and credit retirement data",
|
|
5
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
6
|
-
"version": "0.1.
|
|
5
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.51/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json",
|
|
6
|
+
"version": "0.1.51",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
9
|
"$schema": {
|
|
@@ -1363,7 +1363,7 @@
|
|
|
1363
1363
|
},
|
|
1364
1364
|
{
|
|
1365
1365
|
"title": "Total Credits Retired Attribute",
|
|
1366
|
-
"description": "
|
|
1366
|
+
"description": "Total number of credits retired across all tokens attribute with numeric display",
|
|
1367
1367
|
"type": "object",
|
|
1368
1368
|
"properties": {
|
|
1369
1369
|
"trait_type": {
|
|
@@ -1502,7 +1502,7 @@
|
|
|
1502
1502
|
},
|
|
1503
1503
|
{
|
|
1504
1504
|
"title": "Retirement Date Attribute",
|
|
1505
|
-
"description": "
|
|
1505
|
+
"description": "Unix timestamp in milliseconds when the retirement was completed attribute",
|
|
1506
1506
|
"type": "object",
|
|
1507
1507
|
"properties": {
|
|
1508
1508
|
"trait_type": {
|
|
@@ -1522,17 +1522,6 @@
|
|
|
1522
1522
|
"display_type": {
|
|
1523
1523
|
"type": "string",
|
|
1524
1524
|
"const": "date"
|
|
1525
|
-
},
|
|
1526
|
-
"max_value": {
|
|
1527
|
-
"title": "Max Value",
|
|
1528
|
-
"description": "Maximum possible value for numeric traits",
|
|
1529
|
-
"examples": [
|
|
1530
|
-
0,
|
|
1531
|
-
45.2,
|
|
1532
|
-
72.5
|
|
1533
|
-
],
|
|
1534
|
-
"type": "number",
|
|
1535
|
-
"minimum": 0
|
|
1536
1525
|
}
|
|
1537
1526
|
},
|
|
1538
1527
|
"required": [
|
|
@@ -1544,7 +1533,7 @@
|
|
|
1544
1533
|
},
|
|
1545
1534
|
{
|
|
1546
1535
|
"title": "Certificates Retired Attribute",
|
|
1547
|
-
"description": "
|
|
1536
|
+
"description": "Total number of certificates retired attribute with numeric display",
|
|
1548
1537
|
"type": "object",
|
|
1549
1538
|
"properties": {
|
|
1550
1539
|
"trait_type": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.50/schemas/ipfs/gas-id/gas-id.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "17fddaeb7257d3ec37c5be78a6ac9e9d20b1e8bc5c4f0a3f5dff1852f4bd2a38",
|
|
5
5
|
"type": "GasID",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.50",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm/gas-id.schema.json"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
"network_name": "Polygon",
|
|
18
18
|
"token_id": "456"
|
|
19
19
|
},
|
|
20
|
+
"created_at": "2025-06-24T13:02:25.000Z",
|
|
21
|
+
"external_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
|
|
22
|
+
"external_url": "https://explore.carrot.eco/document/f47ac10b-58cc-4372-a567-0e02b2c3d479",
|
|
23
|
+
"original_content_hash": "28b0fad4da88ae01236dc6276cf2f259c5149d7a8b7cf248260073d96960043e",
|
|
24
|
+
"content_hash": "28b0fad4da88ae01236dc6276cf2f259c5149d7a8b7cf248260073d96960043e",
|
|
20
25
|
"viewer_reference": {
|
|
21
26
|
"ipfs_cid": "bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
|
|
22
27
|
"integrity_hash": "87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
23
28
|
},
|
|
24
|
-
"created_at": "2025-06-24T13:02:25.000Z",
|
|
25
|
-
"external_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
|
|
26
|
-
"external_url": "https://explore.carrot.eco/document/f47ac10b-58cc-4372-a567-0e02b2c3d479",
|
|
27
|
-
"original_content_hash": "0dd930f3613d267d526393b0c6a75fcd764222094a3bcc3f2e68e7bd23684466",
|
|
28
|
-
"content_hash": "0dd930f3613d267d526393b0c6a75fcd764222094a3bcc3f2e68e7bd23684466",
|
|
29
29
|
"name": "GasID #456 • BOLD Carbon (CH₄) • 2.09t CO₂e",
|
|
30
30
|
"short_name": "GasID #456",
|
|
31
31
|
"description": "This GasID certifies 2.09 metric tons of CO₂e emissions prevented through BOLD Carbon (CH₄) methodology composting of 3 metric tons of organic waste from Macapá, Brazil.",
|
|
@@ -89,10 +89,6 @@
|
|
|
89
89
|
"trait_type": "Origin City",
|
|
90
90
|
"value": "Macapá"
|
|
91
91
|
},
|
|
92
|
-
{
|
|
93
|
-
"trait_type": "Recycler",
|
|
94
|
-
"value": "Eco Reciclagem"
|
|
95
|
-
},
|
|
96
92
|
{
|
|
97
93
|
"trait_type": "MassID",
|
|
98
94
|
"value": "#123"
|
|
@@ -101,6 +97,11 @@
|
|
|
101
97
|
"trait_type": "MassID Recycling Date",
|
|
102
98
|
"value": 1740182400000,
|
|
103
99
|
"display_type": "date"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"trait_type": "Certificate Issuance Date",
|
|
103
|
+
"value": 1740182400000,
|
|
104
|
+
"display_type": "date"
|
|
104
105
|
}
|
|
105
106
|
],
|
|
106
107
|
"data": {
|
|
@@ -108,7 +109,8 @@
|
|
|
108
109
|
"gas_type": "Methane (CH₄)",
|
|
109
110
|
"credit_type": "Carbon (CH₄)",
|
|
110
111
|
"credit_amount": 0.85615,
|
|
111
|
-
"prevented_co2e_kg": 856.15012
|
|
112
|
+
"prevented_co2e_kg": 856.15012,
|
|
113
|
+
"issued_at": "2025-06-24T13:02:25.000Z"
|
|
112
114
|
},
|
|
113
115
|
"methodology": {
|
|
114
116
|
"external_id": "f47ac10b-58cc-4372-a567-0e02b2c3d480",
|
|
@@ -131,8 +133,8 @@
|
|
|
131
133
|
"external_url": "https://explore.carrot.eco/document/6f520d88-864d-432d-bf9f-5c3166c4818f",
|
|
132
134
|
"ipfs_uri": "ipfs://bafybeibwzifubdt5epaz43pj4gk7t2r4e6uah6vuvtbtmq5r2mwyrc6yha/mass-id.json"
|
|
133
135
|
},
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
+
"waste_properties": {
|
|
137
|
+
"type": "Organic",
|
|
136
138
|
"subtype": "Food, Food Waste and Beverages",
|
|
137
139
|
"net_weight_kg": 3000
|
|
138
140
|
},
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "GasID NFT IPFS Record",
|
|
4
4
|
"description": "Complete GasID NFT IPFS record including fixed attributes and detailed carbon emissions prevention data",
|
|
5
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
6
|
-
"version": "0.1.
|
|
5
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.51/schemas/ipfs/gas-id/gas-id.schema.json",
|
|
6
|
+
"version": "0.1.51",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
9
|
"$schema": {
|
|
@@ -199,11 +199,12 @@
|
|
|
199
199
|
"title": "Gas Type",
|
|
200
200
|
"description": "Type of gas prevented",
|
|
201
201
|
"examples": [
|
|
202
|
-
"Methane (CH₄)"
|
|
203
|
-
"Carbon Dioxide (CO₂)"
|
|
202
|
+
"Methane (CH₄)"
|
|
204
203
|
],
|
|
205
204
|
"type": "string",
|
|
206
|
-
"
|
|
205
|
+
"enum": [
|
|
206
|
+
"Methane (CH₄)"
|
|
207
|
+
]
|
|
207
208
|
},
|
|
208
209
|
"credit_type": {
|
|
209
210
|
"title": "Credit Type",
|
|
@@ -230,21 +231,32 @@
|
|
|
230
231
|
"minimum": 0
|
|
231
232
|
},
|
|
232
233
|
"prevented_co2e_kg": {
|
|
233
|
-
"title": "Prevented Emissions (CO₂e
|
|
234
|
-
"description": "CO₂e weight of the prevented emissions",
|
|
234
|
+
"title": "Prevented Emissions (CO₂e)",
|
|
235
|
+
"description": "CO₂e weight of the prevented emissions in kilograms (kg)",
|
|
235
236
|
"examples": [
|
|
236
237
|
500.35,
|
|
237
238
|
3000
|
|
238
239
|
],
|
|
239
240
|
"type": "number",
|
|
240
241
|
"minimum": 0
|
|
242
|
+
},
|
|
243
|
+
"issued_at": {
|
|
244
|
+
"title": "Issued At",
|
|
245
|
+
"description": "ISO 8601 timestamp when the certificate was issued",
|
|
246
|
+
"examples": [
|
|
247
|
+
"2024-12-05T11:02:47.000Z"
|
|
248
|
+
],
|
|
249
|
+
"type": "string",
|
|
250
|
+
"format": "date-time",
|
|
251
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
241
252
|
}
|
|
242
253
|
},
|
|
243
254
|
"required": [
|
|
244
255
|
"gas_type",
|
|
245
256
|
"credit_type",
|
|
246
257
|
"credit_amount",
|
|
247
|
-
"prevented_co2e_kg"
|
|
258
|
+
"prevented_co2e_kg",
|
|
259
|
+
"issued_at"
|
|
248
260
|
],
|
|
249
261
|
"additionalProperties": false
|
|
250
262
|
},
|
|
@@ -457,14 +469,14 @@
|
|
|
457
469
|
],
|
|
458
470
|
"additionalProperties": false
|
|
459
471
|
},
|
|
460
|
-
"
|
|
461
|
-
"title": "Waste
|
|
462
|
-
"description": "
|
|
472
|
+
"waste_properties": {
|
|
473
|
+
"title": "Waste Properties",
|
|
474
|
+
"description": "Properties of the source waste (MassID)",
|
|
463
475
|
"type": "object",
|
|
464
476
|
"properties": {
|
|
465
|
-
"
|
|
466
|
-
"title": "Source Waste
|
|
467
|
-
"description": "
|
|
477
|
+
"type": {
|
|
478
|
+
"title": "Source Waste Type",
|
|
479
|
+
"description": "Type of the source waste",
|
|
468
480
|
"examples": [
|
|
469
481
|
"Organic"
|
|
470
482
|
],
|
|
@@ -493,7 +505,7 @@
|
|
|
493
505
|
},
|
|
494
506
|
"net_weight_kg": {
|
|
495
507
|
"title": "Source Waste Net Weight",
|
|
496
|
-
"description": "Net weight of the source waste",
|
|
508
|
+
"description": "Net weight of the source waste in kilograms (kg)",
|
|
497
509
|
"examples": [
|
|
498
510
|
500.35,
|
|
499
511
|
3000
|
|
@@ -503,7 +515,7 @@
|
|
|
503
515
|
}
|
|
504
516
|
},
|
|
505
517
|
"required": [
|
|
506
|
-
"
|
|
518
|
+
"type",
|
|
507
519
|
"subtype",
|
|
508
520
|
"net_weight_kg"
|
|
509
521
|
],
|
|
@@ -937,7 +949,7 @@
|
|
|
937
949
|
"methodology",
|
|
938
950
|
"audit",
|
|
939
951
|
"mass_id",
|
|
940
|
-
"
|
|
952
|
+
"waste_properties",
|
|
941
953
|
"origin_location",
|
|
942
954
|
"prevented_emissions_calculation",
|
|
943
955
|
"accredited_participants"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.50/schemas/ipfs/mass-id/mass-id.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "cf4c3dba2baf4ac98199735c9aaf46a0a0c905b9a11abc0d2532c893596b20e0",
|
|
5
5
|
"type": "MassID",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.50",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm/mass-id.schema.json"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
"display_type": "date"
|
|
105
105
|
}
|
|
106
106
|
],
|
|
107
|
-
"original_content_hash": "
|
|
108
|
-
"content_hash": "
|
|
107
|
+
"original_content_hash": "0796dbd322b89300a84aaed3de6ca4c0b7e5abcf4ca452f532c03b2691eb199f",
|
|
108
|
+
"content_hash": "0796dbd322b89300a84aaed3de6ca4c0b7e5abcf4ca452f532c03b2691eb199f",
|
|
109
109
|
"data": {
|
|
110
110
|
"waste_properties": {
|
|
111
111
|
"type": "Organic",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"code": "04 02 20",
|
|
115
115
|
"system": "Ibama"
|
|
116
116
|
},
|
|
117
|
-
"
|
|
117
|
+
"net_weight_kg": 3000
|
|
118
118
|
},
|
|
119
119
|
"locations": [
|
|
120
120
|
{
|
|
@@ -163,8 +163,8 @@
|
|
|
163
163
|
"participant_id_hash": "a1b2c3d4e5f6789012345678901234567890abcdefabcdefabcdefabcdefabcd",
|
|
164
164
|
"location_id_hash": "87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489",
|
|
165
165
|
"data": {
|
|
166
|
-
"
|
|
167
|
-
"
|
|
166
|
+
"vehicle_type": "Truck",
|
|
167
|
+
"weight_kg": 3000
|
|
168
168
|
}
|
|
169
169
|
},
|
|
170
170
|
{
|
|
@@ -178,9 +178,9 @@
|
|
|
178
178
|
"scale_type": "Weighbridge (Truck Scale)",
|
|
179
179
|
"container_type": "Truck",
|
|
180
180
|
"vehicle_type": "Truck",
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
181
|
+
"container_capacity_kg": 12000,
|
|
182
|
+
"gross_weight_kg": 9500,
|
|
183
|
+
"tare_kg": 3500
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
186
|
{
|
|
@@ -197,8 +197,8 @@
|
|
|
197
197
|
"participant_id_hash": "b2c3d4e5f6789012345678901234567890abcdefabcdefabcdefabcdefabcdef",
|
|
198
198
|
"location_id_hash": "6e83b8e6373847bbdc056549bedda38dc88854ce41ba4fca11e0fc6ce3e07ef6",
|
|
199
199
|
"data": {
|
|
200
|
-
"
|
|
201
|
-
"
|
|
200
|
+
"initial_weight_kg": 5000,
|
|
201
|
+
"deducted_weight_kg": 250
|
|
202
202
|
}
|
|
203
203
|
},
|
|
204
204
|
{
|