@carrot-foundation/schemas 0.4.1 → 0.5.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 +34 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +46 -44
- package/dist/index.d.ts +46 -44
- package/dist/index.js +34 -22
- 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 +4 -4
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json +11 -16
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.example.json +4 -4
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json +72 -83
- package/schemas/ipfs/gas-id/gas-id.example.json +4 -4
- package/schemas/ipfs/gas-id/gas-id.schema.json +5 -5
- package/schemas/ipfs/mass-id/mass-id.example.json +4 -4
- package/schemas/ipfs/mass-id/mass-id.schema.json +10 -10
- 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 +6 -6
- 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.5.0/schemas/ipfs/recycled-id/recycled-id.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "015d4867c1d7acc28ccf8f678b75d95f679918a650ff55c52597cfcd21fa1f4f",
|
|
5
5
|
"type": "RecycledID",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.5.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": "8c4fa1d6333dd59e613ba04238b24eceb63bba7b952bbe4af43adadc33721dbc",
|
|
24
24
|
"viewer_reference": {
|
|
25
25
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
|
|
26
26
|
"integrity_hash": "87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"properties": {
|
|
171
171
|
"recycled_mass_kg": {
|
|
172
172
|
"type": "number",
|
|
173
|
-
"
|
|
173
|
+
"exclusiveMinimum": 0,
|
|
174
174
|
"title": "Recycled Weight",
|
|
175
175
|
"description": "Total weight of materials successfully recycled in kilograms (kg)",
|
|
176
176
|
"examples": [
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
},
|
|
488
488
|
"weight_kg": {
|
|
489
489
|
"type": "number",
|
|
490
|
-
"
|
|
490
|
+
"exclusiveMinimum": 0,
|
|
491
491
|
"title": "Source Waste Net Weight",
|
|
492
492
|
"description": "Net weight of the source waste in kilograms (kg)",
|
|
493
493
|
"examples": [
|
|
@@ -871,7 +871,7 @@
|
|
|
871
871
|
},
|
|
872
872
|
"value": {
|
|
873
873
|
"type": "number",
|
|
874
|
-
"
|
|
874
|
+
"exclusiveMinimum": 0,
|
|
875
875
|
"title": "Recycled Weight",
|
|
876
876
|
"description": "Total weight of recycled materials in kilograms",
|
|
877
877
|
"examples": [
|
|
@@ -1056,7 +1056,7 @@
|
|
|
1056
1056
|
},
|
|
1057
1057
|
"value": {
|
|
1058
1058
|
"type": "number",
|
|
1059
|
-
"
|
|
1059
|
+
"exclusiveMinimum": 0,
|
|
1060
1060
|
"title": "Source Weight",
|
|
1061
1061
|
"description": "Weight of the source waste in kilograms",
|
|
1062
1062
|
"examples": [
|
|
@@ -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/0.
|
|
1363
|
-
"version": "0.
|
|
1362
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/recycled-id/recycled-id.schema.json",
|
|
1363
|
+
"version": "0.5.0"
|
|
1364
1364
|
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.5.0",
|
|
3
3
|
"schemas": {
|
|
4
4
|
"ipfs/recycled-id/recycled-id.schema.json": {
|
|
5
|
-
"hash": "
|
|
5
|
+
"hash": "015d4867c1d7acc28ccf8f678b75d95f679918a650ff55c52597cfcd21fa1f4f",
|
|
6
6
|
"path": "ipfs/recycled-id/recycled-id.schema.json"
|
|
7
7
|
},
|
|
8
8
|
"ipfs/methodology/methodology.schema.json": {
|
|
9
|
-
"hash": "
|
|
9
|
+
"hash": "9dbd6a3553a0c082df10be79091a5ecf0a024e0a1e41685065f5d4842490ffec",
|
|
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": "20d9adb2c8d788abbbab76542ed01b6a2d6921c6e0f924c3bcc21d4fd4681a3b",
|
|
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": "15675848245673646f2b4c81f31843a45ccfc395b33abcaa636ac28821ba6ab4",
|
|
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": "6d22b905bc69f3436c60776c1aef0fff1712e920e7a9e0702f35ddb0ddb563cf",
|
|
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": "a9f8b2b1fe20a8fe40a5c38b33dc832f0701f827ffd086761a10264b50b2b651",
|
|
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": "40ba58979807543bbe19044a36ea875287529c55339ddacf2c3de23ba088b9b9",
|
|
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": "6cca2c3482f52b0a140063c551dec7649e7d05ff05e967ac210fc8e08d0018f0",
|
|
34
34
|
"path": "ipfs/credit/credit.schema.json"
|
|
35
35
|
},
|
|
36
36
|
"ipfs/collection/collection.schema.json": {
|
|
37
|
-
"hash": "
|
|
37
|
+
"hash": "e002efd528d04bfa0379d4ed070c2d5da66cb8cebc81b8dd86026d54e21856ef",
|
|
38
38
|
"path": "ipfs/collection/collection.schema.json"
|
|
39
39
|
}
|
|
40
40
|
}
|