@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.
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>;
@@ -2013,6 +2013,7 @@ declare const CreditPurchaseReceiptCertificateSchema: z.ZodObject<{
2013
2013
  "carbon-methane": "carbon-methane";
2014
2014
  biowaste: "biowaste";
2015
2015
  }>;
2016
+ purchased_amount: z.ZodNumber;
2016
2017
  collections: z.ZodArray<z.ZodObject<{
2017
2018
  slug: z.ZodEnum<{
2018
2019
  "bold-innovators": "bold-innovators";
@@ -2041,8 +2042,8 @@ declare const CreditPurchaseReceiptDataSchema: z.ZodObject<{
2041
2042
  purchased_at: z.ZodISODateTime;
2042
2043
  }, z.core.$strict>;
2043
2044
  buyer: z.ZodObject<{
2044
- wallet_address: z.ZodString;
2045
- id: z.ZodOptional<z.ZodUUID>;
2045
+ id_hash: z.ZodString;
2046
+ wallet_address: z.ZodOptional<z.ZodString>;
2046
2047
  identity: z.ZodOptional<z.ZodObject<{
2047
2048
  name: z.ZodOptional<z.ZodString>;
2048
2049
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2102,6 +2103,7 @@ declare const CreditPurchaseReceiptDataSchema: z.ZodObject<{
2102
2103
  "carbon-methane": "carbon-methane";
2103
2104
  biowaste: "biowaste";
2104
2105
  }>;
2106
+ purchased_amount: z.ZodNumber;
2105
2107
  collections: z.ZodArray<z.ZodObject<{
2106
2108
  slug: z.ZodEnum<{
2107
2109
  "bold-innovators": "bold-innovators";
@@ -2125,7 +2127,7 @@ type CreditPurchaseReceiptData = z.infer<typeof CreditPurchaseReceiptDataSchema>
2125
2127
 
2126
2128
  declare const CreditPurchaseReceiptIpfsSchemaMeta: {
2127
2129
  readonly title: "CreditPurchaseReceipt NFT IPFS Record";
2128
- readonly description: "Complete CreditPurchaseReceipt NFT IPFS record including purchase summary, buyer details, credit breakdowns, certificate allocations, and NFT display attributes";
2130
+ readonly description: "Complete CreditPurchaseReceipt NFT IPFS record including purchase summary, buyer details, credit breakdowns, certificate allocations, and NFT display attributes. Supports both collection-assigned and no-collection variants.";
2129
2131
  readonly $id: string;
2130
2132
  readonly version: string;
2131
2133
  };
@@ -2134,10 +2136,10 @@ declare const CreditPurchaseReceiptIpfsSchema: z.ZodObject<{
2134
2136
  created_at: z.ZodISODateTime;
2135
2137
  external_id: z.ZodUUID;
2136
2138
  external_url: z.ZodURL;
2137
- audit_data_hash: z.ZodCustomStringFormat<"sha256_hex">;
2139
+ audit_data_hash: z.ZodString;
2138
2140
  viewer_reference: z.ZodObject<{
2139
2141
  ipfs_uri: z.ZodString;
2140
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
2142
+ integrity_hash: z.ZodString;
2141
2143
  }, z.core.$strict>;
2142
2144
  environment: z.ZodObject<{
2143
2145
  blockchain_network: z.ZodEnum<{
@@ -2173,7 +2175,7 @@ declare const CreditPurchaseReceiptIpfsSchema: z.ZodObject<{
2173
2175
  description: z.ZodOptional<z.ZodString>;
2174
2176
  }, z.core.$strict>>>;
2175
2177
  schema: z.ZodObject<{
2176
- hash: z.ZodCustomStringFormat<"sha256_hex">;
2178
+ hash: z.ZodString;
2177
2179
  version: z.ZodString;
2178
2180
  ipfs_uri: z.ZodString;
2179
2181
  type: z.ZodLiteral<"CreditPurchaseReceipt">;
@@ -2199,8 +2201,8 @@ declare const CreditPurchaseReceiptIpfsSchema: z.ZodObject<{
2199
2201
  purchased_at: z.ZodISODateTime;
2200
2202
  }, z.core.$strict>;
2201
2203
  buyer: z.ZodObject<{
2202
- wallet_address: z.ZodString;
2203
- id: z.ZodOptional<z.ZodUUID>;
2204
+ id_hash: z.ZodString;
2205
+ wallet_address: z.ZodOptional<z.ZodString>;
2204
2206
  identity: z.ZodOptional<z.ZodObject<{
2205
2207
  name: z.ZodOptional<z.ZodString>;
2206
2208
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2260,6 +2262,7 @@ declare const CreditPurchaseReceiptIpfsSchema: z.ZodObject<{
2260
2262
  "carbon-methane": "carbon-methane";
2261
2263
  biowaste: "biowaste";
2262
2264
  }>;
2265
+ purchased_amount: z.ZodNumber;
2263
2266
  collections: z.ZodArray<z.ZodObject<{
2264
2267
  slug: z.ZodEnum<{
2265
2268
  "bold-innovators": "bold-innovators";
@@ -2302,7 +2305,8 @@ declare const CreditRetirementReceiptIdentitySchema: z.ZodObject<{
2302
2305
  }, z.core.$strict>;
2303
2306
  type CreditRetirementReceiptIdentity = z.infer<typeof CreditRetirementReceiptIdentitySchema>;
2304
2307
  declare const CreditRetirementReceiptBeneficiarySchema: z.ZodObject<{
2305
- beneficiary_id: z.ZodUUID;
2308
+ id_hash: z.ZodString;
2309
+ wallet_address: z.ZodOptional<z.ZodString>;
2306
2310
  identity: z.ZodOptional<z.ZodObject<{
2307
2311
  name: z.ZodOptional<z.ZodString>;
2308
2312
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2311,7 +2315,8 @@ declare const CreditRetirementReceiptBeneficiarySchema: z.ZodObject<{
2311
2315
  }, z.core.$strict>;
2312
2316
  type CreditRetirementReceiptBeneficiary = z.infer<typeof CreditRetirementReceiptBeneficiarySchema>;
2313
2317
  declare const CreditRetirementReceiptCreditHolderSchema: z.ZodObject<{
2314
- wallet_address: z.ZodString;
2318
+ id_hash: z.ZodString;
2319
+ wallet_address: z.ZodOptional<z.ZodString>;
2315
2320
  identity: z.ZodOptional<z.ZodObject<{
2316
2321
  name: z.ZodOptional<z.ZodString>;
2317
2322
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2415,7 +2420,8 @@ declare const CreditRetirementReceiptDataSchema: z.ZodObject<{
2415
2420
  retired_at: z.ZodISODateTime;
2416
2421
  }, z.core.$strict>;
2417
2422
  beneficiary: z.ZodObject<{
2418
- beneficiary_id: z.ZodUUID;
2423
+ id_hash: z.ZodString;
2424
+ wallet_address: z.ZodOptional<z.ZodString>;
2419
2425
  identity: z.ZodOptional<z.ZodObject<{
2420
2426
  name: z.ZodOptional<z.ZodString>;
2421
2427
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2423,7 +2429,8 @@ declare const CreditRetirementReceiptDataSchema: z.ZodObject<{
2423
2429
  }, z.core.$strict>>;
2424
2430
  }, z.core.$strict>;
2425
2431
  credit_holder: z.ZodObject<{
2426
- wallet_address: z.ZodString;
2432
+ id_hash: z.ZodString;
2433
+ wallet_address: z.ZodOptional<z.ZodString>;
2427
2434
  identity: z.ZodOptional<z.ZodObject<{
2428
2435
  name: z.ZodOptional<z.ZodString>;
2429
2436
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2514,7 +2521,7 @@ type CreditRetirementReceiptData = z.infer<typeof CreditRetirementReceiptDataSch
2514
2521
 
2515
2522
  declare const CreditRetirementReceiptIpfsSchemaMeta: {
2516
2523
  readonly title: "CreditRetirementReceipt NFT IPFS Record";
2517
- readonly description: "Complete CreditRetirementReceipt NFT IPFS record including retirement summary, beneficiary and credit holder details (identity optional), credit breakdowns, certificate allocations, and NFT display attributes";
2524
+ readonly description: "Complete CreditRetirementReceipt NFT IPFS record including retirement summary, beneficiary and credit holder details (identity optional), credit breakdowns, certificate allocations, and NFT display attributes. Supports both collection-assigned and no-collection variants.";
2518
2525
  readonly $id: string;
2519
2526
  readonly version: string;
2520
2527
  };
@@ -2523,10 +2530,10 @@ declare const CreditRetirementReceiptIpfsSchema: z.ZodObject<{
2523
2530
  created_at: z.ZodISODateTime;
2524
2531
  external_id: z.ZodUUID;
2525
2532
  external_url: z.ZodURL;
2526
- audit_data_hash: z.ZodCustomStringFormat<"sha256_hex">;
2533
+ audit_data_hash: z.ZodString;
2527
2534
  viewer_reference: z.ZodObject<{
2528
2535
  ipfs_uri: z.ZodString;
2529
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
2536
+ integrity_hash: z.ZodString;
2530
2537
  }, z.core.$strict>;
2531
2538
  environment: z.ZodObject<{
2532
2539
  blockchain_network: z.ZodEnum<{
@@ -2562,7 +2569,7 @@ declare const CreditRetirementReceiptIpfsSchema: z.ZodObject<{
2562
2569
  description: z.ZodOptional<z.ZodString>;
2563
2570
  }, z.core.$strict>>>;
2564
2571
  schema: z.ZodObject<{
2565
- hash: z.ZodCustomStringFormat<"sha256_hex">;
2572
+ hash: z.ZodString;
2566
2573
  version: z.ZodString;
2567
2574
  ipfs_uri: z.ZodString;
2568
2575
  type: z.ZodLiteral<"CreditRetirementReceipt">;
@@ -2587,7 +2594,8 @@ declare const CreditRetirementReceiptIpfsSchema: z.ZodObject<{
2587
2594
  retired_at: z.ZodISODateTime;
2588
2595
  }, z.core.$strict>;
2589
2596
  beneficiary: z.ZodObject<{
2590
- beneficiary_id: z.ZodUUID;
2597
+ id_hash: z.ZodString;
2598
+ wallet_address: z.ZodOptional<z.ZodString>;
2591
2599
  identity: z.ZodOptional<z.ZodObject<{
2592
2600
  name: z.ZodOptional<z.ZodString>;
2593
2601
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2595,7 +2603,8 @@ declare const CreditRetirementReceiptIpfsSchema: z.ZodObject<{
2595
2603
  }, z.core.$strict>>;
2596
2604
  }, z.core.$strict>;
2597
2605
  credit_holder: z.ZodObject<{
2598
- wallet_address: z.ZodString;
2606
+ id_hash: z.ZodString;
2607
+ wallet_address: z.ZodOptional<z.ZodString>;
2599
2608
  identity: z.ZodOptional<z.ZodObject<{
2600
2609
  name: z.ZodOptional<z.ZodString>;
2601
2610
  external_id: z.ZodOptional<z.ZodUUID>;
@@ -2698,7 +2707,7 @@ declare const CollectionSchema: z.ZodObject<{
2698
2707
  external_url: z.ZodURL;
2699
2708
  viewer_reference: z.ZodOptional<z.ZodObject<{
2700
2709
  ipfs_uri: z.ZodString;
2701
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
2710
+ integrity_hash: z.ZodString;
2702
2711
  }, z.core.$strict>>;
2703
2712
  environment: z.ZodOptional<z.ZodObject<{
2704
2713
  blockchain_network: z.ZodEnum<{
@@ -2716,7 +2725,7 @@ declare const CollectionSchema: z.ZodObject<{
2716
2725
  }>;
2717
2726
  }, z.core.$strict>>;
2718
2727
  schema: z.ZodObject<{
2719
- hash: z.ZodCustomStringFormat<"sha256_hex">;
2728
+ hash: z.ZodString;
2720
2729
  version: z.ZodString;
2721
2730
  ipfs_uri: z.ZodString;
2722
2731
  type: z.ZodLiteral<"Collection">;
@@ -2752,7 +2761,7 @@ declare const CreditSchema: z.ZodObject<{
2752
2761
  external_url: z.ZodURL;
2753
2762
  viewer_reference: z.ZodOptional<z.ZodObject<{
2754
2763
  ipfs_uri: z.ZodString;
2755
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
2764
+ integrity_hash: z.ZodString;
2756
2765
  }, z.core.$strict>>;
2757
2766
  environment: z.ZodOptional<z.ZodObject<{
2758
2767
  blockchain_network: z.ZodEnum<{
@@ -2770,7 +2779,7 @@ declare const CreditSchema: z.ZodObject<{
2770
2779
  }>;
2771
2780
  }, z.core.$strict>>;
2772
2781
  schema: z.ZodObject<{
2773
- hash: z.ZodCustomStringFormat<"sha256_hex">;
2782
+ hash: z.ZodString;
2774
2783
  version: z.ZodString;
2775
2784
  ipfs_uri: z.ZodString;
2776
2785
  type: z.ZodLiteral<"Credit">;
@@ -2807,7 +2816,7 @@ declare const MethodologySchema: z.ZodObject<{
2807
2816
  external_url: z.ZodURL;
2808
2817
  viewer_reference: z.ZodOptional<z.ZodObject<{
2809
2818
  ipfs_uri: z.ZodString;
2810
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
2819
+ integrity_hash: z.ZodString;
2811
2820
  }, z.core.$strict>>;
2812
2821
  environment: z.ZodOptional<z.ZodObject<{
2813
2822
  blockchain_network: z.ZodEnum<{
@@ -2825,7 +2834,7 @@ declare const MethodologySchema: z.ZodObject<{
2825
2834
  }>;
2826
2835
  }, z.core.$strict>>;
2827
2836
  schema: z.ZodObject<{
2828
- hash: z.ZodCustomStringFormat<"sha256_hex">;
2837
+ hash: z.ZodString;
2829
2838
  version: z.ZodString;
2830
2839
  ipfs_uri: z.ZodString;
2831
2840
  type: z.ZodLiteral<"Methodology">;
@@ -2902,7 +2911,7 @@ declare const MassIDAuditSchema: z.ZodObject<{
2902
2911
  external_url: z.ZodURL;
2903
2912
  viewer_reference: z.ZodOptional<z.ZodObject<{
2904
2913
  ipfs_uri: z.ZodString;
2905
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
2914
+ integrity_hash: z.ZodString;
2906
2915
  }, z.core.$strict>>;
2907
2916
  environment: z.ZodOptional<z.ZodObject<{
2908
2917
  blockchain_network: z.ZodEnum<{
@@ -2920,7 +2929,7 @@ declare const MassIDAuditSchema: z.ZodObject<{
2920
2929
  }>;
2921
2930
  }, z.core.$strict>>;
2922
2931
  schema: z.ZodObject<{
2923
- hash: z.ZodCustomStringFormat<"sha256_hex">;
2932
+ hash: z.ZodString;
2924
2933
  version: z.ZodString;
2925
2934
  ipfs_uri: z.ZodString;
2926
2935
  type: z.ZodLiteral<"MassID Audit">;
@@ -3058,7 +3067,7 @@ declare const MassIDAuditDataSchema: z.ZodObject<{
3058
3067
  type MassIDAuditData = z.infer<typeof MassIDAuditDataSchema>;
3059
3068
 
3060
3069
  declare const SchemaInfoSchema: z.ZodObject<{
3061
- hash: z.ZodCustomStringFormat<"sha256_hex">;
3070
+ hash: z.ZodString;
3062
3071
  type: z.ZodEnum<{
3063
3072
  MassID: "MassID";
3064
3073
  "MassID Audit": "MassID Audit";
@@ -3092,13 +3101,13 @@ declare const RecordEnvironmentSchema: z.ZodObject<{
3092
3101
  type RecordEnvironment = z.infer<typeof RecordEnvironmentSchema>;
3093
3102
  declare const ViewerReferenceSchema: z.ZodObject<{
3094
3103
  ipfs_uri: z.ZodString;
3095
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
3104
+ integrity_hash: z.ZodString;
3096
3105
  }, z.core.$strict>;
3097
3106
  type ViewerReference = z.infer<typeof ViewerReferenceSchema>;
3098
3107
  declare const BaseIpfsSchema: z.ZodObject<{
3099
3108
  $schema: z.ZodURL;
3100
3109
  schema: z.ZodObject<{
3101
- hash: z.ZodCustomStringFormat<"sha256_hex">;
3110
+ hash: z.ZodString;
3102
3111
  type: z.ZodEnum<{
3103
3112
  MassID: "MassID";
3104
3113
  "MassID Audit": "MassID Audit";
@@ -3118,7 +3127,7 @@ declare const BaseIpfsSchema: z.ZodObject<{
3118
3127
  external_url: z.ZodURL;
3119
3128
  viewer_reference: z.ZodOptional<z.ZodObject<{
3120
3129
  ipfs_uri: z.ZodString;
3121
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
3130
+ integrity_hash: z.ZodString;
3122
3131
  }, z.core.$strict>>;
3123
3132
  environment: z.ZodOptional<z.ZodObject<{
3124
3133
  blockchain_network: z.ZodEnum<{
@@ -3182,7 +3191,7 @@ declare const NftIpfsSchema: z.ZodObject<{
3182
3191
  external_url: z.ZodURL;
3183
3192
  data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3184
3193
  schema: z.ZodObject<{
3185
- hash: z.ZodCustomStringFormat<"sha256_hex">;
3194
+ hash: z.ZodString;
3186
3195
  version: z.ZodString;
3187
3196
  ipfs_uri: z.ZodString;
3188
3197
  type: z.ZodEnum<{
@@ -3193,10 +3202,10 @@ declare const NftIpfsSchema: z.ZodObject<{
3193
3202
  CreditRetirementReceipt: "CreditRetirementReceipt";
3194
3203
  }>;
3195
3204
  }, z.core.$strict>;
3196
- audit_data_hash: z.ZodCustomStringFormat<"sha256_hex">;
3205
+ audit_data_hash: z.ZodString;
3197
3206
  viewer_reference: z.ZodObject<{
3198
3207
  ipfs_uri: z.ZodString;
3199
- integrity_hash: z.ZodCustomStringFormat<"sha256_hex">;
3208
+ integrity_hash: z.ZodString;
3200
3209
  }, z.core.$strict>;
3201
3210
  environment: z.ZodObject<{
3202
3211
  blockchain_network: z.ZodEnum<{
@@ -3514,9 +3523,9 @@ type TokenId = z.infer<typeof TokenIdSchema>;
3514
3523
  declare const StringifiedTokenIdSchema: z.ZodString;
3515
3524
  type StringifiedTokenId = z.infer<typeof StringifiedTokenIdSchema>;
3516
3525
 
3517
- declare const Sha256HashSchema: z.ZodCustomStringFormat<"sha256_hex">;
3526
+ declare const Sha256HashSchema: z.ZodString;
3518
3527
  type Sha256Hash = z.infer<typeof Sha256HashSchema>;
3519
- declare const ParticipantIdHashSchema: z.ZodCustomStringFormat<"sha256_hex">;
3528
+ declare const ParticipantIdHashSchema: z.ZodString;
3520
3529
  type ParticipantIdHash = z.infer<typeof ParticipantIdHashSchema>;
3521
3530
 
3522
3531
  declare const ExternalUrlSchema: z.ZodURL;
@@ -3731,7 +3740,7 @@ declare const AuditRuleExecutionResultsSchema: z.ZodArray<z.ZodObject<{
3731
3740
  type AuditRuleExecutionResults = z.infer<typeof AuditRuleExecutionResultsSchema>;
3732
3741
 
3733
3742
  declare const ParticipantSchema: z.ZodObject<{
3734
- id_hash: z.ZodCustomStringFormat<"sha256_hex">;
3743
+ id_hash: z.ZodString;
3735
3744
  roles: z.ZodArray<z.ZodEnum<{
3736
3745
  "Community Impact Pool": "Community Impact Pool";
3737
3746
  Hauler: "Hauler";
@@ -3752,11 +3761,11 @@ declare const CoordinatesSchema: z.ZodObject<{
3752
3761
  }, z.core.$strict>;
3753
3762
  type Coordinates = z.infer<typeof CoordinatesSchema>;
3754
3763
  declare const LocationSchema: z.ZodObject<{
3755
- id_hash: z.ZodCustomStringFormat<"sha256_hex">;
3764
+ id_hash: z.ZodString;
3756
3765
  city: z.ZodString;
3757
3766
  subdivision_code: z.ZodString;
3758
3767
  country_code: z.ZodString & z.ZodType<"BR", string, z.core.$ZodTypeInternals<"BR", string>>;
3759
- responsible_participant_id_hash: z.ZodCustomStringFormat<"sha256_hex">;
3768
+ responsible_participant_id_hash: z.ZodString;
3760
3769
  coordinates: z.ZodOptional<z.ZodObject<{
3761
3770
  latitude: z.ZodNumber;
3762
3771
  longitude: z.ZodNumber;