@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/mass-id/mass-id.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "56574983a91036f30e6084fd595e757d447f5ae56304d1dcf544c78a773cad77",
|
|
5
5
|
"type": "MassID",
|
|
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": "100001",
|
|
16
16
|
"smart_contract_address": "0x1234567890abcdef1234567890abcdef12345678",
|
|
17
17
|
"chain_id": 80002,
|
|
18
18
|
"network_name": "Amoy"
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"created_at": "2024-12-05T11:02:47.000Z",
|
|
25
25
|
"external_id": "ad44dd3f-f176-4b98-bf78-5ee6e77d0530",
|
|
26
26
|
"external_url": "https://explore.carrot.eco/document/ad44dd3f-f176-4b98-bf78-5ee6e77d0530",
|
|
27
|
-
"name": "MassID #
|
|
28
|
-
"short_name": "MassID #
|
|
27
|
+
"name": "MassID #100001 • Organic • 3.25t",
|
|
28
|
+
"short_name": "MassID #100001",
|
|
29
29
|
"description": "This MassID represents 3.25 metric tons of organic food waste from Brasília, Brazil, tracked through complete chain of custody from pick-up to composting.",
|
|
30
30
|
"image": "ipfs://QmTy8w65yBXgyfG2ZBg5TrfB2hPjrDQH3RCQFJGkARStJb",
|
|
31
31
|
"animation_url": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"display_type": "date"
|
|
109
109
|
}
|
|
110
110
|
],
|
|
111
|
-
"audit_data_hash": "
|
|
111
|
+
"audit_data_hash": "7bd04956a6975a28092b02836f3de7606dc56c78d45b0812b4d70ab00abacb35",
|
|
112
112
|
"data": {
|
|
113
113
|
"waste_properties": {
|
|
114
114
|
"type": "Organic",
|