@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/mass-id/mass-id.schema.json",
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": "38f92f706a8eea96fec812f8808cfdcaf0be4486b98ce12a7f727ca3ea2bb645",
4
+ "hash": "56574983a91036f30e6084fd595e757d447f5ae56304d1dcf544c78a773cad77",
5
5
  "type": "MassID",
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": "1034",
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 #1034 • Organic • 3.25t",
28
- "short_name": "MassID #1034",
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": "19c2ba1ae8b51a4a2bf1425926388a7a35b462076efa93d18865b1e0265fa60a",
111
+ "audit_data_hash": "7bd04956a6975a28092b02836f3de7606dc56c78d45b0812b4d70ab00abacb35",
112
112
  "data": {
113
113
  "waste_properties": {
114
114
  "type": "Organic",