@carrot-foundation/schemas 0.5.0 → 1.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.
package/dist/index.d.cts CHANGED
@@ -251,8 +251,8 @@ type MassIDAttachment = z.infer<typeof MassIDAttachmentSchema>;
251
251
  declare const MassIDEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
252
252
  event_id: z.ZodUUID;
253
253
  timestamp: z.ZodISODateTime;
254
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
255
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
254
+ participant_id_hash: z.ZodString;
255
+ location_id_hash: z.ZodString;
256
256
  event_name: z.ZodLiteral<"Pick-up">;
257
257
  data: z.ZodOptional<z.ZodObject<{
258
258
  vehicle_type: z.ZodOptional<z.ZodEnum<{
@@ -272,8 +272,8 @@ declare const MassIDEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
272
272
  }, z.core.$strict>, z.ZodObject<{
273
273
  event_id: z.ZodUUID;
274
274
  timestamp: z.ZodISODateTime;
275
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
276
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
275
+ participant_id_hash: z.ZodString;
276
+ location_id_hash: z.ZodString;
277
277
  event_name: z.ZodLiteral<"Weighing">;
278
278
  data: z.ZodOptional<z.ZodObject<{
279
279
  weighing_capture_method: z.ZodOptional<z.ZodEnum<{
@@ -322,14 +322,14 @@ declare const MassIDEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
322
322
  }, z.core.$strict>, z.ZodObject<{
323
323
  event_id: z.ZodUUID;
324
324
  timestamp: z.ZodISODateTime;
325
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
326
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
325
+ participant_id_hash: z.ZodString;
326
+ location_id_hash: z.ZodString;
327
327
  event_name: z.ZodLiteral<"Drop-off">;
328
328
  }, z.core.$strict>, z.ZodObject<{
329
329
  event_id: z.ZodUUID;
330
330
  timestamp: z.ZodISODateTime;
331
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
332
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
331
+ participant_id_hash: z.ZodString;
332
+ location_id_hash: z.ZodString;
333
333
  event_name: z.ZodLiteral<"Sorting">;
334
334
  data: z.ZodOptional<z.ZodObject<{
335
335
  initial_weight_kg: z.ZodOptional<z.ZodNumber>;
@@ -338,16 +338,16 @@ declare const MassIDEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
338
338
  }, z.core.$strict>, z.ZodObject<{
339
339
  event_id: z.ZodUUID;
340
340
  timestamp: z.ZodISODateTime;
341
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
342
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
341
+ participant_id_hash: z.ZodString;
342
+ location_id_hash: z.ZodString;
343
343
  event_name: z.ZodLiteral<"Recycling">;
344
344
  }, z.core.$strict>], "event_name">;
345
345
  type MassIDEvent = z.infer<typeof MassIDEventSchema>;
346
346
  declare const MassIDEventsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
347
347
  event_id: z.ZodUUID;
348
348
  timestamp: z.ZodISODateTime;
349
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
350
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
349
+ participant_id_hash: z.ZodString;
350
+ location_id_hash: z.ZodString;
351
351
  event_name: z.ZodLiteral<"Pick-up">;
352
352
  data: z.ZodOptional<z.ZodObject<{
353
353
  vehicle_type: z.ZodOptional<z.ZodEnum<{
@@ -367,8 +367,8 @@ declare const MassIDEventsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObjec
367
367
  }, z.core.$strict>, z.ZodObject<{
368
368
  event_id: z.ZodUUID;
369
369
  timestamp: z.ZodISODateTime;
370
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
371
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
370
+ participant_id_hash: z.ZodString;
371
+ location_id_hash: z.ZodString;
372
372
  event_name: z.ZodLiteral<"Weighing">;
373
373
  data: z.ZodOptional<z.ZodObject<{
374
374
  weighing_capture_method: z.ZodOptional<z.ZodEnum<{
@@ -417,14 +417,14 @@ declare const MassIDEventsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObjec
417
417
  }, z.core.$strict>, z.ZodObject<{
418
418
  event_id: z.ZodUUID;
419
419
  timestamp: z.ZodISODateTime;
420
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
421
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
420
+ participant_id_hash: z.ZodString;
421
+ location_id_hash: z.ZodString;
422
422
  event_name: z.ZodLiteral<"Drop-off">;
423
423
  }, z.core.$strict>, z.ZodObject<{
424
424
  event_id: z.ZodUUID;
425
425
  timestamp: z.ZodISODateTime;
426
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
427
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
426
+ participant_id_hash: z.ZodString;
427
+ location_id_hash: z.ZodString;
428
428
  event_name: z.ZodLiteral<"Sorting">;
429
429
  data: z.ZodOptional<z.ZodObject<{
430
430
  initial_weight_kg: z.ZodOptional<z.ZodNumber>;
@@ -433,8 +433,8 @@ declare const MassIDEventsSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObjec
433
433
  }, z.core.$strict>, z.ZodObject<{
434
434
  event_id: z.ZodUUID;
435
435
  timestamp: z.ZodISODateTime;
436
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
437
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
436
+ participant_id_hash: z.ZodString;
437
+ location_id_hash: z.ZodString;
438
438
  event_name: z.ZodLiteral<"Recycling">;
439
439
  }, z.core.$strict>], "event_name">>;
440
440
  type MassIDEvents = z.infer<typeof MassIDEventsSchema>;
@@ -459,18 +459,18 @@ declare const MassIDDataSchema: z.ZodObject<{
459
459
  weight_kg: z.ZodNumber;
460
460
  }, z.core.$strict>;
461
461
  locations: z.ZodArray<z.ZodObject<{
462
- id_hash: z.ZodCustomStringFormat<"sha256_hex">;
462
+ id_hash: z.ZodString;
463
463
  city: z.ZodString;
464
464
  subdivision_code: z.ZodString;
465
465
  country_code: z.ZodString & z.ZodType<"BR", string, z.core.$ZodTypeInternals<"BR", string>>;
466
- responsible_participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
466
+ responsible_participant_id_hash: z.ZodString;
467
467
  coordinates: z.ZodOptional<z.ZodObject<{
468
468
  latitude: z.ZodNumber;
469
469
  longitude: z.ZodNumber;
470
470
  }, z.core.$strict>>;
471
471
  }, z.core.$strict>>;
472
472
  participants: z.ZodArray<z.ZodObject<{
473
- id_hash: z.ZodCustomStringFormat<"sha256_hex">;
473
+ id_hash: z.ZodString;
474
474
  roles: z.ZodArray<z.ZodEnum<{
475
475
  "Community Impact Pool": "Community Impact Pool";
476
476
  Hauler: "Hauler";
@@ -486,8 +486,8 @@ declare const MassIDDataSchema: z.ZodObject<{
486
486
  events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
487
487
  event_id: z.ZodUUID;
488
488
  timestamp: z.ZodISODateTime;
489
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
490
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
489
+ participant_id_hash: z.ZodString;
490
+ location_id_hash: z.ZodString;
491
491
  event_name: z.ZodLiteral<"Pick-up">;
492
492
  data: z.ZodOptional<z.ZodObject<{
493
493
  vehicle_type: z.ZodOptional<z.ZodEnum<{
@@ -507,8 +507,8 @@ declare const MassIDDataSchema: z.ZodObject<{
507
507
  }, z.core.$strict>, z.ZodObject<{
508
508
  event_id: z.ZodUUID;
509
509
  timestamp: z.ZodISODateTime;
510
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
511
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
510
+ participant_id_hash: z.ZodString;
511
+ location_id_hash: z.ZodString;
512
512
  event_name: z.ZodLiteral<"Weighing">;
513
513
  data: z.ZodOptional<z.ZodObject<{
514
514
  weighing_capture_method: z.ZodOptional<z.ZodEnum<{
@@ -557,14 +557,14 @@ declare const MassIDDataSchema: z.ZodObject<{
557
557
  }, z.core.$strict>, z.ZodObject<{
558
558
  event_id: z.ZodUUID;
559
559
  timestamp: z.ZodISODateTime;
560
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
561
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
560
+ participant_id_hash: z.ZodString;
561
+ location_id_hash: z.ZodString;
562
562
  event_name: z.ZodLiteral<"Drop-off">;
563
563
  }, z.core.$strict>, z.ZodObject<{
564
564
  event_id: z.ZodUUID;
565
565
  timestamp: z.ZodISODateTime;
566
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
567
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
566
+ participant_id_hash: z.ZodString;
567
+ location_id_hash: z.ZodString;
568
568
  event_name: z.ZodLiteral<"Sorting">;
569
569
  data: z.ZodOptional<z.ZodObject<{
570
570
  initial_weight_kg: z.ZodOptional<z.ZodNumber>;
@@ -573,8 +573,8 @@ declare const MassIDDataSchema: z.ZodObject<{
573
573
  }, z.core.$strict>, z.ZodObject<{
574
574
  event_id: z.ZodUUID;
575
575
  timestamp: z.ZodISODateTime;
576
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
577
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
576
+ participant_id_hash: z.ZodString;
577
+ location_id_hash: z.ZodString;
578
578
  event_name: z.ZodLiteral<"Recycling">;
579
579
  }, z.core.$strict>], "event_name">>;
580
580
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -600,10 +600,10 @@ declare const MassIDIpfsSchema: z.ZodObject<{
600
600
  created_at: z.ZodISODateTime;
601
601
  external_id: z.ZodUUID;
602
602
  external_url: z.ZodURL;
603
- audit_data_hash: z.ZodCustomStringFormat<"sha256_hex">;
603
+ audit_data_hash: z.ZodString;
604
604
  viewer_reference: z.ZodObject<{
605
605
  ipfs_uri: z.ZodString;
606
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
606
+ integrity_hash: z.ZodString;
607
607
  }, z.core.$strict>;
608
608
  environment: z.ZodObject<{
609
609
  blockchain_network: z.ZodEnum<{
@@ -639,7 +639,7 @@ declare const MassIDIpfsSchema: z.ZodObject<{
639
639
  description: z.ZodOptional<z.ZodString>;
640
640
  }, z.core.$strict>>>;
641
641
  schema: z.ZodObject<{
642
- hash: z.ZodCustomStringFormat<"sha256_hex">;
642
+ hash: z.ZodString;
643
643
  version: z.ZodString;
644
644
  ipfs_uri: z.ZodString;
645
645
  type: z.ZodLiteral<"MassID">;
@@ -678,18 +678,18 @@ declare const MassIDIpfsSchema: z.ZodObject<{
678
678
  weight_kg: z.ZodNumber;
679
679
  }, z.core.$strict>;
680
680
  locations: z.ZodArray<z.ZodObject<{
681
- id_hash: z.ZodCustomStringFormat<"sha256_hex">;
681
+ id_hash: z.ZodString;
682
682
  city: z.ZodString;
683
683
  subdivision_code: z.ZodString;
684
684
  country_code: z.ZodString & z.ZodType<"BR", string, z.core.$ZodTypeInternals<"BR", string>>;
685
- responsible_participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
685
+ responsible_participant_id_hash: z.ZodString;
686
686
  coordinates: z.ZodOptional<z.ZodObject<{
687
687
  latitude: z.ZodNumber;
688
688
  longitude: z.ZodNumber;
689
689
  }, z.core.$strict>>;
690
690
  }, z.core.$strict>>;
691
691
  participants: z.ZodArray<z.ZodObject<{
692
- id_hash: z.ZodCustomStringFormat<"sha256_hex">;
692
+ id_hash: z.ZodString;
693
693
  roles: z.ZodArray<z.ZodEnum<{
694
694
  "Community Impact Pool": "Community Impact Pool";
695
695
  Hauler: "Hauler";
@@ -705,8 +705,8 @@ declare const MassIDIpfsSchema: z.ZodObject<{
705
705
  events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
706
706
  event_id: z.ZodUUID;
707
707
  timestamp: z.ZodISODateTime;
708
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
709
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
708
+ participant_id_hash: z.ZodString;
709
+ location_id_hash: z.ZodString;
710
710
  event_name: z.ZodLiteral<"Pick-up">;
711
711
  data: z.ZodOptional<z.ZodObject<{
712
712
  vehicle_type: z.ZodOptional<z.ZodEnum<{
@@ -726,8 +726,8 @@ declare const MassIDIpfsSchema: z.ZodObject<{
726
726
  }, z.core.$strict>, z.ZodObject<{
727
727
  event_id: z.ZodUUID;
728
728
  timestamp: z.ZodISODateTime;
729
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
730
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
729
+ participant_id_hash: z.ZodString;
730
+ location_id_hash: z.ZodString;
731
731
  event_name: z.ZodLiteral<"Weighing">;
732
732
  data: z.ZodOptional<z.ZodObject<{
733
733
  weighing_capture_method: z.ZodOptional<z.ZodEnum<{
@@ -776,14 +776,14 @@ declare const MassIDIpfsSchema: z.ZodObject<{
776
776
  }, z.core.$strict>, z.ZodObject<{
777
777
  event_id: z.ZodUUID;
778
778
  timestamp: z.ZodISODateTime;
779
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
780
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
779
+ participant_id_hash: z.ZodString;
780
+ location_id_hash: z.ZodString;
781
781
  event_name: z.ZodLiteral<"Drop-off">;
782
782
  }, z.core.$strict>, z.ZodObject<{
783
783
  event_id: z.ZodUUID;
784
784
  timestamp: z.ZodISODateTime;
785
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
786
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
785
+ participant_id_hash: z.ZodString;
786
+ location_id_hash: z.ZodString;
787
787
  event_name: z.ZodLiteral<"Sorting">;
788
788
  data: z.ZodOptional<z.ZodObject<{
789
789
  initial_weight_kg: z.ZodOptional<z.ZodNumber>;
@@ -792,8 +792,8 @@ declare const MassIDIpfsSchema: z.ZodObject<{
792
792
  }, z.core.$strict>, z.ZodObject<{
793
793
  event_id: z.ZodUUID;
794
794
  timestamp: z.ZodISODateTime;
795
- participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
796
- location_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
795
+ participant_id_hash: z.ZodString;
796
+ location_id_hash: z.ZodString;
797
797
  event_name: z.ZodLiteral<"Recycling">;
798
798
  }, z.core.$strict>], "event_name">>;
799
799
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1141,11 +1141,11 @@ declare const GasIDDataSchema: z.ZodObject<{
1141
1141
  weight_kg: z.ZodNumber;
1142
1142
  }, z.core.$strict>;
1143
1143
  origin_location: z.ZodObject<{
1144
- id_hash: z.ZodCustomStringFormat<"sha256_hex">;
1144
+ id_hash: z.ZodString;
1145
1145
  city: z.ZodString;
1146
1146
  subdivision_code: z.ZodString;
1147
1147
  country_code: z.ZodString & z.ZodType<"BR", string, z.core.$ZodTypeInternals<"BR", string>>;
1148
- responsible_participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
1148
+ responsible_participant_id_hash: z.ZodString;
1149
1149
  coordinates: z.ZodOptional<z.ZodObject<{
1150
1150
  latitude: z.ZodNumber;
1151
1151
  longitude: z.ZodNumber;
@@ -1175,10 +1175,10 @@ declare const GasIDIpfsSchema: z.ZodObject<{
1175
1175
  created_at: z.ZodISODateTime;
1176
1176
  external_id: z.ZodUUID;
1177
1177
  external_url: z.ZodURL;
1178
- audit_data_hash: z.ZodCustomStringFormat<"sha256_hex">;
1178
+ audit_data_hash: z.ZodString;
1179
1179
  viewer_reference: z.ZodObject<{
1180
1180
  ipfs_uri: z.ZodString;
1181
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
1181
+ integrity_hash: z.ZodString;
1182
1182
  }, z.core.$strict>;
1183
1183
  environment: z.ZodObject<{
1184
1184
  blockchain_network: z.ZodEnum<{
@@ -1214,7 +1214,7 @@ declare const GasIDIpfsSchema: z.ZodObject<{
1214
1214
  description: z.ZodOptional<z.ZodString>;
1215
1215
  }, z.core.$strict>>>;
1216
1216
  schema: z.ZodObject<{
1217
- hash: z.ZodCustomStringFormat<"sha256_hex">;
1217
+ hash: z.ZodString;
1218
1218
  version: z.ZodString;
1219
1219
  ipfs_uri: z.ZodString;
1220
1220
  type: z.ZodLiteral<"GasID">;
@@ -1387,11 +1387,11 @@ declare const GasIDIpfsSchema: z.ZodObject<{
1387
1387
  weight_kg: z.ZodNumber;
1388
1388
  }, z.core.$strict>;
1389
1389
  origin_location: z.ZodObject<{
1390
- id_hash: z.ZodCustomStringFormat<"sha256_hex">;
1390
+ id_hash: z.ZodString;
1391
1391
  city: z.ZodString;
1392
1392
  subdivision_code: z.ZodString;
1393
1393
  country_code: z.ZodString & z.ZodType<"BR", string, z.core.$ZodTypeInternals<"BR", string>>;
1394
- responsible_participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
1394
+ responsible_participant_id_hash: z.ZodString;
1395
1395
  coordinates: z.ZodOptional<z.ZodObject<{
1396
1396
  latitude: z.ZodNumber;
1397
1397
  longitude: z.ZodNumber;
@@ -1694,11 +1694,11 @@ declare const RecycledIDDataSchema: z.ZodObject<{
1694
1694
  weight_kg: z.ZodNumber;
1695
1695
  }, z.core.$strict>;
1696
1696
  origin_location: z.ZodObject<{
1697
- id_hash: z.ZodCustomStringFormat<"sha256_hex">;
1697
+ id_hash: z.ZodString;
1698
1698
  city: z.ZodString;
1699
1699
  subdivision_code: z.ZodString;
1700
1700
  country_code: z.ZodString & z.ZodType<"BR", string, z.core.$ZodTypeInternals<"BR", string>>;
1701
- responsible_participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
1701
+ responsible_participant_id_hash: z.ZodString;
1702
1702
  coordinates: z.ZodOptional<z.ZodObject<{
1703
1703
  latitude: z.ZodNumber;
1704
1704
  longitude: z.ZodNumber;
@@ -1718,10 +1718,10 @@ declare const RecycledIDIpfsSchema: z.ZodObject<{
1718
1718
  created_at: z.ZodISODateTime;
1719
1719
  external_id: z.ZodUUID;
1720
1720
  external_url: z.ZodURL;
1721
- audit_data_hash: z.ZodCustomStringFormat<"sha256_hex">;
1721
+ audit_data_hash: z.ZodString;
1722
1722
  viewer_reference: z.ZodObject<{
1723
1723
  ipfs_uri: z.ZodString;
1724
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
1724
+ integrity_hash: z.ZodString;
1725
1725
  }, z.core.$strict>;
1726
1726
  environment: z.ZodObject<{
1727
1727
  blockchain_network: z.ZodEnum<{
@@ -1757,7 +1757,7 @@ declare const RecycledIDIpfsSchema: z.ZodObject<{
1757
1757
  description: z.ZodOptional<z.ZodString>;
1758
1758
  }, z.core.$strict>>>;
1759
1759
  schema: z.ZodObject<{
1760
- hash: z.ZodCustomStringFormat<"sha256_hex">;
1760
+ hash: z.ZodString;
1761
1761
  version: z.ZodString;
1762
1762
  ipfs_uri: z.ZodString;
1763
1763
  type: z.ZodLiteral<"RecycledID">;
@@ -1915,11 +1915,11 @@ declare const RecycledIDIpfsSchema: z.ZodObject<{
1915
1915
  weight_kg: z.ZodNumber;
1916
1916
  }, z.core.$strict>;
1917
1917
  origin_location: z.ZodObject<{
1918
- id_hash: z.ZodCustomStringFormat<"sha256_hex">;
1918
+ id_hash: z.ZodString;
1919
1919
  city: z.ZodString;
1920
1920
  subdivision_code: z.ZodString;
1921
1921
  country_code: z.ZodString & z.ZodType<"BR", string, z.core.$ZodTypeInternals<"BR", string>>;
1922
- responsible_participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
1922
+ responsible_participant_id_hash: z.ZodString;
1923
1923
  coordinates: z.ZodOptional<z.ZodObject<{
1924
1924
  latitude: z.ZodNumber;
1925
1925
  longitude: z.ZodNumber;
@@ -1949,8 +1949,8 @@ declare const CreditPurchaseReceiptIdentitySchema: z.ZodObject<{
1949
1949
  }, z.core.$strict>;
1950
1950
  type CreditPurchaseReceiptIdentity = z.infer<typeof CreditPurchaseReceiptIdentitySchema>;
1951
1951
  declare const CreditPurchaseReceiptBuyerSchema: z.ZodObject<{
1952
- wallet_address: z.ZodString;
1953
- id: z.ZodOptional<z.ZodUUID>;
1952
+ id_hash: z.ZodString;
1953
+ wallet_address: z.ZodOptional<z.ZodString>;
1954
1954
  identity: z.ZodOptional<z.ZodObject<{
1955
1955
  name: z.ZodOptional<z.ZodString>;
1956
1956
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2041,8 +2041,8 @@ declare const CreditPurchaseReceiptDataSchema: z.ZodObject<{
2041
2041
  purchased_at: z.ZodISODateTime;
2042
2042
  }, z.core.$strict>;
2043
2043
  buyer: z.ZodObject<{
2044
- wallet_address: z.ZodString;
2045
- id: z.ZodOptional<z.ZodUUID>;
2044
+ id_hash: z.ZodString;
2045
+ wallet_address: z.ZodOptional<z.ZodString>;
2046
2046
  identity: z.ZodOptional<z.ZodObject<{
2047
2047
  name: z.ZodOptional<z.ZodString>;
2048
2048
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2134,10 +2134,10 @@ declare const CreditPurchaseReceiptIpfsSchema: z.ZodObject<{
2134
2134
  created_at: z.ZodISODateTime;
2135
2135
  external_id: z.ZodUUID;
2136
2136
  external_url: z.ZodURL;
2137
- audit_data_hash: z.ZodCustomStringFormat<"sha256_hex">;
2137
+ audit_data_hash: z.ZodString;
2138
2138
  viewer_reference: z.ZodObject<{
2139
2139
  ipfs_uri: z.ZodString;
2140
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
2140
+ integrity_hash: z.ZodString;
2141
2141
  }, z.core.$strict>;
2142
2142
  environment: z.ZodObject<{
2143
2143
  blockchain_network: z.ZodEnum<{
@@ -2173,7 +2173,7 @@ declare const CreditPurchaseReceiptIpfsSchema: z.ZodObject<{
2173
2173
  description: z.ZodOptional<z.ZodString>;
2174
2174
  }, z.core.$strict>>>;
2175
2175
  schema: z.ZodObject<{
2176
- hash: z.ZodCustomStringFormat<"sha256_hex">;
2176
+ hash: z.ZodString;
2177
2177
  version: z.ZodString;
2178
2178
  ipfs_uri: z.ZodString;
2179
2179
  type: z.ZodLiteral<"CreditPurchaseReceipt">;
@@ -2199,8 +2199,8 @@ declare const CreditPurchaseReceiptIpfsSchema: z.ZodObject<{
2199
2199
  purchased_at: z.ZodISODateTime;
2200
2200
  }, z.core.$strict>;
2201
2201
  buyer: z.ZodObject<{
2202
- wallet_address: z.ZodString;
2203
- id: z.ZodOptional<z.ZodUUID>;
2202
+ id_hash: z.ZodString;
2203
+ wallet_address: z.ZodOptional<z.ZodString>;
2204
2204
  identity: z.ZodOptional<z.ZodObject<{
2205
2205
  name: z.ZodOptional<z.ZodString>;
2206
2206
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2302,7 +2302,8 @@ declare const CreditRetirementReceiptIdentitySchema: z.ZodObject<{
2302
2302
  }, z.core.$strict>;
2303
2303
  type CreditRetirementReceiptIdentity = z.infer<typeof CreditRetirementReceiptIdentitySchema>;
2304
2304
  declare const CreditRetirementReceiptBeneficiarySchema: z.ZodObject<{
2305
- beneficiary_id: z.ZodUUID;
2305
+ id_hash: z.ZodString;
2306
+ wallet_address: z.ZodOptional<z.ZodString>;
2306
2307
  identity: z.ZodOptional<z.ZodObject<{
2307
2308
  name: z.ZodOptional<z.ZodString>;
2308
2309
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2311,7 +2312,8 @@ declare const CreditRetirementReceiptBeneficiarySchema: z.ZodObject<{
2311
2312
  }, z.core.$strict>;
2312
2313
  type CreditRetirementReceiptBeneficiary = z.infer<typeof CreditRetirementReceiptBeneficiarySchema>;
2313
2314
  declare const CreditRetirementReceiptCreditHolderSchema: z.ZodObject<{
2314
- wallet_address: z.ZodString;
2315
+ id_hash: z.ZodString;
2316
+ wallet_address: z.ZodOptional<z.ZodString>;
2315
2317
  identity: z.ZodOptional<z.ZodObject<{
2316
2318
  name: z.ZodOptional<z.ZodString>;
2317
2319
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2415,7 +2417,8 @@ declare const CreditRetirementReceiptDataSchema: z.ZodObject<{
2415
2417
  retired_at: z.ZodISODateTime;
2416
2418
  }, z.core.$strict>;
2417
2419
  beneficiary: z.ZodObject<{
2418
- beneficiary_id: z.ZodUUID;
2420
+ id_hash: z.ZodString;
2421
+ wallet_address: z.ZodOptional<z.ZodString>;
2419
2422
  identity: z.ZodOptional<z.ZodObject<{
2420
2423
  name: z.ZodOptional<z.ZodString>;
2421
2424
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2423,7 +2426,8 @@ declare const CreditRetirementReceiptDataSchema: z.ZodObject<{
2423
2426
  }, z.core.$strict>>;
2424
2427
  }, z.core.$strict>;
2425
2428
  credit_holder: z.ZodObject<{
2426
- wallet_address: z.ZodString;
2429
+ id_hash: z.ZodString;
2430
+ wallet_address: z.ZodOptional<z.ZodString>;
2427
2431
  identity: z.ZodOptional<z.ZodObject<{
2428
2432
  name: z.ZodOptional<z.ZodString>;
2429
2433
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2523,10 +2527,10 @@ declare const CreditRetirementReceiptIpfsSchema: z.ZodObject<{
2523
2527
  created_at: z.ZodISODateTime;
2524
2528
  external_id: z.ZodUUID;
2525
2529
  external_url: z.ZodURL;
2526
- audit_data_hash: z.ZodCustomStringFormat<"sha256_hex">;
2530
+ audit_data_hash: z.ZodString;
2527
2531
  viewer_reference: z.ZodObject<{
2528
2532
  ipfs_uri: z.ZodString;
2529
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
2533
+ integrity_hash: z.ZodString;
2530
2534
  }, z.core.$strict>;
2531
2535
  environment: z.ZodObject<{
2532
2536
  blockchain_network: z.ZodEnum<{
@@ -2562,7 +2566,7 @@ declare const CreditRetirementReceiptIpfsSchema: z.ZodObject<{
2562
2566
  description: z.ZodOptional<z.ZodString>;
2563
2567
  }, z.core.$strict>>>;
2564
2568
  schema: z.ZodObject<{
2565
- hash: z.ZodCustomStringFormat<"sha256_hex">;
2569
+ hash: z.ZodString;
2566
2570
  version: z.ZodString;
2567
2571
  ipfs_uri: z.ZodString;
2568
2572
  type: z.ZodLiteral<"CreditRetirementReceipt">;
@@ -2587,7 +2591,8 @@ declare const CreditRetirementReceiptIpfsSchema: z.ZodObject<{
2587
2591
  retired_at: z.ZodISODateTime;
2588
2592
  }, z.core.$strict>;
2589
2593
  beneficiary: z.ZodObject<{
2590
- beneficiary_id: z.ZodUUID;
2594
+ id_hash: z.ZodString;
2595
+ wallet_address: z.ZodOptional<z.ZodString>;
2591
2596
  identity: z.ZodOptional<z.ZodObject<{
2592
2597
  name: z.ZodOptional<z.ZodString>;
2593
2598
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2595,7 +2600,8 @@ declare const CreditRetirementReceiptIpfsSchema: z.ZodObject<{
2595
2600
  }, z.core.$strict>>;
2596
2601
  }, z.core.$strict>;
2597
2602
  credit_holder: z.ZodObject<{
2598
- wallet_address: z.ZodString;
2603
+ id_hash: z.ZodString;
2604
+ wallet_address: z.ZodOptional<z.ZodString>;
2599
2605
  identity: z.ZodOptional<z.ZodObject<{
2600
2606
  name: z.ZodOptional<z.ZodString>;
2601
2607
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2698,7 +2704,7 @@ declare const CollectionSchema: z.ZodObject<{
2698
2704
  external_url: z.ZodURL;
2699
2705
  viewer_reference: z.ZodOptional<z.ZodObject<{
2700
2706
  ipfs_uri: z.ZodString;
2701
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
2707
+ integrity_hash: z.ZodString;
2702
2708
  }, z.core.$strict>>;
2703
2709
  environment: z.ZodOptional<z.ZodObject<{
2704
2710
  blockchain_network: z.ZodEnum<{
@@ -2716,7 +2722,7 @@ declare const CollectionSchema: z.ZodObject<{
2716
2722
  }>;
2717
2723
  }, z.core.$strict>>;
2718
2724
  schema: z.ZodObject<{
2719
- hash: z.ZodCustomStringFormat<"sha256_hex">;
2725
+ hash: z.ZodString;
2720
2726
  version: z.ZodString;
2721
2727
  ipfs_uri: z.ZodString;
2722
2728
  type: z.ZodLiteral<"Collection">;
@@ -2752,7 +2758,7 @@ declare const CreditSchema: z.ZodObject<{
2752
2758
  external_url: z.ZodURL;
2753
2759
  viewer_reference: z.ZodOptional<z.ZodObject<{
2754
2760
  ipfs_uri: z.ZodString;
2755
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
2761
+ integrity_hash: z.ZodString;
2756
2762
  }, z.core.$strict>>;
2757
2763
  environment: z.ZodOptional<z.ZodObject<{
2758
2764
  blockchain_network: z.ZodEnum<{
@@ -2770,7 +2776,7 @@ declare const CreditSchema: z.ZodObject<{
2770
2776
  }>;
2771
2777
  }, z.core.$strict>>;
2772
2778
  schema: z.ZodObject<{
2773
- hash: z.ZodCustomStringFormat<"sha256_hex">;
2779
+ hash: z.ZodString;
2774
2780
  version: z.ZodString;
2775
2781
  ipfs_uri: z.ZodString;
2776
2782
  type: z.ZodLiteral<"Credit">;
@@ -2807,7 +2813,7 @@ declare const MethodologySchema: z.ZodObject<{
2807
2813
  external_url: z.ZodURL;
2808
2814
  viewer_reference: z.ZodOptional<z.ZodObject<{
2809
2815
  ipfs_uri: z.ZodString;
2810
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
2816
+ integrity_hash: z.ZodString;
2811
2817
  }, z.core.$strict>>;
2812
2818
  environment: z.ZodOptional<z.ZodObject<{
2813
2819
  blockchain_network: z.ZodEnum<{
@@ -2825,7 +2831,7 @@ declare const MethodologySchema: z.ZodObject<{
2825
2831
  }>;
2826
2832
  }, z.core.$strict>>;
2827
2833
  schema: z.ZodObject<{
2828
- hash: z.ZodCustomStringFormat<"sha256_hex">;
2834
+ hash: z.ZodString;
2829
2835
  version: z.ZodString;
2830
2836
  ipfs_uri: z.ZodString;
2831
2837
  type: z.ZodLiteral<"Methodology">;
@@ -2902,7 +2908,7 @@ declare const MassIDAuditSchema: z.ZodObject<{
2902
2908
  external_url: z.ZodURL;
2903
2909
  viewer_reference: z.ZodOptional<z.ZodObject<{
2904
2910
  ipfs_uri: z.ZodString;
2905
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
2911
+ integrity_hash: z.ZodString;
2906
2912
  }, z.core.$strict>>;
2907
2913
  environment: z.ZodOptional<z.ZodObject<{
2908
2914
  blockchain_network: z.ZodEnum<{
@@ -2920,7 +2926,7 @@ declare const MassIDAuditSchema: z.ZodObject<{
2920
2926
  }>;
2921
2927
  }, z.core.$strict>>;
2922
2928
  schema: z.ZodObject<{
2923
- hash: z.ZodCustomStringFormat<"sha256_hex">;
2929
+ hash: z.ZodString;
2924
2930
  version: z.ZodString;
2925
2931
  ipfs_uri: z.ZodString;
2926
2932
  type: z.ZodLiteral<"MassID Audit">;
@@ -3058,7 +3064,7 @@ declare const MassIDAuditDataSchema: z.ZodObject<{
3058
3064
  type MassIDAuditData = z.infer<typeof MassIDAuditDataSchema>;
3059
3065
 
3060
3066
  declare const SchemaInfoSchema: z.ZodObject<{
3061
- hash: z.ZodCustomStringFormat<"sha256_hex">;
3067
+ hash: z.ZodString;
3062
3068
  type: z.ZodEnum<{
3063
3069
  MassID: "MassID";
3064
3070
  "MassID Audit": "MassID Audit";
@@ -3092,13 +3098,13 @@ declare const RecordEnvironmentSchema: z.ZodObject<{
3092
3098
  type RecordEnvironment = z.infer<typeof RecordEnvironmentSchema>;
3093
3099
  declare const ViewerReferenceSchema: z.ZodObject<{
3094
3100
  ipfs_uri: z.ZodString;
3095
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
3101
+ integrity_hash: z.ZodString;
3096
3102
  }, z.core.$strict>;
3097
3103
  type ViewerReference = z.infer<typeof ViewerReferenceSchema>;
3098
3104
  declare const BaseIpfsSchema: z.ZodObject<{
3099
3105
  $schema: z.ZodURL;
3100
3106
  schema: z.ZodObject<{
3101
- hash: z.ZodCustomStringFormat<"sha256_hex">;
3107
+ hash: z.ZodString;
3102
3108
  type: z.ZodEnum<{
3103
3109
  MassID: "MassID";
3104
3110
  "MassID Audit": "MassID Audit";
@@ -3118,7 +3124,7 @@ declare const BaseIpfsSchema: z.ZodObject<{
3118
3124
  external_url: z.ZodURL;
3119
3125
  viewer_reference: z.ZodOptional<z.ZodObject<{
3120
3126
  ipfs_uri: z.ZodString;
3121
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
3127
+ integrity_hash: z.ZodString;
3122
3128
  }, z.core.$strict>>;
3123
3129
  environment: z.ZodOptional<z.ZodObject<{
3124
3130
  blockchain_network: z.ZodEnum<{
@@ -3182,7 +3188,7 @@ declare const NftIpfsSchema: z.ZodObject<{
3182
3188
  external_url: z.ZodURL;
3183
3189
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3184
3190
  schema: z.ZodObject<{
3185
- hash: z.ZodCustomStringFormat<"sha256_hex">;
3191
+ hash: z.ZodString;
3186
3192
  version: z.ZodString;
3187
3193
  ipfs_uri: z.ZodString;
3188
3194
  type: z.ZodEnum<{
@@ -3193,10 +3199,10 @@ declare const NftIpfsSchema: z.ZodObject<{
3193
3199
  CreditRetirementReceipt: "CreditRetirementReceipt";
3194
3200
  }>;
3195
3201
  }, z.core.$strict>;
3196
- audit_data_hash: z.ZodCustomStringFormat<"sha256_hex">;
3202
+ audit_data_hash: z.ZodString;
3197
3203
  viewer_reference: z.ZodObject<{
3198
3204
  ipfs_uri: z.ZodString;
3199
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
3205
+ integrity_hash: z.ZodString;
3200
3206
  }, z.core.$strict>;
3201
3207
  environment: z.ZodObject<{
3202
3208
  blockchain_network: z.ZodEnum<{
@@ -3514,9 +3520,9 @@ type TokenId = z.infer<typeof TokenIdSchema>;
3514
3520
  declare const StringifiedTokenIdSchema: z.ZodString;
3515
3521
  type StringifiedTokenId = z.infer<typeof StringifiedTokenIdSchema>;
3516
3522
 
3517
- declare const Sha256HashSchema: z.ZodCustomStringFormat<"sha256_hex">;
3523
+ declare const Sha256HashSchema: z.ZodString;
3518
3524
  type Sha256Hash = z.infer<typeof Sha256HashSchema>;
3519
- declare const ParticipantIdHashSchema: z.ZodCustomStringFormat<"sha256_hex">;
3525
+ declare const ParticipantIdHashSchema: z.ZodString;
3520
3526
  type ParticipantIdHash = z.infer<typeof ParticipantIdHashSchema>;
3521
3527
 
3522
3528
  declare const ExternalUrlSchema: z.ZodURL;
@@ -3731,7 +3737,7 @@ declare const AuditRuleExecutionResultsSchema: z.ZodArray<z.ZodObject<{
3731
3737
  type AuditRuleExecutionResults = z.infer<typeof AuditRuleExecutionResultsSchema>;
3732
3738
 
3733
3739
  declare const ParticipantSchema: z.ZodObject<{
3734
- id_hash: z.ZodCustomStringFormat<"sha256_hex">;
3740
+ id_hash: z.ZodString;
3735
3741
  roles: z.ZodArray<z.ZodEnum<{
3736
3742
  "Community Impact Pool": "Community Impact Pool";
3737
3743
  Hauler: "Hauler";
@@ -3752,11 +3758,11 @@ declare const CoordinatesSchema: z.ZodObject<{
3752
3758
  }, z.core.$strict>;
3753
3759
  type Coordinates = z.infer<typeof CoordinatesSchema>;
3754
3760
  declare const LocationSchema: z.ZodObject<{
3755
- id_hash: z.ZodCustomStringFormat<"sha256_hex">;
3761
+ id_hash: z.ZodString;
3756
3762
  city: z.ZodString;
3757
3763
  subdivision_code: z.ZodString;
3758
3764
  country_code: z.ZodString & z.ZodType<"BR", string, z.core.$ZodTypeInternals<"BR", string>>;
3759
- responsible_participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
3765
+ responsible_participant_id_hash: z.ZodString;
3760
3766
  coordinates: z.ZodOptional<z.ZodObject<{
3761
3767
  latitude: z.ZodNumber;
3762
3768
  longitude: z.ZodNumber;