@carrot-foundation/schemas 1.0.0 → 2.0.0
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 +65 -55
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +65 -55
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/schemas/ipfs/collection/collection.example.json +3 -3
- package/schemas/ipfs/collection/collection.schema.json +2 -2
- package/schemas/ipfs/credit/credit.example.json +3 -3
- package/schemas/ipfs/credit/credit.schema.json +2 -2
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.example.json +7 -4
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json +19 -9
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.example.json +4 -4
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json +7 -9
- package/schemas/ipfs/gas-id/gas-id.example.json +4 -4
- package/schemas/ipfs/gas-id/gas-id.schema.json +2 -2
- package/schemas/ipfs/mass-id/mass-id.example.json +4 -4
- package/schemas/ipfs/mass-id/mass-id.schema.json +2 -2
- package/schemas/ipfs/mass-id-audit/mass-id-audit.example.json +3 -3
- package/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json +2 -2
- package/schemas/ipfs/methodology/methodology.example.json +3 -3
- package/schemas/ipfs/methodology/methodology.schema.json +2 -2
- package/schemas/ipfs/recycled-id/recycled-id.example.json +4 -4
- package/schemas/ipfs/recycled-id/recycled-id.schema.json +2 -2
- 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/
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/collection/collection.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "113c3f8887b98ee1d403a96ac20018b1c54cb3f6e43d7213a93471aa461e6893",
|
|
5
5
|
"type": "Collection",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "2.0.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -236,6 +236,6 @@
|
|
|
236
236
|
"additionalProperties": false,
|
|
237
237
|
"title": "Collection IPFS Record",
|
|
238
238
|
"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",
|
|
239
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
240
|
-
"version": "
|
|
239
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/collection/collection.schema.json",
|
|
240
|
+
"version": "2.0.0"
|
|
241
241
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/credit/credit.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "201ec75ec44512f97e53d166b6a6f6287b7645fea3cca56a9afcd3f4721cf633",
|
|
5
5
|
"type": "Credit",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "2.0.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -257,6 +257,6 @@
|
|
|
257
257
|
"additionalProperties": false,
|
|
258
258
|
"title": "Credit IPFS Record",
|
|
259
259
|
"description": "Credit token metadata stored in IPFS, extending the base schema with ERC20-specific details",
|
|
260
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
261
|
-
"version": "
|
|
260
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/credit/credit.schema.json",
|
|
261
|
+
"version": "2.0.0"
|
|
262
262
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "54ec0930e3d1db3020b7956e77f3552e1a293bab5134de8b39af7feaeedfb6c5",
|
|
5
5
|
"type": "CreditPurchaseReceipt",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "2.0.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"created_at": "2025-02-03T12:45:30.000Z",
|
|
21
21
|
"external_id": "f1a2b3c4-d5e6-4789-9012-34567890abcd",
|
|
22
22
|
"external_url": "https://explore.carrot.eco/document/f1a2b3c4-d5e6-4789-9012-34567890abcd",
|
|
23
|
-
"audit_data_hash": "
|
|
23
|
+
"audit_data_hash": "df924898ae3d7d31998b73ecdc7fc9f3611c26d1613c6c3e098de476c10015cb",
|
|
24
24
|
"viewer_reference": {
|
|
25
25
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
|
|
26
26
|
"integrity_hash": "87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
@@ -137,6 +137,7 @@
|
|
|
137
137
|
"type": "GasID",
|
|
138
138
|
"token_id": "200001",
|
|
139
139
|
"total_amount": 10,
|
|
140
|
+
"purchased_amount": 3,
|
|
140
141
|
"credit_slug": "carbon-methane",
|
|
141
142
|
"external_id": "d2a7f8e4-9c61-4e35-b8f2-a5c9e7d1b4f6",
|
|
142
143
|
"external_url": "https://explore.carrot.eco/document/d2a7f8e4-9c61-4e35-b8f2-a5c9e7d1b4f6",
|
|
@@ -161,6 +162,7 @@
|
|
|
161
162
|
"type": "RecycledID",
|
|
162
163
|
"token_id": "300001",
|
|
163
164
|
"total_amount": 6,
|
|
165
|
+
"purchased_amount": 2,
|
|
164
166
|
"credit_slug": "biowaste",
|
|
165
167
|
"external_id": "f47ac10b-58cc-4372-a567-0e02b2c3d489",
|
|
166
168
|
"external_url": "https://explore.carrot.eco/document/f47ac10b-58cc-4372-a567-0e02b2c3d489",
|
|
@@ -185,6 +187,7 @@
|
|
|
185
187
|
"type": "RecycledID",
|
|
186
188
|
"token_id": "890",
|
|
187
189
|
"total_amount": 8,
|
|
190
|
+
"purchased_amount": 3.5,
|
|
188
191
|
"credit_slug": "biowaste",
|
|
189
192
|
"external_id": "0f1e2d3c-4b5a-4d78-8c12-3456789abcde",
|
|
190
193
|
"external_url": "https://explore.carrot.eco/document/0f1e2d3c-4b5a-4d78-8c12-3456789abcde",
|
|
@@ -194,9 +194,9 @@
|
|
|
194
194
|
},
|
|
195
195
|
"total_credits": {
|
|
196
196
|
"type": "number",
|
|
197
|
-
"
|
|
197
|
+
"exclusiveMinimum": 0,
|
|
198
198
|
"title": "Total Credits",
|
|
199
|
-
"description": "Total number of environmental impact credits purchased in this transaction",
|
|
199
|
+
"description": "Total number of environmental impact credits purchased in this transaction. Must be greater than 0.",
|
|
200
200
|
"examples": [
|
|
201
201
|
1.5,
|
|
202
202
|
100,
|
|
@@ -293,7 +293,6 @@
|
|
|
293
293
|
"description": "Buyer information including hashed identifier, optional wallet address, and optional identity"
|
|
294
294
|
},
|
|
295
295
|
"collections": {
|
|
296
|
-
"minItems": 1,
|
|
297
296
|
"type": "array",
|
|
298
297
|
"items": {
|
|
299
298
|
"type": "object",
|
|
@@ -372,7 +371,7 @@
|
|
|
372
371
|
"description": "Collection included in the purchase"
|
|
373
372
|
},
|
|
374
373
|
"title": "Collections",
|
|
375
|
-
"description": "Impact collections referenced by this purchase, each identified by a unique slug"
|
|
374
|
+
"description": "Impact collections referenced by this purchase, each identified by a unique slug. May be empty when no certificate is assigned to a collection."
|
|
376
375
|
},
|
|
377
376
|
"credits": {
|
|
378
377
|
"minItems": 1,
|
|
@@ -622,8 +621,18 @@
|
|
|
622
621
|
"biowaste"
|
|
623
622
|
]
|
|
624
623
|
},
|
|
624
|
+
"purchased_amount": {
|
|
625
|
+
"type": "number",
|
|
626
|
+
"minimum": 0,
|
|
627
|
+
"title": "Certificate Purchased Amount",
|
|
628
|
+
"description": "Total credits purchased from this certificate. Authoritative source for receipt totals; cross-checked against sum(collections[].purchased_amount) when collections are non-empty.",
|
|
629
|
+
"examples": [
|
|
630
|
+
1.5,
|
|
631
|
+
100,
|
|
632
|
+
2500.75
|
|
633
|
+
]
|
|
634
|
+
},
|
|
625
635
|
"collections": {
|
|
626
|
-
"minItems": 1,
|
|
627
636
|
"type": "array",
|
|
628
637
|
"items": {
|
|
629
638
|
"type": "object",
|
|
@@ -676,7 +685,7 @@
|
|
|
676
685
|
"description": "Collection reference with purchased and retired amounts for a certificate in a purchase receipt"
|
|
677
686
|
},
|
|
678
687
|
"title": "Certificate Collections",
|
|
679
|
-
"description": "Collections associated with this certificate, each with purchased and retired amounts"
|
|
688
|
+
"description": "Collections associated with this certificate, each with purchased and retired amounts. May be empty when this certificate is not assigned to any collection."
|
|
680
689
|
}
|
|
681
690
|
},
|
|
682
691
|
"required": [
|
|
@@ -689,6 +698,7 @@
|
|
|
689
698
|
"total_amount",
|
|
690
699
|
"mass_id",
|
|
691
700
|
"credit_slug",
|
|
701
|
+
"purchased_amount",
|
|
692
702
|
"collections"
|
|
693
703
|
],
|
|
694
704
|
"additionalProperties": false,
|
|
@@ -1313,7 +1323,7 @@
|
|
|
1313
1323
|
],
|
|
1314
1324
|
"additionalProperties": false,
|
|
1315
1325
|
"title": "CreditPurchaseReceipt NFT IPFS Record",
|
|
1316
|
-
"description": "Complete CreditPurchaseReceipt NFT IPFS record including purchase summary, buyer details, credit breakdowns, certificate allocations, and NFT display attributes",
|
|
1317
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
1318
|
-
"version": "
|
|
1326
|
+
"description": "Complete CreditPurchaseReceipt NFT IPFS record including purchase summary, buyer details, credit breakdowns, certificate allocations, and NFT display attributes. Supports both collection-assigned and no-collection variants.",
|
|
1327
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json",
|
|
1328
|
+
"version": "2.0.0"
|
|
1319
1329
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "1d18e69818a011f212b5afab08b9f06de09c69bdb01a9c533f61db19f5f3c175",
|
|
5
5
|
"type": "CreditRetirementReceipt",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "2.0.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -231,5 +231,5 @@
|
|
|
231
231
|
"smart_contract_address": "0x742d35cc6634c0532925a3b8d8b5c2d4c7f8e1a9"
|
|
232
232
|
}
|
|
233
233
|
},
|
|
234
|
-
"audit_data_hash": "
|
|
234
|
+
"audit_data_hash": "74bfc85042ad24be6787fb47e5d8cc956b22f99545c7f393622aef911b50d81d"
|
|
235
235
|
}
|
|
@@ -182,9 +182,9 @@
|
|
|
182
182
|
},
|
|
183
183
|
"total_credits_retired": {
|
|
184
184
|
"type": "number",
|
|
185
|
-
"
|
|
185
|
+
"exclusiveMinimum": 0,
|
|
186
186
|
"title": "Total Credits Retired",
|
|
187
|
-
"description": "Total number of environmental impact credits permanently retired (removed from circulation)",
|
|
187
|
+
"description": "Total number of environmental impact credits permanently retired (removed from circulation). Must be greater than 0.",
|
|
188
188
|
"examples": [
|
|
189
189
|
1.5,
|
|
190
190
|
100,
|
|
@@ -348,7 +348,6 @@
|
|
|
348
348
|
"description": "Credit holder information including hashed identifier, optional wallet address, and optional identity"
|
|
349
349
|
},
|
|
350
350
|
"collections": {
|
|
351
|
-
"minItems": 1,
|
|
352
351
|
"type": "array",
|
|
353
352
|
"items": {
|
|
354
353
|
"type": "object",
|
|
@@ -427,7 +426,7 @@
|
|
|
427
426
|
"description": "Collection included in the retirement"
|
|
428
427
|
},
|
|
429
428
|
"title": "Collections",
|
|
430
|
-
"description": "Impact collections referenced by this retirement, each identified by a unique slug"
|
|
429
|
+
"description": "Impact collections referenced by this retirement, each identified by a unique slug. May be empty when no certificate is assigned to a collection."
|
|
431
430
|
},
|
|
432
431
|
"credits": {
|
|
433
432
|
"minItems": 1,
|
|
@@ -665,7 +664,6 @@
|
|
|
665
664
|
"description": "Reference to a MassID record"
|
|
666
665
|
},
|
|
667
666
|
"collections": {
|
|
668
|
-
"minItems": 1,
|
|
669
667
|
"type": "array",
|
|
670
668
|
"items": {
|
|
671
669
|
"type": "object",
|
|
@@ -706,7 +704,7 @@
|
|
|
706
704
|
"description": "Collection reference with retired amount for a certificate in a retirement receipt"
|
|
707
705
|
},
|
|
708
706
|
"title": "Certificate Collections",
|
|
709
|
-
"description": "Collections associated with this certificate, each with retired amounts"
|
|
707
|
+
"description": "Collections associated with this certificate, each with retired amounts. May be empty when this certificate is not assigned to any collection."
|
|
710
708
|
},
|
|
711
709
|
"credits_retired": {
|
|
712
710
|
"minItems": 1,
|
|
@@ -1449,7 +1447,7 @@
|
|
|
1449
1447
|
],
|
|
1450
1448
|
"additionalProperties": false,
|
|
1451
1449
|
"title": "CreditRetirementReceipt NFT IPFS Record",
|
|
1452
|
-
"description": "Complete CreditRetirementReceipt NFT IPFS record including retirement summary, beneficiary and credit holder details (identity optional), credit breakdowns, certificate allocations, and NFT display attributes",
|
|
1453
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
1454
|
-
"version": "
|
|
1450
|
+
"description": "Complete CreditRetirementReceipt NFT IPFS record including retirement summary, beneficiary and credit holder details (identity optional), credit breakdowns, certificate allocations, and NFT display attributes. Supports both collection-assigned and no-collection variants.",
|
|
1451
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json",
|
|
1452
|
+
"version": "2.0.0"
|
|
1455
1453
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/gas-id/gas-id.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "dfe3989bd87dffb52c9ca67c38d21a6383cf1627e1284f7130f7ebccc66e9c40",
|
|
5
5
|
"type": "GasID",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "2.0.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"created_at": "2024-12-08T11:32:47.000Z",
|
|
21
21
|
"external_id": "d2a7f8e4-9c61-4e35-b8f2-a5c9e7d1b4f6",
|
|
22
22
|
"external_url": "https://explore.carrot.eco/document/d2a7f8e4-9c61-4e35-b8f2-a5c9e7d1b4f6",
|
|
23
|
-
"audit_data_hash": "
|
|
23
|
+
"audit_data_hash": "a22da7d417a648bb44f6b9bee99f8c85c1cae6941a1b799aa519d4190e68bc02",
|
|
24
24
|
"viewer_reference": {
|
|
25
25
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
|
|
26
26
|
"integrity_hash": "87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
@@ -1522,6 +1522,6 @@
|
|
|
1522
1522
|
"additionalProperties": false,
|
|
1523
1523
|
"title": "GasID NFT IPFS Record",
|
|
1524
1524
|
"description": "Complete GasID NFT IPFS record including prevented emissions calculation, source waste provenance, methodology reference, and NFT display attributes",
|
|
1525
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
1526
|
-
"version": "
|
|
1525
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/gas-id/gas-id.schema.json",
|
|
1526
|
+
"version": "2.0.0"
|
|
1527
1527
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/mass-id/mass-id.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "6d604692ab67a3fbfe9c53e2ebc6bde71676e004577beffbe725db43754373fe",
|
|
5
5
|
"type": "MassID",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "2.0.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"display_type": "date"
|
|
109
109
|
}
|
|
110
110
|
],
|
|
111
|
-
"audit_data_hash": "
|
|
111
|
+
"audit_data_hash": "6d618d4e6feec1ca6272613e8d8ec6ec9ce0dcf71b541e58c7e0c00ab0317c6e",
|
|
112
112
|
"data": {
|
|
113
113
|
"waste_properties": {
|
|
114
114
|
"type": "Organic",
|
|
@@ -1911,6 +1911,6 @@
|
|
|
1911
1911
|
"additionalProperties": false,
|
|
1912
1912
|
"title": "MassID NFT IPFS Record",
|
|
1913
1913
|
"description": "Complete MassID NFT IPFS record including waste classification, chain-of-custody lifecycle events, geographic locations, supply-chain participants, and NFT display attributes",
|
|
1914
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
1915
|
-
"version": "
|
|
1914
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/mass-id/mass-id.schema.json",
|
|
1915
|
+
"version": "2.0.0"
|
|
1916
1916
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "ff524d3c15bd9a1c2aa3e1e4ec72bb7865358c8290b270aca3080cca6589df69",
|
|
5
5
|
"type": "MassID Audit",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "2.0.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -674,6 +674,6 @@
|
|
|
674
674
|
"additionalProperties": false,
|
|
675
675
|
"title": "MassID Audit IPFS Record",
|
|
676
676
|
"description": "MassID audit record stored in IPFS, containing methodology reference, audit summary, rule execution results, and links to the source MassID and resulting GasID or RecycledID",
|
|
677
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
678
|
-
"version": "
|
|
677
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json",
|
|
678
|
+
"version": "2.0.0"
|
|
679
679
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/methodology/methodology.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "e6b7e2e99bc6e77189d57f1921e8d6ccab5164fde7c19d44fe9045b85875c2ba",
|
|
5
5
|
"type": "Methodology",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "2.0.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -369,6 +369,6 @@
|
|
|
369
369
|
"additionalProperties": false,
|
|
370
370
|
"title": "Methodology IPFS Record",
|
|
371
371
|
"description": "Methodology metadata stored in IPFS, defining the environmental impact measurement approach including versioning, documentation, and MassID audit rules",
|
|
372
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
373
|
-
"version": "
|
|
372
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/methodology/methodology.schema.json",
|
|
373
|
+
"version": "2.0.0"
|
|
374
374
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/recycled-id/recycled-id.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "4e6c1eb6adc45861f02df3f373082b3cfc5d4e942553211af9af7b55a8d84a6a",
|
|
5
5
|
"type": "RecycledID",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "2.0.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"created_at": "2024-12-08T11:32:47.000Z",
|
|
21
21
|
"external_id": "f47ac10b-58cc-4372-a567-0e02b2c3d489",
|
|
22
22
|
"external_url": "https://explore.carrot.eco/document/f47ac10b-58cc-4372-a567-0e02b2c3d489",
|
|
23
|
-
"audit_data_hash": "
|
|
23
|
+
"audit_data_hash": "250ade0f29bb0f83c6dfac3d20139a34d8181d57bdf6238cca1dddee2590436a",
|
|
24
24
|
"viewer_reference": {
|
|
25
25
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
|
|
26
26
|
"integrity_hash": "87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
@@ -1359,6 +1359,6 @@
|
|
|
1359
1359
|
"additionalProperties": false,
|
|
1360
1360
|
"title": "RecycledID NFT IPFS Record",
|
|
1361
1361
|
"description": "Complete RecycledID NFT IPFS record including recycling outcome metrics, source waste provenance, methodology reference, and NFT display attributes",
|
|
1362
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/
|
|
1363
|
-
"version": "
|
|
1362
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/recycled-id/recycled-id.schema.json",
|
|
1363
|
+
"version": "2.0.0"
|
|
1364
1364
|
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "2.0.0",
|
|
3
3
|
"schemas": {
|
|
4
4
|
"ipfs/recycled-id/recycled-id.schema.json": {
|
|
5
|
-
"hash": "
|
|
5
|
+
"hash": "4e6c1eb6adc45861f02df3f373082b3cfc5d4e942553211af9af7b55a8d84a6a",
|
|
6
6
|
"path": "ipfs/recycled-id/recycled-id.schema.json"
|
|
7
7
|
},
|
|
8
8
|
"ipfs/methodology/methodology.schema.json": {
|
|
9
|
-
"hash": "
|
|
9
|
+
"hash": "e6b7e2e99bc6e77189d57f1921e8d6ccab5164fde7c19d44fe9045b85875c2ba",
|
|
10
10
|
"path": "ipfs/methodology/methodology.schema.json"
|
|
11
11
|
},
|
|
12
12
|
"ipfs/mass-id-audit/mass-id-audit.schema.json": {
|
|
13
|
-
"hash": "
|
|
13
|
+
"hash": "ff524d3c15bd9a1c2aa3e1e4ec72bb7865358c8290b270aca3080cca6589df69",
|
|
14
14
|
"path": "ipfs/mass-id-audit/mass-id-audit.schema.json"
|
|
15
15
|
},
|
|
16
16
|
"ipfs/mass-id/mass-id.schema.json": {
|
|
17
|
-
"hash": "
|
|
17
|
+
"hash": "6d604692ab67a3fbfe9c53e2ebc6bde71676e004577beffbe725db43754373fe",
|
|
18
18
|
"path": "ipfs/mass-id/mass-id.schema.json"
|
|
19
19
|
},
|
|
20
20
|
"ipfs/gas-id/gas-id.schema.json": {
|
|
21
|
-
"hash": "
|
|
21
|
+
"hash": "dfe3989bd87dffb52c9ca67c38d21a6383cf1627e1284f7130f7ebccc66e9c40",
|
|
22
22
|
"path": "ipfs/gas-id/gas-id.schema.json"
|
|
23
23
|
},
|
|
24
24
|
"ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json": {
|
|
25
|
-
"hash": "
|
|
25
|
+
"hash": "1d18e69818a011f212b5afab08b9f06de09c69bdb01a9c533f61db19f5f3c175",
|
|
26
26
|
"path": "ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json"
|
|
27
27
|
},
|
|
28
28
|
"ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json": {
|
|
29
|
-
"hash": "
|
|
29
|
+
"hash": "54ec0930e3d1db3020b7956e77f3552e1a293bab5134de8b39af7feaeedfb6c5",
|
|
30
30
|
"path": "ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json"
|
|
31
31
|
},
|
|
32
32
|
"ipfs/credit/credit.schema.json": {
|
|
33
|
-
"hash": "
|
|
33
|
+
"hash": "201ec75ec44512f97e53d166b6a6f6287b7645fea3cca56a9afcd3f4721cf633",
|
|
34
34
|
"path": "ipfs/credit/credit.schema.json"
|
|
35
35
|
},
|
|
36
36
|
"ipfs/collection/collection.schema.json": {
|
|
37
|
-
"hash": "
|
|
37
|
+
"hash": "113c3f8887b98ee1d403a96ac20018b1c54cb3f6e43d7213a93471aa461e6893",
|
|
38
38
|
"path": "ipfs/collection/collection.schema.json"
|
|
39
39
|
}
|
|
40
40
|
}
|