@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.
Files changed (27) hide show
  1. package/README.md +144 -116
  2. package/dist/index.cjs +204 -267
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.cts +23 -23
  5. package/dist/index.d.ts +23 -23
  6. package/dist/index.js +204 -267
  7. package/dist/index.js.map +1 -1
  8. package/package.json +20 -20
  9. package/schemas/ipfs/collection/collection.example.json +3 -3
  10. package/schemas/ipfs/collection/collection.schema.json +77 -77
  11. package/schemas/ipfs/credit/credit.example.json +4 -4
  12. package/schemas/ipfs/credit/credit.schema.json +85 -85
  13. package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.example.json +15 -15
  14. package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json +432 -424
  15. package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.example.json +15 -15
  16. package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json +465 -457
  17. package/schemas/ipfs/gas-id/gas-id.example.json +9 -9
  18. package/schemas/ipfs/gas-id/gas-id.schema.json +448 -432
  19. package/schemas/ipfs/mass-id/mass-id.example.json +7 -7
  20. package/schemas/ipfs/mass-id/mass-id.schema.json +533 -512
  21. package/schemas/ipfs/mass-id-audit/mass-id-audit.example.json +57 -57
  22. package/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json +225 -217
  23. package/schemas/ipfs/methodology/methodology.example.json +5 -5
  24. package/schemas/ipfs/methodology/methodology.schema.json +124 -124
  25. package/schemas/ipfs/recycled-id/recycled-id.example.json +9 -9
  26. package/schemas/ipfs/recycled-id/recycled-id.schema.json +400 -384
  27. 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.3/schemas/ipfs/gas-id/gas-id.schema.json",
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": "78d395e67e3a5334a415755ce6373eec64e69a29a70d8fd912fed1d3448a07b9",
4
+ "hash": "60b29365fbf174625e269094174f139d858f45f9a187350924e25952d8f1c465",
5
5
  "type": "GasID",
6
- "version": "0.2.3",
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": "456",
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": "fe3d3b7cda0f2de19ceb6d0842fe3697cd0c6b585b2e914dd514c2046332d3aa",
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 #456 • BOLD Carbon (CH₄) • 0.12t CO₂e",
29
- "short_name": "GasID #456",
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": "#1034"
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": "1034",
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",