@carrot-foundation/schemas 0.5.1 → 2.0.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.
@@ -14,7 +14,7 @@
14
14
  "properties": {
15
15
  "hash": {
16
16
  "type": "string",
17
- "pattern": "^[0-9a-fA-F]{64}$",
17
+ "pattern": "^[a-f0-9]{64}$",
18
18
  "title": "Schema Hash",
19
19
  "description": "SHA-256 hash of the JSON Schema this record was validated against",
20
20
  "examples": [
@@ -105,7 +105,7 @@
105
105
  },
106
106
  "integrity_hash": {
107
107
  "type": "string",
108
- "pattern": "^[0-9a-fA-F]{64}$",
108
+ "pattern": "^[a-f0-9]{64}$",
109
109
  "title": "Viewer Integrity Hash",
110
110
  "description": "SHA-256 hash of the published viewer bundle to verify integrity",
111
111
  "examples": [
@@ -256,7 +256,7 @@
256
256
  "properties": {
257
257
  "id_hash": {
258
258
  "type": "string",
259
- "pattern": "^[0-9a-fA-F]{64}$",
259
+ "pattern": "^[a-f0-9]{64}$",
260
260
  "title": "Location ID Hash",
261
261
  "description": "SHA-256 hash anonymizing the real location identifier for privacy",
262
262
  "examples": [
@@ -299,7 +299,7 @@
299
299
  },
300
300
  "responsible_participant_id_hash": {
301
301
  "type": "string",
302
- "pattern": "^[0-9a-fA-F]{64}$",
302
+ "pattern": "^[a-f0-9]{64}$",
303
303
  "title": "Responsible Participant ID Hash",
304
304
  "description": "SHA-256 hash identifying the participant responsible for operations at this location",
305
305
  "examples": [
@@ -365,7 +365,7 @@
365
365
  "properties": {
366
366
  "id_hash": {
367
367
  "type": "string",
368
- "pattern": "^[0-9a-fA-F]{64}$",
368
+ "pattern": "^[a-f0-9]{64}$",
369
369
  "title": "Participant ID Hash",
370
370
  "description": "SHA-256 hash anonymizing the real participant identifier for privacy",
371
371
  "examples": [
@@ -441,7 +441,7 @@
441
441
  },
442
442
  "participant_id_hash": {
443
443
  "type": "string",
444
- "pattern": "^[0-9a-fA-F]{64}$",
444
+ "pattern": "^[a-f0-9]{64}$",
445
445
  "title": "Participant ID Hash",
446
446
  "description": "SHA-256 hash anonymizing a participant identity — used to link records without exposing personal data",
447
447
  "examples": [
@@ -450,7 +450,7 @@
450
450
  },
451
451
  "location_id_hash": {
452
452
  "type": "string",
453
- "pattern": "^[0-9a-fA-F]{64}$",
453
+ "pattern": "^[a-f0-9]{64}$",
454
454
  "title": "Location ID Hash",
455
455
  "description": "Hash reference to the geographic location where this event occurred; matches an entry in `data.locations`",
456
456
  "examples": [
@@ -541,7 +541,7 @@
541
541
  },
542
542
  "participant_id_hash": {
543
543
  "type": "string",
544
- "pattern": "^[0-9a-fA-F]{64}$",
544
+ "pattern": "^[a-f0-9]{64}$",
545
545
  "title": "Participant ID Hash",
546
546
  "description": "SHA-256 hash anonymizing a participant identity — used to link records without exposing personal data",
547
547
  "examples": [
@@ -550,7 +550,7 @@
550
550
  },
551
551
  "location_id_hash": {
552
552
  "type": "string",
553
- "pattern": "^[0-9a-fA-F]{64}$",
553
+ "pattern": "^[a-f0-9]{64}$",
554
554
  "title": "Location ID Hash",
555
555
  "description": "Hash reference to the geographic location where this event occurred; matches an entry in `data.locations`",
556
556
  "examples": [
@@ -716,7 +716,7 @@
716
716
  },
717
717
  "participant_id_hash": {
718
718
  "type": "string",
719
- "pattern": "^[0-9a-fA-F]{64}$",
719
+ "pattern": "^[a-f0-9]{64}$",
720
720
  "title": "Participant ID Hash",
721
721
  "description": "SHA-256 hash anonymizing a participant identity — used to link records without exposing personal data",
722
722
  "examples": [
@@ -725,7 +725,7 @@
725
725
  },
726
726
  "location_id_hash": {
727
727
  "type": "string",
728
- "pattern": "^[0-9a-fA-F]{64}$",
728
+ "pattern": "^[a-f0-9]{64}$",
729
729
  "title": "Location ID Hash",
730
730
  "description": "Hash reference to the geographic location where this event occurred; matches an entry in `data.locations`",
731
731
  "examples": [
@@ -778,7 +778,7 @@
778
778
  },
779
779
  "participant_id_hash": {
780
780
  "type": "string",
781
- "pattern": "^[0-9a-fA-F]{64}$",
781
+ "pattern": "^[a-f0-9]{64}$",
782
782
  "title": "Participant ID Hash",
783
783
  "description": "SHA-256 hash anonymizing a participant identity — used to link records without exposing personal data",
784
784
  "examples": [
@@ -787,7 +787,7 @@
787
787
  },
788
788
  "location_id_hash": {
789
789
  "type": "string",
790
- "pattern": "^[0-9a-fA-F]{64}$",
790
+ "pattern": "^[a-f0-9]{64}$",
791
791
  "title": "Location ID Hash",
792
792
  "description": "Hash reference to the geographic location where this event occurred; matches an entry in `data.locations`",
793
793
  "examples": [
@@ -866,7 +866,7 @@
866
866
  },
867
867
  "participant_id_hash": {
868
868
  "type": "string",
869
- "pattern": "^[0-9a-fA-F]{64}$",
869
+ "pattern": "^[a-f0-9]{64}$",
870
870
  "title": "Participant ID Hash",
871
871
  "description": "SHA-256 hash anonymizing a participant identity — used to link records without exposing personal data",
872
872
  "examples": [
@@ -875,7 +875,7 @@
875
875
  },
876
876
  "location_id_hash": {
877
877
  "type": "string",
878
- "pattern": "^[0-9a-fA-F]{64}$",
878
+ "pattern": "^[a-f0-9]{64}$",
879
879
  "title": "Location ID Hash",
880
880
  "description": "Hash reference to the geographic location where this event occurred; matches an entry in `data.locations`",
881
881
  "examples": [
@@ -984,7 +984,7 @@
984
984
  },
985
985
  "audit_data_hash": {
986
986
  "type": "string",
987
- "pattern": "^[0-9a-fA-F]{64}$",
987
+ "pattern": "^[a-f0-9]{64}$",
988
988
  "title": "Audit Data Hash",
989
989
  "description": "SHA-256 hash of the original JSON content including private data before schema validation, used for data audit purposes",
990
990
  "examples": [
@@ -1911,6 +1911,6 @@
1911
1911
  "additionalProperties": false,
1912
1912
  "title": "MassID NFT IPFS Record",
1913
1913
  "description": "Complete MassID NFT IPFS record including waste classification, chain-of-custody lifecycle events, geographic locations, supply-chain participants, and NFT display attributes",
1914
- "$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.1/schemas/ipfs/mass-id/mass-id.schema.json",
1915
- "version": "0.5.1"
1914
+ "$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/mass-id/mass-id.schema.json",
1915
+ "version": "2.0.0"
1916
1916
  }
@@ -1,9 +1,9 @@
1
1
  {
2
- "$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.1/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json",
2
+ "$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json",
3
3
  "schema": {
4
- "hash": "5bbadb90250c41ef61aa1beaa7f146f3f4c7b5cba78b25f71b152624cdf8ded7",
4
+ "hash": "ff524d3c15bd9a1c2aa3e1e4ec72bb7865358c8290b270aca3080cca6589df69",
5
5
  "type": "MassID Audit",
6
- "version": "0.5.1",
6
+ "version": "2.0.0",
7
7
  "ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
8
8
  },
9
9
  "environment": {
@@ -14,7 +14,7 @@
14
14
  "properties": {
15
15
  "hash": {
16
16
  "type": "string",
17
- "pattern": "^[0-9a-fA-F]{64}$",
17
+ "pattern": "^[a-f0-9]{64}$",
18
18
  "title": "Schema Hash",
19
19
  "description": "SHA-256 hash of the JSON Schema this record was validated against",
20
20
  "examples": [
@@ -105,7 +105,7 @@
105
105
  },
106
106
  "integrity_hash": {
107
107
  "type": "string",
108
- "pattern": "^[0-9a-fA-F]{64}$",
108
+ "pattern": "^[a-f0-9]{64}$",
109
109
  "title": "Viewer Integrity Hash",
110
110
  "description": "SHA-256 hash of the published viewer bundle to verify integrity",
111
111
  "examples": [
@@ -674,6 +674,6 @@
674
674
  "additionalProperties": false,
675
675
  "title": "MassID Audit IPFS Record",
676
676
  "description": "MassID audit record stored in IPFS, containing methodology reference, audit summary, rule execution results, and links to the source MassID and resulting GasID or RecycledID",
677
- "$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.1/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json",
678
- "version": "0.5.1"
677
+ "$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json",
678
+ "version": "2.0.0"
679
679
  }
@@ -1,9 +1,9 @@
1
1
  {
2
- "$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.1/schemas/ipfs/methodology/methodology.schema.json",
2
+ "$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/methodology/methodology.schema.json",
3
3
  "schema": {
4
- "hash": "578345b79ca30927af7de58684a4b3a44b6ee2142c0e59e7c2798c8c75ca5ca6",
4
+ "hash": "e6b7e2e99bc6e77189d57f1921e8d6ccab5164fde7c19d44fe9045b85875c2ba",
5
5
  "type": "Methodology",
6
- "version": "0.5.1",
6
+ "version": "2.0.0",
7
7
  "ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
8
8
  },
9
9
  "environment": {
@@ -14,7 +14,7 @@
14
14
  "properties": {
15
15
  "hash": {
16
16
  "type": "string",
17
- "pattern": "^[0-9a-fA-F]{64}$",
17
+ "pattern": "^[a-f0-9]{64}$",
18
18
  "title": "Schema Hash",
19
19
  "description": "SHA-256 hash of the JSON Schema this record was validated against",
20
20
  "examples": [
@@ -105,7 +105,7 @@
105
105
  },
106
106
  "integrity_hash": {
107
107
  "type": "string",
108
- "pattern": "^[0-9a-fA-F]{64}$",
108
+ "pattern": "^[a-f0-9]{64}$",
109
109
  "title": "Viewer Integrity Hash",
110
110
  "description": "SHA-256 hash of the published viewer bundle to verify integrity",
111
111
  "examples": [
@@ -369,6 +369,6 @@
369
369
  "additionalProperties": false,
370
370
  "title": "Methodology IPFS Record",
371
371
  "description": "Methodology metadata stored in IPFS, defining the environmental impact measurement approach including versioning, documentation, and MassID audit rules",
372
- "$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.1/schemas/ipfs/methodology/methodology.schema.json",
373
- "version": "0.5.1"
372
+ "$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/methodology/methodology.schema.json",
373
+ "version": "2.0.0"
374
374
  }
@@ -1,9 +1,9 @@
1
1
  {
2
- "$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.1/schemas/ipfs/recycled-id/recycled-id.schema.json",
2
+ "$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/recycled-id/recycled-id.schema.json",
3
3
  "schema": {
4
- "hash": "ed9e7eda88b26b15d10352bea039e6325951c0b30c1d908e71b402a2b3277861",
4
+ "hash": "4e6c1eb6adc45861f02df3f373082b3cfc5d4e942553211af9af7b55a8d84a6a",
5
5
  "type": "RecycledID",
6
- "version": "0.5.1",
6
+ "version": "2.0.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": "5793faa54fec5c96ef2fcafabaf5dc25bcb110773ac56cba30dd31cda1d577e5",
23
+ "audit_data_hash": "250ade0f29bb0f83c6dfac3d20139a34d8181d57bdf6238cca1dddee2590436a",
24
24
  "viewer_reference": {
25
25
  "ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
26
26
  "integrity_hash": "87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
@@ -14,7 +14,7 @@
14
14
  "properties": {
15
15
  "hash": {
16
16
  "type": "string",
17
- "pattern": "^[0-9a-fA-F]{64}$",
17
+ "pattern": "^[a-f0-9]{64}$",
18
18
  "title": "Schema Hash",
19
19
  "description": "SHA-256 hash of the JSON Schema this record was validated against",
20
20
  "examples": [
@@ -105,7 +105,7 @@
105
105
  },
106
106
  "integrity_hash": {
107
107
  "type": "string",
108
- "pattern": "^[0-9a-fA-F]{64}$",
108
+ "pattern": "^[a-f0-9]{64}$",
109
109
  "title": "Viewer Integrity Hash",
110
110
  "description": "SHA-256 hash of the published viewer bundle to verify integrity",
111
111
  "examples": [
@@ -510,7 +510,7 @@
510
510
  "properties": {
511
511
  "id_hash": {
512
512
  "type": "string",
513
- "pattern": "^[0-9a-fA-F]{64}$",
513
+ "pattern": "^[a-f0-9]{64}$",
514
514
  "title": "Location ID Hash",
515
515
  "description": "SHA-256 hash anonymizing the real location identifier for privacy",
516
516
  "examples": [
@@ -553,7 +553,7 @@
553
553
  },
554
554
  "responsible_participant_id_hash": {
555
555
  "type": "string",
556
- "pattern": "^[0-9a-fA-F]{64}$",
556
+ "pattern": "^[a-f0-9]{64}$",
557
557
  "title": "Responsible Participant ID Hash",
558
558
  "description": "SHA-256 hash identifying the participant responsible for operations at this location",
559
559
  "examples": [
@@ -623,7 +623,7 @@
623
623
  },
624
624
  "audit_data_hash": {
625
625
  "type": "string",
626
- "pattern": "^[0-9a-fA-F]{64}$",
626
+ "pattern": "^[a-f0-9]{64}$",
627
627
  "title": "Audit Data Hash",
628
628
  "description": "SHA-256 hash of the original JSON content including private data before schema validation, used for data audit purposes",
629
629
  "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.5.1/schemas/ipfs/recycled-id/recycled-id.schema.json",
1363
- "version": "0.5.1"
1362
+ "$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/2.0.0/schemas/ipfs/recycled-id/recycled-id.schema.json",
1363
+ "version": "2.0.0"
1364
1364
  }
@@ -1,40 +1,40 @@
1
1
  {
2
- "version": "0.5.1",
2
+ "version": "2.0.0",
3
3
  "schemas": {
4
4
  "ipfs/recycled-id/recycled-id.schema.json": {
5
- "hash": "ed9e7eda88b26b15d10352bea039e6325951c0b30c1d908e71b402a2b3277861",
5
+ "hash": "4e6c1eb6adc45861f02df3f373082b3cfc5d4e942553211af9af7b55a8d84a6a",
6
6
  "path": "ipfs/recycled-id/recycled-id.schema.json"
7
7
  },
8
8
  "ipfs/methodology/methodology.schema.json": {
9
- "hash": "578345b79ca30927af7de58684a4b3a44b6ee2142c0e59e7c2798c8c75ca5ca6",
9
+ "hash": "e6b7e2e99bc6e77189d57f1921e8d6ccab5164fde7c19d44fe9045b85875c2ba",
10
10
  "path": "ipfs/methodology/methodology.schema.json"
11
11
  },
12
12
  "ipfs/mass-id-audit/mass-id-audit.schema.json": {
13
- "hash": "5bbadb90250c41ef61aa1beaa7f146f3f4c7b5cba78b25f71b152624cdf8ded7",
13
+ "hash": "ff524d3c15bd9a1c2aa3e1e4ec72bb7865358c8290b270aca3080cca6589df69",
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": "519b36aab4d590ed95161acf4472eb506b2232bbc7766b20bc8682c17f7b16e6",
17
+ "hash": "6d604692ab67a3fbfe9c53e2ebc6bde71676e004577beffbe725db43754373fe",
18
18
  "path": "ipfs/mass-id/mass-id.schema.json"
19
19
  },
20
20
  "ipfs/gas-id/gas-id.schema.json": {
21
- "hash": "fefdb7b4b13e4771324b8eb65fa29c0a3894a90cda6806aa46c5d95c09e60b0d",
21
+ "hash": "dfe3989bd87dffb52c9ca67c38d21a6383cf1627e1284f7130f7ebccc66e9c40",
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": "c2762646feb40d22aef26501ad33eba7024beb5cec19e559b19fce4d8d755948",
25
+ "hash": "1d18e69818a011f212b5afab08b9f06de09c69bdb01a9c533f61db19f5f3c175",
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": "bc9882d5b3da7f685798b9e9c7757fddcf1cbe7f9fd6584c176d10b96a722219",
29
+ "hash": "54ec0930e3d1db3020b7956e77f3552e1a293bab5134de8b39af7feaeedfb6c5",
30
30
  "path": "ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json"
31
31
  },
32
32
  "ipfs/credit/credit.schema.json": {
33
- "hash": "1847342cd37859fe53f49ff0b2811173f55bc2d68ed8f43c32381728bd21e24f",
33
+ "hash": "201ec75ec44512f97e53d166b6a6f6287b7645fea3cca56a9afcd3f4721cf633",
34
34
  "path": "ipfs/credit/credit.schema.json"
35
35
  },
36
36
  "ipfs/collection/collection.schema.json": {
37
- "hash": "ac9ab55eb672748c69c3421259fffa7e6257f080d2e722859085b245cf226f91",
37
+ "hash": "113c3f8887b98ee1d403a96ac20018b1c54cb3f6e43d7213a93471aa461e6893",
38
38
  "path": "ipfs/collection/collection.schema.json"
39
39
  }
40
40
  }