@carrot-foundation/schemas 0.2.3 → 0.3.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/README.md +144 -116
- package/dist/index.cjs +204 -267
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -23
- package/dist/index.d.ts +23 -23
- package/dist/index.js +204 -267
- package/dist/index.js.map +1 -1
- package/package.json +20 -20
- package/schemas/ipfs/collection/collection.example.json +3 -3
- package/schemas/ipfs/collection/collection.schema.json +77 -77
- package/schemas/ipfs/credit/credit.example.json +4 -4
- package/schemas/ipfs/credit/credit.schema.json +85 -85
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.example.json +15 -15
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json +432 -424
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.example.json +15 -15
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json +465 -457
- package/schemas/ipfs/gas-id/gas-id.example.json +9 -9
- package/schemas/ipfs/gas-id/gas-id.schema.json +448 -432
- package/schemas/ipfs/mass-id/mass-id.example.json +7 -7
- package/schemas/ipfs/mass-id/mass-id.schema.json +533 -512
- package/schemas/ipfs/mass-id-audit/mass-id-audit.example.json +57 -57
- package/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json +225 -217
- package/schemas/ipfs/methodology/methodology.example.json +5 -5
- package/schemas/ipfs/methodology/methodology.schema.json +124 -124
- package/schemas/ipfs/recycled-id/recycled-id.example.json +9 -9
- package/schemas/ipfs/recycled-id/recycled-id.schema.json +400 -384
- package/schemas/schema-hashes.json +10 -10
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.3.0/schemas/ipfs/gas-id/gas-id.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "60b29365fbf174625e269094174f139d858f45f9a187350924e25952d8f1c465",
|
|
5
5
|
"type": "GasID",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.3.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"data_set_name": "TEST"
|
|
13
13
|
},
|
|
14
14
|
"blockchain": {
|
|
15
|
-
"token_id": "
|
|
15
|
+
"token_id": "200001",
|
|
16
16
|
"smart_contract_address": "0x742d35cc6634c0532925a3b8d8b5c2d4c7f8e1a9",
|
|
17
17
|
"chain_id": 80002,
|
|
18
18
|
"network_name": "Amoy"
|
|
@@ -20,13 +20,13 @@
|
|
|
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": "850906cb22709104f56270c8bcfc5149b8451109708857767ce992926fb63d7c",
|
|
24
24
|
"viewer_reference": {
|
|
25
25
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
|
|
26
26
|
"integrity_hash": "87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
27
27
|
},
|
|
28
|
-
"name": "GasID #
|
|
29
|
-
"short_name": "GasID #
|
|
28
|
+
"name": "GasID #200001 • BOLD Carbon (CH₄) • 0.12t CO₂e",
|
|
29
|
+
"short_name": "GasID #200001",
|
|
30
30
|
"description": "This GasID certifies 0.12 metric tons of CO₂e emissions prevented through BOLD Carbon (CH₄) methodology composting of 3.25 metric tons of organic waste from Brasília, Brazil.",
|
|
31
31
|
"image": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
|
|
32
32
|
"background_color": "#1B4332",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"trait_type": "MassID",
|
|
87
|
-
"value": "#
|
|
87
|
+
"value": "#100001"
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"trait_type": "MassID Recycling Date",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"ipfs_uri": "ipfs://bafybeiaysiqlz2rcdjfbh264l4d7f5szszw7vvr2wxwb62xtx4tqhy4gmy"
|
|
133
133
|
},
|
|
134
134
|
"mass_id": {
|
|
135
|
-
"token_id": "
|
|
135
|
+
"token_id": "100001",
|
|
136
136
|
"external_id": "ad44dd3f-f176-4b98-bf78-5ee6e77d0530",
|
|
137
137
|
"external_url": "https://explore.carrot.eco/document/ad44dd3f-f176-4b98-bf78-5ee6e77d0530",
|
|
138
138
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
|