@carrot-foundation/schemas 2.0.0 → 3.1.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
@@ -1982,7 +1982,7 @@ declare const CreditPurchaseReceiptCreditSchema: z.ZodObject<{
1982
1982
  ipfs_uri: z.ZodString;
1983
1983
  smart_contract_address: z.ZodString;
1984
1984
  slug: z.ZodEnum<{
1985
- "carbon-methane": "carbon-methane";
1985
+ "carbon-ch4": "carbon-ch4";
1986
1986
  biowaste: "biowaste";
1987
1987
  }>;
1988
1988
  symbol: z.ZodEnum<{
@@ -2010,7 +2010,7 @@ declare const CreditPurchaseReceiptCertificateSchema: z.ZodObject<{
2010
2010
  token_id: z.ZodString;
2011
2011
  }, z.core.$strict>;
2012
2012
  credit_slug: z.ZodEnum<{
2013
- "carbon-methane": "carbon-methane";
2013
+ "carbon-ch4": "carbon-ch4";
2014
2014
  biowaste: "biowaste";
2015
2015
  }>;
2016
2016
  purchased_amount: z.ZodNumber;
@@ -2073,7 +2073,7 @@ declare const CreditPurchaseReceiptDataSchema: z.ZodObject<{
2073
2073
  ipfs_uri: z.ZodString;
2074
2074
  smart_contract_address: z.ZodString;
2075
2075
  slug: z.ZodEnum<{
2076
- "carbon-methane": "carbon-methane";
2076
+ "carbon-ch4": "carbon-ch4";
2077
2077
  biowaste: "biowaste";
2078
2078
  }>;
2079
2079
  symbol: z.ZodEnum<{
@@ -2100,7 +2100,7 @@ declare const CreditPurchaseReceiptDataSchema: z.ZodObject<{
2100
2100
  token_id: z.ZodString;
2101
2101
  }, z.core.$strict>;
2102
2102
  credit_slug: z.ZodEnum<{
2103
- "carbon-methane": "carbon-methane";
2103
+ "carbon-ch4": "carbon-ch4";
2104
2104
  biowaste: "biowaste";
2105
2105
  }>;
2106
2106
  purchased_amount: z.ZodNumber;
@@ -2122,6 +2122,15 @@ declare const CreditPurchaseReceiptDataSchema: z.ZodObject<{
2122
2122
  smart_contract_address: z.ZodString;
2123
2123
  token_id: z.ZodString;
2124
2124
  }, z.core.$strict>>;
2125
+ original_sale: z.ZodOptional<z.ZodObject<{
2126
+ order_id: z.ZodUUID;
2127
+ sold_at: z.ZodISODateTime;
2128
+ original_nft: z.ZodObject<{
2129
+ chain_id: z.ZodNumber;
2130
+ smart_contract_address: z.ZodString;
2131
+ token_id: z.ZodString;
2132
+ }, z.core.$strict>;
2133
+ }, z.core.$strict>>;
2125
2134
  }, z.core.$strict>;
2126
2135
  type CreditPurchaseReceiptData = z.infer<typeof CreditPurchaseReceiptDataSchema>;
2127
2136
 
@@ -2232,7 +2241,7 @@ declare const CreditPurchaseReceiptIpfsSchema: z.ZodObject<{
2232
2241
  ipfs_uri: z.ZodString;
2233
2242
  smart_contract_address: z.ZodString;
2234
2243
  slug: z.ZodEnum<{
2235
- "carbon-methane": "carbon-methane";
2244
+ "carbon-ch4": "carbon-ch4";
2236
2245
  biowaste: "biowaste";
2237
2246
  }>;
2238
2247
  symbol: z.ZodEnum<{
@@ -2259,7 +2268,7 @@ declare const CreditPurchaseReceiptIpfsSchema: z.ZodObject<{
2259
2268
  token_id: z.ZodString;
2260
2269
  }, z.core.$strict>;
2261
2270
  credit_slug: z.ZodEnum<{
2262
- "carbon-methane": "carbon-methane";
2271
+ "carbon-ch4": "carbon-ch4";
2263
2272
  biowaste: "biowaste";
2264
2273
  }>;
2265
2274
  purchased_amount: z.ZodNumber;
@@ -2281,6 +2290,15 @@ declare const CreditPurchaseReceiptIpfsSchema: z.ZodObject<{
2281
2290
  smart_contract_address: z.ZodString;
2282
2291
  token_id: z.ZodString;
2283
2292
  }, z.core.$strict>>;
2293
+ original_sale: z.ZodOptional<z.ZodObject<{
2294
+ order_id: z.ZodUUID;
2295
+ sold_at: z.ZodISODateTime;
2296
+ original_nft: z.ZodObject<{
2297
+ chain_id: z.ZodNumber;
2298
+ smart_contract_address: z.ZodString;
2299
+ token_id: z.ZodString;
2300
+ }, z.core.$strict>;
2301
+ }, z.core.$strict>>;
2284
2302
  }, z.core.$strict>;
2285
2303
  }, z.core.$strict>;
2286
2304
  type CreditPurchaseReceiptIpfs = z.infer<typeof CreditPurchaseReceiptIpfsSchema>;
@@ -2348,7 +2366,7 @@ declare const CreditRetirementReceiptCreditSchema: z.ZodObject<{
2348
2366
  ipfs_uri: z.ZodString;
2349
2367
  smart_contract_address: z.ZodString;
2350
2368
  slug: z.ZodEnum<{
2351
- "carbon-methane": "carbon-methane";
2369
+ "carbon-ch4": "carbon-ch4";
2352
2370
  biowaste: "biowaste";
2353
2371
  }>;
2354
2372
  symbol: z.ZodEnum<{
@@ -2363,7 +2381,7 @@ declare const CreditRetirementReceiptCertificateCreditSchema: z.ZodObject<{
2363
2381
  "C-BIOW": "C-BIOW";
2364
2382
  }>;
2365
2383
  credit_slug: z.ZodEnum<{
2366
- "carbon-methane": "carbon-methane";
2384
+ "carbon-ch4": "carbon-ch4";
2367
2385
  biowaste: "biowaste";
2368
2386
  }>;
2369
2387
  amount: z.ZodNumber;
@@ -2404,7 +2422,7 @@ declare const CreditRetirementReceiptCertificateSchema: z.ZodObject<{
2404
2422
  "C-BIOW": "C-BIOW";
2405
2423
  }>;
2406
2424
  credit_slug: z.ZodEnum<{
2407
- "carbon-methane": "carbon-methane";
2425
+ "carbon-ch4": "carbon-ch4";
2408
2426
  biowaste: "biowaste";
2409
2427
  }>;
2410
2428
  amount: z.ZodNumber;
@@ -2460,7 +2478,7 @@ declare const CreditRetirementReceiptDataSchema: z.ZodObject<{
2460
2478
  ipfs_uri: z.ZodString;
2461
2479
  smart_contract_address: z.ZodString;
2462
2480
  slug: z.ZodEnum<{
2463
- "carbon-methane": "carbon-methane";
2481
+ "carbon-ch4": "carbon-ch4";
2464
2482
  biowaste: "biowaste";
2465
2483
  }>;
2466
2484
  symbol: z.ZodEnum<{
@@ -2501,7 +2519,7 @@ declare const CreditRetirementReceiptDataSchema: z.ZodObject<{
2501
2519
  "C-BIOW": "C-BIOW";
2502
2520
  }>;
2503
2521
  credit_slug: z.ZodEnum<{
2504
- "carbon-methane": "carbon-methane";
2522
+ "carbon-ch4": "carbon-ch4";
2505
2523
  biowaste: "biowaste";
2506
2524
  }>;
2507
2525
  amount: z.ZodNumber;
@@ -2634,7 +2652,7 @@ declare const CreditRetirementReceiptIpfsSchema: z.ZodObject<{
2634
2652
  ipfs_uri: z.ZodString;
2635
2653
  smart_contract_address: z.ZodString;
2636
2654
  slug: z.ZodEnum<{
2637
- "carbon-methane": "carbon-methane";
2655
+ "carbon-ch4": "carbon-ch4";
2638
2656
  biowaste: "biowaste";
2639
2657
  }>;
2640
2658
  symbol: z.ZodEnum<{
@@ -2675,7 +2693,7 @@ declare const CreditRetirementReceiptIpfsSchema: z.ZodObject<{
2675
2693
  "C-BIOW": "C-BIOW";
2676
2694
  }>;
2677
2695
  credit_slug: z.ZodEnum<{
2678
- "carbon-methane": "carbon-methane";
2696
+ "carbon-ch4": "carbon-ch4";
2679
2697
  biowaste: "biowaste";
2680
2698
  }>;
2681
2699
  amount: z.ZodNumber;
@@ -2790,7 +2808,7 @@ declare const CreditSchema: z.ZodObject<{
2790
2808
  "C-BIOW": "C-BIOW";
2791
2809
  }>;
2792
2810
  slug: z.ZodEnum<{
2793
- "carbon-methane": "carbon-methane";
2811
+ "carbon-ch4": "carbon-ch4";
2794
2812
  biowaste: "biowaste";
2795
2813
  }>;
2796
2814
  name: z.ZodEnum<{
@@ -3560,7 +3578,7 @@ declare const CreditTokenNameSchema: z.ZodEnum<{
3560
3578
  }>;
3561
3579
  type CreditTokenName = z.infer<typeof CreditTokenNameSchema>;
3562
3580
  declare const CreditTokenSlugSchema: z.ZodEnum<{
3563
- "carbon-methane": "carbon-methane";
3581
+ "carbon-ch4": "carbon-ch4";
3564
3582
  biowaste: "biowaste";
3565
3583
  }>;
3566
3584
  type CreditTokenSlug = z.infer<typeof CreditTokenSlugSchema>;
@@ -3818,7 +3836,7 @@ declare const CreditReferenceSchema: z.ZodObject<{
3818
3836
  ipfs_uri: z.ZodString;
3819
3837
  smart_contract_address: z.ZodString;
3820
3838
  slug: z.ZodEnum<{
3821
- "carbon-methane": "carbon-methane";
3839
+ "carbon-ch4": "carbon-ch4";
3822
3840
  biowaste: "biowaste";
3823
3841
  }>;
3824
3842
  symbol: z.ZodEnum<{
@@ -3858,6 +3876,17 @@ declare const MethodologyReferenceSchema: z.ZodObject<{
3858
3876
  }, z.core.$strict>;
3859
3877
  type MethodologyReference = z.infer<typeof MethodologyReferenceSchema>;
3860
3878
 
3879
+ declare const OriginalSaleReferenceSchema: z.ZodObject<{
3880
+ order_id: z.ZodUUID;
3881
+ sold_at: z.ZodISODateTime;
3882
+ original_nft: z.ZodObject<{
3883
+ chain_id: z.ZodNumber;
3884
+ smart_contract_address: z.ZodString;
3885
+ token_id: z.ZodString;
3886
+ }, z.core.$strict>;
3887
+ }, z.core.$strict>;
3888
+ type OriginalSaleReference = z.infer<typeof OriginalSaleReferenceSchema>;
3889
+
3861
3890
  declare const CreditPurchaseReceiptReferenceSchema: z.ZodObject<{
3862
3891
  external_id: z.ZodUUID;
3863
3892
  external_url: z.ZodURL;
@@ -4155,4 +4184,4 @@ declare function validateLocationBrazilData(record: {
4155
4184
  }) => void;
4156
4185
  }): void;
4157
4186
 
4158
- export { ALLOWED_BLOCKCHAIN_NETWORKS, type AuditReference, AuditReferenceSchema, type AuditResult, AuditResultSchema, type AuditRuleDefinition, AuditRuleDefinitionSchema, type AuditRuleDefinitions, AuditRuleDefinitionsSchema, type AuditRuleExecutionResult, AuditRuleExecutionResultSchema, type AuditRuleExecutionResults, AuditRuleExecutionResultsSchema, BLOCKCHAIN_NETWORK_CONFIG, BRAZIL_COUNTRY_CODE, BRAZIL_MUNICIPALITIES, BRAZIL_MUNICIPALITIES_NAMES, BRAZIL_SUBDIVISION_CODES, type BaseIpfs, BaseIpfsSchema, type BlockchainChainId, BlockchainChainIdSchema, type BlockchainNetworkName, BlockchainNetworkNameSchema, type BlockchainReference, type CalculationValue, type CertificateCollectionItemPurchase, CertificateCollectionItemPurchaseSchema, type CertificateCollectionItemRetirement, CertificateCollectionItemRetirementSchema, type CertificateIssuanceDateAttribute, CertificateIssuanceDateAttributeSchema, type CertificateReferenceBase, CertificateReferenceBaseSchema, type CertificateType, CertificateTypeSchema, type City, CitySchema, type Collection, type CollectionName, CollectionNameSchema, CollectionSchema, CollectionSchemaMeta, type CollectionSlug, CollectionSlugSchema, type ContainerType, ContainerTypeSchema, type Coordinates, CoordinatesSchema, type Credit, type CreditAmount, type CreditAmountAttribute, CreditAmountAttributeSchema, CreditAmountSchema, type CreditPurchaseReceiptAttributes, CreditPurchaseReceiptAttributesSchema, type CreditPurchaseReceiptBuyer, type CreditPurchaseReceiptCertificate, type CreditPurchaseReceiptCollection, type CreditPurchaseReceiptCredit, type CreditPurchaseReceiptData, CreditPurchaseReceiptDataSchema, type CreditPurchaseReceiptIdentity, type CreditPurchaseReceiptIpfs, CreditPurchaseReceiptIpfsSchema, CreditPurchaseReceiptIpfsSchemaMeta, CreditPurchaseReceiptNameSchema, type CreditPurchaseReceiptReference, CreditPurchaseReceiptReferenceSchema, type CreditPurchaseReceiptRetirementReceipt, CreditPurchaseReceiptShortNameSchema, type CreditPurchaseReceiptSummary, CreditPurchaseReceiptSummarySchema, type CreditReference, CreditReferenceSchema, type CreditRetirementReceiptAttributes, CreditRetirementReceiptAttributesSchema, type CreditRetirementReceiptBeneficiary, type CreditRetirementReceiptCertificate, type CreditRetirementReceiptCertificateCredit, type CreditRetirementReceiptCollection, type CreditRetirementReceiptCredit, type CreditRetirementReceiptCreditHolder, type CreditRetirementReceiptData, CreditRetirementReceiptDataSchema, type CreditRetirementReceiptIdentity, type CreditRetirementReceiptIpfs, CreditRetirementReceiptIpfsSchema, CreditRetirementReceiptIpfsSchemaMeta, CreditRetirementReceiptNameSchema, type CreditRetirementReceiptReference, CreditRetirementReceiptReferenceSchema, CreditRetirementReceiptShortNameSchema, type CreditRetirementReceiptSummary, CreditRetirementReceiptSummarySchema, CreditSchema, CreditSchemaMeta, type CreditTokenName, CreditTokenNameSchema, type CreditTokenSlug, CreditTokenSlugSchema, type CreditTokenSymbol, CreditTokenSymbolSchema, type CreditType, type CreditTypeAttribute, CreditTypeAttributeSchema, CreditTypeSchema, EPSILON, type EnsDomain, EnsDomainSchema, type EthereumAddress, EthereumAddressSchema, type ExternalId, ExternalIdSchema, type ExternalLink, type ExternalUrl, ExternalUrlSchema, type GasIDAttributeCertificateIssuanceDate, type GasIDAttributeCo2ePrevented, type GasIDAttributeCreditAmount, type GasIDAttributeCreditType, type GasIDAttributeGasType, type GasIDAttributeMassIDRecyclingDate, type GasIDAttributeMassIDTokenId, type GasIDAttributeMethodology, type GasIDAttributeOriginCity, type GasIDAttributeOriginCountrySubdivision, type GasIDAttributeRecyclingDate, type GasIDAttributeSourceWasteType, type GasIDAttributeSourceWeight, type GasIDAttributes, GasIDAttributesSchema, type GasIDData, GasIDDataSchema, type GasIDIpfs, GasIDIpfsSchema, GasIDIpfsSchemaMeta, GasIDNameSchema, type GasIDReference, GasIDReferenceSchema, GasIDShortNameSchema, type GasIDSummary, type GasType, GasTypeSchema, type HexColor, HexColorSchema, type IbamaWasteClassification, IbamaWasteClassificationSchema, type IpfsCid, IpfsCidSchema, type IpfsUri, IpfsUriSchema, type Ipns, IpnsSchema, type IsoCountryCode, IsoCountryCodeSchema, type IsoCountrySubdivisionCode, IsoCountrySubdivisionCodeSchema, type IsoDate, IsoDateSchema, type IsoDateTime, IsoDateTimeSchema, type Latitude, LatitudeSchema, type Location, LocationSchema, type Longitude, LongitudeSchema, type MassIDAttachment, type MassIDAttachmentType, type MassIDAttributeDropOffDate, type MassIDAttributeLocalWasteClassificationId, type MassIDAttributeOriginCity, type MassIDAttributeOriginCountrySubdivision, type MassIDAttributePickUpDate, type MassIDAttributePickUpVehicleType, type MassIDAttributeRecyclingDate, type MassIDAttributeRecyclingManifestCode, type MassIDAttributeRecyclingMethod, type MassIDAttributeScaleType, type MassIDAttributeTransportManifestCode, type MassIDAttributeWasteSubtype, type MassIDAttributeWasteType, type MassIDAttributeWeighingCaptureMethod, type MassIDAttributeWeight, type MassIDAttributes, MassIDAttributesSchema, type MassIDAudit, type MassIDAuditData, MassIDAuditDataSchema, MassIDAuditSchema, MassIDAuditSchemaMeta, type MassIDAuditSummary, MassIDAuditSummarySchema, type MassIDData, MassIDDataSchema, type MassIDEvent, type MassIDEvents, type MassIDIpfs, MassIDIpfsSchema, MassIDIpfsSchemaMeta, type MassIDLocalClassification, MassIDNameSchema, type MassIDRecyclingDateAttribute, MassIDRecyclingDateAttributeSchema, type MassIDReference, MassIDReferenceSchema, MassIDShortNameSchema, type MassIDTokenIdAttribute, MassIDTokenIdAttributeSchema, type MassIDWasteProperties, type Methodology, type MethodologyAttribute, MethodologyAttributeSchema, type MethodologyData, MethodologyDataSchema, type MethodologyName, MethodologyNameSchema, type MethodologyReference, MethodologyReferenceSchema, MethodologySchema, MethodologySchemaMeta, type MethodologyShortName, MethodologyShortNameSchema, type MethodologySlug, MethodologySlugSchema, type NftAttribute, NftAttributeSchema, type NftIpfs, NftIpfsSchema, type NftSchemaType, type NftTokenReferenceBase, NftTokenReferenceBaseSchema, type NonEmptyString, NonEmptyStringSchema, type NonNegativeFloat, NonNegativeFloatSchema, type NonNegativeInteger, NonNegativeIntegerSchema, type OriginCityAttribute, OriginCityAttributeSchema, type OriginCountrySubdivisionAttribute, OriginCountrySubdivisionAttributeSchema, type Participant, type ParticipantIdHash, ParticipantIdHashSchema, type ParticipantRole, ParticipantRoleSchema, ParticipantSchema, type Percentage, PercentageSchema, type PositiveFloat, PositiveFloatSchema, type PositiveInteger, PositiveIntegerSchema, type PreventedEmissionsCalculation, type ReceiptIdentity, ReceiptIdentitySchema, type RecordEnvironment, RecordEnvironmentSchema, type RecordSchemaType, RecordSchemaTypeSchema, type RecycledIDAttributeCertificateIssuanceDate, type RecycledIDAttributeCreditAmount, type RecycledIDAttributeCreditType, type RecycledIDAttributeMassIDRecyclingDate, type RecycledIDAttributeMassIDTokenId, type RecycledIDAttributeMethodology, type RecycledIDAttributeOriginCity, type RecycledIDAttributeOriginCountrySubdivision, type RecycledIDAttributeRecycledMassWeight, type RecycledIDAttributeRecyclingDate, type RecycledIDAttributeSourceWasteType, type RecycledIDAttributeSourceWeight, type RecycledIDAttributes, RecycledIDAttributesSchema, type RecycledIDData, RecycledIDDataSchema, type RecycledIDIpfs, RecycledIDIpfsSchema, RecycledIDIpfsSchemaMeta, RecycledIDNameSchema, type RecycledIDReference, RecycledIDReferenceSchema, RecycledIDShortNameSchema, type RecycledIDSummary, type RecyclingDateAttribute, RecyclingDateAttributeSchema, type ScaleType, ScaleTypeSchema, type SchemaInfo, SchemaInfoSchema, type SemanticVersion, SemanticVersionSchema, type Sha256Hash, Sha256HashSchema, type Slug, SlugSchema, type SmartContract, type SmartContractAddress, SmartContractAddressSchema, SmartContractSchema, type SourceWasteTypeAttribute, SourceWasteTypeAttributeSchema, type SourceWeightAttribute, SourceWeightAttributeSchema, type StringifiedTokenId, StringifiedTokenIdSchema, type TokenId, TokenIdSchema, type TokenReferenceBase, TokenReferenceBaseSchema, type UnixTimestamp, UnixTimestampSchema, type UsdcAmount, UsdcAmountSchema, type Uuid, UuidSchema, type VehicleType, VehicleTypeSchema, type ViewerReference, ViewerReferenceSchema, type WasteProperties, WastePropertiesSchema, type WasteSubtype, WasteSubtypeSchema, type WasteType, WasteTypeSchema, type WeighingCaptureMethod, WeighingCaptureMethodSchema, type WeightKg, WeightKgSchema, buildSchemaUrl, canonicalizeForHash, createAttributeMap, createCreditPurchaseReceiptNameSchema, createCreditPurchaseReceiptShortNameSchema, createCreditRetirementReceiptNameSchema, createCreditRetirementReceiptShortNameSchema, createDateAttributeSchema, createGasIDNameSchema, createGasIDShortNameSchema, createMassIDNameSchema, createMassIDShortNameSchema, createNumericAttributeSchema, createOrderedAttributesSchema, createReceiptCollectionSchema, createRecycledIDNameSchema, createRecycledIDShortNameSchema, createWeightAttributeSchema, getSchemaBaseUrl, getSchemaVersionOrDefault, hashCanonicalJson, hashObject, nearlyEqual, uniqueArrayItems, uniqueBy, validateAttributeValue, validateAttributesForItems, validateCertificateCollectionSlugs, validateCollectionsHaveRetiredAmounts, validateCountMatches, validateCreditSlugExists, validateCreditSymbolExists, validateDateAttribute, validateDateTimeAttribute, validateFormattedName, validateLocationBrazilData, validateNumericAttributeValue, validateRetirementReceiptRequirement, validateSummaryListMatchesData, validateTokenIdInName, validateTotalMatches };
4187
+ export { ALLOWED_BLOCKCHAIN_NETWORKS, type AuditReference, AuditReferenceSchema, type AuditResult, AuditResultSchema, type AuditRuleDefinition, AuditRuleDefinitionSchema, type AuditRuleDefinitions, AuditRuleDefinitionsSchema, type AuditRuleExecutionResult, AuditRuleExecutionResultSchema, type AuditRuleExecutionResults, AuditRuleExecutionResultsSchema, BLOCKCHAIN_NETWORK_CONFIG, BRAZIL_COUNTRY_CODE, BRAZIL_MUNICIPALITIES, BRAZIL_MUNICIPALITIES_NAMES, BRAZIL_SUBDIVISION_CODES, type BaseIpfs, BaseIpfsSchema, type BlockchainChainId, BlockchainChainIdSchema, type BlockchainNetworkName, BlockchainNetworkNameSchema, type BlockchainReference, type CalculationValue, type CertificateCollectionItemPurchase, CertificateCollectionItemPurchaseSchema, type CertificateCollectionItemRetirement, CertificateCollectionItemRetirementSchema, type CertificateIssuanceDateAttribute, CertificateIssuanceDateAttributeSchema, type CertificateReferenceBase, CertificateReferenceBaseSchema, type CertificateType, CertificateTypeSchema, type City, CitySchema, type Collection, type CollectionName, CollectionNameSchema, CollectionSchema, CollectionSchemaMeta, type CollectionSlug, CollectionSlugSchema, type ContainerType, ContainerTypeSchema, type Coordinates, CoordinatesSchema, type Credit, type CreditAmount, type CreditAmountAttribute, CreditAmountAttributeSchema, CreditAmountSchema, type CreditPurchaseReceiptAttributes, CreditPurchaseReceiptAttributesSchema, type CreditPurchaseReceiptBuyer, type CreditPurchaseReceiptCertificate, type CreditPurchaseReceiptCollection, type CreditPurchaseReceiptCredit, type CreditPurchaseReceiptData, CreditPurchaseReceiptDataSchema, type CreditPurchaseReceiptIdentity, type CreditPurchaseReceiptIpfs, CreditPurchaseReceiptIpfsSchema, CreditPurchaseReceiptIpfsSchemaMeta, CreditPurchaseReceiptNameSchema, type CreditPurchaseReceiptReference, CreditPurchaseReceiptReferenceSchema, type CreditPurchaseReceiptRetirementReceipt, CreditPurchaseReceiptShortNameSchema, type CreditPurchaseReceiptSummary, CreditPurchaseReceiptSummarySchema, type CreditReference, CreditReferenceSchema, type CreditRetirementReceiptAttributes, CreditRetirementReceiptAttributesSchema, type CreditRetirementReceiptBeneficiary, type CreditRetirementReceiptCertificate, type CreditRetirementReceiptCertificateCredit, type CreditRetirementReceiptCollection, type CreditRetirementReceiptCredit, type CreditRetirementReceiptCreditHolder, type CreditRetirementReceiptData, CreditRetirementReceiptDataSchema, type CreditRetirementReceiptIdentity, type CreditRetirementReceiptIpfs, CreditRetirementReceiptIpfsSchema, CreditRetirementReceiptIpfsSchemaMeta, CreditRetirementReceiptNameSchema, type CreditRetirementReceiptReference, CreditRetirementReceiptReferenceSchema, CreditRetirementReceiptShortNameSchema, type CreditRetirementReceiptSummary, CreditRetirementReceiptSummarySchema, CreditSchema, CreditSchemaMeta, type CreditTokenName, CreditTokenNameSchema, type CreditTokenSlug, CreditTokenSlugSchema, type CreditTokenSymbol, CreditTokenSymbolSchema, type CreditType, type CreditTypeAttribute, CreditTypeAttributeSchema, CreditTypeSchema, EPSILON, type EnsDomain, EnsDomainSchema, type EthereumAddress, EthereumAddressSchema, type ExternalId, ExternalIdSchema, type ExternalLink, type ExternalUrl, ExternalUrlSchema, type GasIDAttributeCertificateIssuanceDate, type GasIDAttributeCo2ePrevented, type GasIDAttributeCreditAmount, type GasIDAttributeCreditType, type GasIDAttributeGasType, type GasIDAttributeMassIDRecyclingDate, type GasIDAttributeMassIDTokenId, type GasIDAttributeMethodology, type GasIDAttributeOriginCity, type GasIDAttributeOriginCountrySubdivision, type GasIDAttributeRecyclingDate, type GasIDAttributeSourceWasteType, type GasIDAttributeSourceWeight, type GasIDAttributes, GasIDAttributesSchema, type GasIDData, GasIDDataSchema, type GasIDIpfs, GasIDIpfsSchema, GasIDIpfsSchemaMeta, GasIDNameSchema, type GasIDReference, GasIDReferenceSchema, GasIDShortNameSchema, type GasIDSummary, type GasType, GasTypeSchema, type HexColor, HexColorSchema, type IbamaWasteClassification, IbamaWasteClassificationSchema, type IpfsCid, IpfsCidSchema, type IpfsUri, IpfsUriSchema, type Ipns, IpnsSchema, type IsoCountryCode, IsoCountryCodeSchema, type IsoCountrySubdivisionCode, IsoCountrySubdivisionCodeSchema, type IsoDate, IsoDateSchema, type IsoDateTime, IsoDateTimeSchema, type Latitude, LatitudeSchema, type Location, LocationSchema, type Longitude, LongitudeSchema, type MassIDAttachment, type MassIDAttachmentType, type MassIDAttributeDropOffDate, type MassIDAttributeLocalWasteClassificationId, type MassIDAttributeOriginCity, type MassIDAttributeOriginCountrySubdivision, type MassIDAttributePickUpDate, type MassIDAttributePickUpVehicleType, type MassIDAttributeRecyclingDate, type MassIDAttributeRecyclingManifestCode, type MassIDAttributeRecyclingMethod, type MassIDAttributeScaleType, type MassIDAttributeTransportManifestCode, type MassIDAttributeWasteSubtype, type MassIDAttributeWasteType, type MassIDAttributeWeighingCaptureMethod, type MassIDAttributeWeight, type MassIDAttributes, MassIDAttributesSchema, type MassIDAudit, type MassIDAuditData, MassIDAuditDataSchema, MassIDAuditSchema, MassIDAuditSchemaMeta, type MassIDAuditSummary, MassIDAuditSummarySchema, type MassIDData, MassIDDataSchema, type MassIDEvent, type MassIDEvents, type MassIDIpfs, MassIDIpfsSchema, MassIDIpfsSchemaMeta, type MassIDLocalClassification, MassIDNameSchema, type MassIDRecyclingDateAttribute, MassIDRecyclingDateAttributeSchema, type MassIDReference, MassIDReferenceSchema, MassIDShortNameSchema, type MassIDTokenIdAttribute, MassIDTokenIdAttributeSchema, type MassIDWasteProperties, type Methodology, type MethodologyAttribute, MethodologyAttributeSchema, type MethodologyData, MethodologyDataSchema, type MethodologyName, MethodologyNameSchema, type MethodologyReference, MethodologyReferenceSchema, MethodologySchema, MethodologySchemaMeta, type MethodologyShortName, MethodologyShortNameSchema, type MethodologySlug, MethodologySlugSchema, type NftAttribute, NftAttributeSchema, type NftIpfs, NftIpfsSchema, type NftSchemaType, type NftTokenReferenceBase, NftTokenReferenceBaseSchema, type NonEmptyString, NonEmptyStringSchema, type NonNegativeFloat, NonNegativeFloatSchema, type NonNegativeInteger, NonNegativeIntegerSchema, type OriginCityAttribute, OriginCityAttributeSchema, type OriginCountrySubdivisionAttribute, OriginCountrySubdivisionAttributeSchema, type OriginalSaleReference, OriginalSaleReferenceSchema, type Participant, type ParticipantIdHash, ParticipantIdHashSchema, type ParticipantRole, ParticipantRoleSchema, ParticipantSchema, type Percentage, PercentageSchema, type PositiveFloat, PositiveFloatSchema, type PositiveInteger, PositiveIntegerSchema, type PreventedEmissionsCalculation, type ReceiptIdentity, ReceiptIdentitySchema, type RecordEnvironment, RecordEnvironmentSchema, type RecordSchemaType, RecordSchemaTypeSchema, type RecycledIDAttributeCertificateIssuanceDate, type RecycledIDAttributeCreditAmount, type RecycledIDAttributeCreditType, type RecycledIDAttributeMassIDRecyclingDate, type RecycledIDAttributeMassIDTokenId, type RecycledIDAttributeMethodology, type RecycledIDAttributeOriginCity, type RecycledIDAttributeOriginCountrySubdivision, type RecycledIDAttributeRecycledMassWeight, type RecycledIDAttributeRecyclingDate, type RecycledIDAttributeSourceWasteType, type RecycledIDAttributeSourceWeight, type RecycledIDAttributes, RecycledIDAttributesSchema, type RecycledIDData, RecycledIDDataSchema, type RecycledIDIpfs, RecycledIDIpfsSchema, RecycledIDIpfsSchemaMeta, RecycledIDNameSchema, type RecycledIDReference, RecycledIDReferenceSchema, RecycledIDShortNameSchema, type RecycledIDSummary, type RecyclingDateAttribute, RecyclingDateAttributeSchema, type ScaleType, ScaleTypeSchema, type SchemaInfo, SchemaInfoSchema, type SemanticVersion, SemanticVersionSchema, type Sha256Hash, Sha256HashSchema, type Slug, SlugSchema, type SmartContract, type SmartContractAddress, SmartContractAddressSchema, SmartContractSchema, type SourceWasteTypeAttribute, SourceWasteTypeAttributeSchema, type SourceWeightAttribute, SourceWeightAttributeSchema, type StringifiedTokenId, StringifiedTokenIdSchema, type TokenId, TokenIdSchema, type TokenReferenceBase, TokenReferenceBaseSchema, type UnixTimestamp, UnixTimestampSchema, type UsdcAmount, UsdcAmountSchema, type Uuid, UuidSchema, type VehicleType, VehicleTypeSchema, type ViewerReference, ViewerReferenceSchema, type WasteProperties, WastePropertiesSchema, type WasteSubtype, WasteSubtypeSchema, type WasteType, WasteTypeSchema, type WeighingCaptureMethod, WeighingCaptureMethodSchema, type WeightKg, WeightKgSchema, buildSchemaUrl, canonicalizeForHash, createAttributeMap, createCreditPurchaseReceiptNameSchema, createCreditPurchaseReceiptShortNameSchema, createCreditRetirementReceiptNameSchema, createCreditRetirementReceiptShortNameSchema, createDateAttributeSchema, createGasIDNameSchema, createGasIDShortNameSchema, createMassIDNameSchema, createMassIDShortNameSchema, createNumericAttributeSchema, createOrderedAttributesSchema, createReceiptCollectionSchema, createRecycledIDNameSchema, createRecycledIDShortNameSchema, createWeightAttributeSchema, getSchemaBaseUrl, getSchemaVersionOrDefault, hashCanonicalJson, hashObject, nearlyEqual, uniqueArrayItems, uniqueBy, validateAttributeValue, validateAttributesForItems, validateCertificateCollectionSlugs, validateCollectionsHaveRetiredAmounts, validateCountMatches, validateCreditSlugExists, validateCreditSymbolExists, validateDateAttribute, validateDateTimeAttribute, validateFormattedName, validateLocationBrazilData, validateNumericAttributeValue, validateRetirementReceiptRequirement, validateSummaryListMatchesData, validateTokenIdInName, validateTotalMatches };
package/dist/index.d.ts CHANGED
@@ -1982,7 +1982,7 @@ declare const CreditPurchaseReceiptCreditSchema: z.ZodObject<{
1982
1982
  ipfs_uri: z.ZodString;
1983
1983
  smart_contract_address: z.ZodString;
1984
1984
  slug: z.ZodEnum<{
1985
- "carbon-methane": "carbon-methane";
1985
+ "carbon-ch4": "carbon-ch4";
1986
1986
  biowaste: "biowaste";
1987
1987
  }>;
1988
1988
  symbol: z.ZodEnum<{
@@ -2010,7 +2010,7 @@ declare const CreditPurchaseReceiptCertificateSchema: z.ZodObject<{
2010
2010
  token_id: z.ZodString;
2011
2011
  }, z.core.$strict>;
2012
2012
  credit_slug: z.ZodEnum<{
2013
- "carbon-methane": "carbon-methane";
2013
+ "carbon-ch4": "carbon-ch4";
2014
2014
  biowaste: "biowaste";
2015
2015
  }>;
2016
2016
  purchased_amount: z.ZodNumber;
@@ -2073,7 +2073,7 @@ declare const CreditPurchaseReceiptDataSchema: z.ZodObject<{
2073
2073
  ipfs_uri: z.ZodString;
2074
2074
  smart_contract_address: z.ZodString;
2075
2075
  slug: z.ZodEnum<{
2076
- "carbon-methane": "carbon-methane";
2076
+ "carbon-ch4": "carbon-ch4";
2077
2077
  biowaste: "biowaste";
2078
2078
  }>;
2079
2079
  symbol: z.ZodEnum<{
@@ -2100,7 +2100,7 @@ declare const CreditPurchaseReceiptDataSchema: z.ZodObject<{
2100
2100
  token_id: z.ZodString;
2101
2101
  }, z.core.$strict>;
2102
2102
  credit_slug: z.ZodEnum<{
2103
- "carbon-methane": "carbon-methane";
2103
+ "carbon-ch4": "carbon-ch4";
2104
2104
  biowaste: "biowaste";
2105
2105
  }>;
2106
2106
  purchased_amount: z.ZodNumber;
@@ -2122,6 +2122,15 @@ declare const CreditPurchaseReceiptDataSchema: z.ZodObject<{
2122
2122
  smart_contract_address: z.ZodString;
2123
2123
  token_id: z.ZodString;
2124
2124
  }, z.core.$strict>>;
2125
+ original_sale: z.ZodOptional<z.ZodObject<{
2126
+ order_id: z.ZodUUID;
2127
+ sold_at: z.ZodISODateTime;
2128
+ original_nft: z.ZodObject<{
2129
+ chain_id: z.ZodNumber;
2130
+ smart_contract_address: z.ZodString;
2131
+ token_id: z.ZodString;
2132
+ }, z.core.$strict>;
2133
+ }, z.core.$strict>>;
2125
2134
  }, z.core.$strict>;
2126
2135
  type CreditPurchaseReceiptData = z.infer<typeof CreditPurchaseReceiptDataSchema>;
2127
2136
 
@@ -2232,7 +2241,7 @@ declare const CreditPurchaseReceiptIpfsSchema: z.ZodObject<{
2232
2241
  ipfs_uri: z.ZodString;
2233
2242
  smart_contract_address: z.ZodString;
2234
2243
  slug: z.ZodEnum<{
2235
- "carbon-methane": "carbon-methane";
2244
+ "carbon-ch4": "carbon-ch4";
2236
2245
  biowaste: "biowaste";
2237
2246
  }>;
2238
2247
  symbol: z.ZodEnum<{
@@ -2259,7 +2268,7 @@ declare const CreditPurchaseReceiptIpfsSchema: z.ZodObject<{
2259
2268
  token_id: z.ZodString;
2260
2269
  }, z.core.$strict>;
2261
2270
  credit_slug: z.ZodEnum<{
2262
- "carbon-methane": "carbon-methane";
2271
+ "carbon-ch4": "carbon-ch4";
2263
2272
  biowaste: "biowaste";
2264
2273
  }>;
2265
2274
  purchased_amount: z.ZodNumber;
@@ -2281,6 +2290,15 @@ declare const CreditPurchaseReceiptIpfsSchema: z.ZodObject<{
2281
2290
  smart_contract_address: z.ZodString;
2282
2291
  token_id: z.ZodString;
2283
2292
  }, z.core.$strict>>;
2293
+ original_sale: z.ZodOptional<z.ZodObject<{
2294
+ order_id: z.ZodUUID;
2295
+ sold_at: z.ZodISODateTime;
2296
+ original_nft: z.ZodObject<{
2297
+ chain_id: z.ZodNumber;
2298
+ smart_contract_address: z.ZodString;
2299
+ token_id: z.ZodString;
2300
+ }, z.core.$strict>;
2301
+ }, z.core.$strict>>;
2284
2302
  }, z.core.$strict>;
2285
2303
  }, z.core.$strict>;
2286
2304
  type CreditPurchaseReceiptIpfs = z.infer<typeof CreditPurchaseReceiptIpfsSchema>;
@@ -2348,7 +2366,7 @@ declare const CreditRetirementReceiptCreditSchema: z.ZodObject<{
2348
2366
  ipfs_uri: z.ZodString;
2349
2367
  smart_contract_address: z.ZodString;
2350
2368
  slug: z.ZodEnum<{
2351
- "carbon-methane": "carbon-methane";
2369
+ "carbon-ch4": "carbon-ch4";
2352
2370
  biowaste: "biowaste";
2353
2371
  }>;
2354
2372
  symbol: z.ZodEnum<{
@@ -2363,7 +2381,7 @@ declare const CreditRetirementReceiptCertificateCreditSchema: z.ZodObject<{
2363
2381
  "C-BIOW": "C-BIOW";
2364
2382
  }>;
2365
2383
  credit_slug: z.ZodEnum<{
2366
- "carbon-methane": "carbon-methane";
2384
+ "carbon-ch4": "carbon-ch4";
2367
2385
  biowaste: "biowaste";
2368
2386
  }>;
2369
2387
  amount: z.ZodNumber;
@@ -2404,7 +2422,7 @@ declare const CreditRetirementReceiptCertificateSchema: z.ZodObject<{
2404
2422
  "C-BIOW": "C-BIOW";
2405
2423
  }>;
2406
2424
  credit_slug: z.ZodEnum<{
2407
- "carbon-methane": "carbon-methane";
2425
+ "carbon-ch4": "carbon-ch4";
2408
2426
  biowaste: "biowaste";
2409
2427
  }>;
2410
2428
  amount: z.ZodNumber;
@@ -2460,7 +2478,7 @@ declare const CreditRetirementReceiptDataSchema: z.ZodObject<{
2460
2478
  ipfs_uri: z.ZodString;
2461
2479
  smart_contract_address: z.ZodString;
2462
2480
  slug: z.ZodEnum<{
2463
- "carbon-methane": "carbon-methane";
2481
+ "carbon-ch4": "carbon-ch4";
2464
2482
  biowaste: "biowaste";
2465
2483
  }>;
2466
2484
  symbol: z.ZodEnum<{
@@ -2501,7 +2519,7 @@ declare const CreditRetirementReceiptDataSchema: z.ZodObject<{
2501
2519
  "C-BIOW": "C-BIOW";
2502
2520
  }>;
2503
2521
  credit_slug: z.ZodEnum<{
2504
- "carbon-methane": "carbon-methane";
2522
+ "carbon-ch4": "carbon-ch4";
2505
2523
  biowaste: "biowaste";
2506
2524
  }>;
2507
2525
  amount: z.ZodNumber;
@@ -2634,7 +2652,7 @@ declare const CreditRetirementReceiptIpfsSchema: z.ZodObject<{
2634
2652
  ipfs_uri: z.ZodString;
2635
2653
  smart_contract_address: z.ZodString;
2636
2654
  slug: z.ZodEnum<{
2637
- "carbon-methane": "carbon-methane";
2655
+ "carbon-ch4": "carbon-ch4";
2638
2656
  biowaste: "biowaste";
2639
2657
  }>;
2640
2658
  symbol: z.ZodEnum<{
@@ -2675,7 +2693,7 @@ declare const CreditRetirementReceiptIpfsSchema: z.ZodObject<{
2675
2693
  "C-BIOW": "C-BIOW";
2676
2694
  }>;
2677
2695
  credit_slug: z.ZodEnum<{
2678
- "carbon-methane": "carbon-methane";
2696
+ "carbon-ch4": "carbon-ch4";
2679
2697
  biowaste: "biowaste";
2680
2698
  }>;
2681
2699
  amount: z.ZodNumber;
@@ -2790,7 +2808,7 @@ declare const CreditSchema: z.ZodObject<{
2790
2808
  "C-BIOW": "C-BIOW";
2791
2809
  }>;
2792
2810
  slug: z.ZodEnum<{
2793
- "carbon-methane": "carbon-methane";
2811
+ "carbon-ch4": "carbon-ch4";
2794
2812
  biowaste: "biowaste";
2795
2813
  }>;
2796
2814
  name: z.ZodEnum<{
@@ -3560,7 +3578,7 @@ declare const CreditTokenNameSchema: z.ZodEnum<{
3560
3578
  }>;
3561
3579
  type CreditTokenName = z.infer<typeof CreditTokenNameSchema>;
3562
3580
  declare const CreditTokenSlugSchema: z.ZodEnum<{
3563
- "carbon-methane": "carbon-methane";
3581
+ "carbon-ch4": "carbon-ch4";
3564
3582
  biowaste: "biowaste";
3565
3583
  }>;
3566
3584
  type CreditTokenSlug = z.infer<typeof CreditTokenSlugSchema>;
@@ -3818,7 +3836,7 @@ declare const CreditReferenceSchema: z.ZodObject<{
3818
3836
  ipfs_uri: z.ZodString;
3819
3837
  smart_contract_address: z.ZodString;
3820
3838
  slug: z.ZodEnum<{
3821
- "carbon-methane": "carbon-methane";
3839
+ "carbon-ch4": "carbon-ch4";
3822
3840
  biowaste: "biowaste";
3823
3841
  }>;
3824
3842
  symbol: z.ZodEnum<{
@@ -3858,6 +3876,17 @@ declare const MethodologyReferenceSchema: z.ZodObject<{
3858
3876
  }, z.core.$strict>;
3859
3877
  type MethodologyReference = z.infer<typeof MethodologyReferenceSchema>;
3860
3878
 
3879
+ declare const OriginalSaleReferenceSchema: z.ZodObject<{
3880
+ order_id: z.ZodUUID;
3881
+ sold_at: z.ZodISODateTime;
3882
+ original_nft: z.ZodObject<{
3883
+ chain_id: z.ZodNumber;
3884
+ smart_contract_address: z.ZodString;
3885
+ token_id: z.ZodString;
3886
+ }, z.core.$strict>;
3887
+ }, z.core.$strict>;
3888
+ type OriginalSaleReference = z.infer<typeof OriginalSaleReferenceSchema>;
3889
+
3861
3890
  declare const CreditPurchaseReceiptReferenceSchema: z.ZodObject<{
3862
3891
  external_id: z.ZodUUID;
3863
3892
  external_url: z.ZodURL;
@@ -4155,4 +4184,4 @@ declare function validateLocationBrazilData(record: {
4155
4184
  }) => void;
4156
4185
  }): void;
4157
4186
 
4158
- export { ALLOWED_BLOCKCHAIN_NETWORKS, type AuditReference, AuditReferenceSchema, type AuditResult, AuditResultSchema, type AuditRuleDefinition, AuditRuleDefinitionSchema, type AuditRuleDefinitions, AuditRuleDefinitionsSchema, type AuditRuleExecutionResult, AuditRuleExecutionResultSchema, type AuditRuleExecutionResults, AuditRuleExecutionResultsSchema, BLOCKCHAIN_NETWORK_CONFIG, BRAZIL_COUNTRY_CODE, BRAZIL_MUNICIPALITIES, BRAZIL_MUNICIPALITIES_NAMES, BRAZIL_SUBDIVISION_CODES, type BaseIpfs, BaseIpfsSchema, type BlockchainChainId, BlockchainChainIdSchema, type BlockchainNetworkName, BlockchainNetworkNameSchema, type BlockchainReference, type CalculationValue, type CertificateCollectionItemPurchase, CertificateCollectionItemPurchaseSchema, type CertificateCollectionItemRetirement, CertificateCollectionItemRetirementSchema, type CertificateIssuanceDateAttribute, CertificateIssuanceDateAttributeSchema, type CertificateReferenceBase, CertificateReferenceBaseSchema, type CertificateType, CertificateTypeSchema, type City, CitySchema, type Collection, type CollectionName, CollectionNameSchema, CollectionSchema, CollectionSchemaMeta, type CollectionSlug, CollectionSlugSchema, type ContainerType, ContainerTypeSchema, type Coordinates, CoordinatesSchema, type Credit, type CreditAmount, type CreditAmountAttribute, CreditAmountAttributeSchema, CreditAmountSchema, type CreditPurchaseReceiptAttributes, CreditPurchaseReceiptAttributesSchema, type CreditPurchaseReceiptBuyer, type CreditPurchaseReceiptCertificate, type CreditPurchaseReceiptCollection, type CreditPurchaseReceiptCredit, type CreditPurchaseReceiptData, CreditPurchaseReceiptDataSchema, type CreditPurchaseReceiptIdentity, type CreditPurchaseReceiptIpfs, CreditPurchaseReceiptIpfsSchema, CreditPurchaseReceiptIpfsSchemaMeta, CreditPurchaseReceiptNameSchema, type CreditPurchaseReceiptReference, CreditPurchaseReceiptReferenceSchema, type CreditPurchaseReceiptRetirementReceipt, CreditPurchaseReceiptShortNameSchema, type CreditPurchaseReceiptSummary, CreditPurchaseReceiptSummarySchema, type CreditReference, CreditReferenceSchema, type CreditRetirementReceiptAttributes, CreditRetirementReceiptAttributesSchema, type CreditRetirementReceiptBeneficiary, type CreditRetirementReceiptCertificate, type CreditRetirementReceiptCertificateCredit, type CreditRetirementReceiptCollection, type CreditRetirementReceiptCredit, type CreditRetirementReceiptCreditHolder, type CreditRetirementReceiptData, CreditRetirementReceiptDataSchema, type CreditRetirementReceiptIdentity, type CreditRetirementReceiptIpfs, CreditRetirementReceiptIpfsSchema, CreditRetirementReceiptIpfsSchemaMeta, CreditRetirementReceiptNameSchema, type CreditRetirementReceiptReference, CreditRetirementReceiptReferenceSchema, CreditRetirementReceiptShortNameSchema, type CreditRetirementReceiptSummary, CreditRetirementReceiptSummarySchema, CreditSchema, CreditSchemaMeta, type CreditTokenName, CreditTokenNameSchema, type CreditTokenSlug, CreditTokenSlugSchema, type CreditTokenSymbol, CreditTokenSymbolSchema, type CreditType, type CreditTypeAttribute, CreditTypeAttributeSchema, CreditTypeSchema, EPSILON, type EnsDomain, EnsDomainSchema, type EthereumAddress, EthereumAddressSchema, type ExternalId, ExternalIdSchema, type ExternalLink, type ExternalUrl, ExternalUrlSchema, type GasIDAttributeCertificateIssuanceDate, type GasIDAttributeCo2ePrevented, type GasIDAttributeCreditAmount, type GasIDAttributeCreditType, type GasIDAttributeGasType, type GasIDAttributeMassIDRecyclingDate, type GasIDAttributeMassIDTokenId, type GasIDAttributeMethodology, type GasIDAttributeOriginCity, type GasIDAttributeOriginCountrySubdivision, type GasIDAttributeRecyclingDate, type GasIDAttributeSourceWasteType, type GasIDAttributeSourceWeight, type GasIDAttributes, GasIDAttributesSchema, type GasIDData, GasIDDataSchema, type GasIDIpfs, GasIDIpfsSchema, GasIDIpfsSchemaMeta, GasIDNameSchema, type GasIDReference, GasIDReferenceSchema, GasIDShortNameSchema, type GasIDSummary, type GasType, GasTypeSchema, type HexColor, HexColorSchema, type IbamaWasteClassification, IbamaWasteClassificationSchema, type IpfsCid, IpfsCidSchema, type IpfsUri, IpfsUriSchema, type Ipns, IpnsSchema, type IsoCountryCode, IsoCountryCodeSchema, type IsoCountrySubdivisionCode, IsoCountrySubdivisionCodeSchema, type IsoDate, IsoDateSchema, type IsoDateTime, IsoDateTimeSchema, type Latitude, LatitudeSchema, type Location, LocationSchema, type Longitude, LongitudeSchema, type MassIDAttachment, type MassIDAttachmentType, type MassIDAttributeDropOffDate, type MassIDAttributeLocalWasteClassificationId, type MassIDAttributeOriginCity, type MassIDAttributeOriginCountrySubdivision, type MassIDAttributePickUpDate, type MassIDAttributePickUpVehicleType, type MassIDAttributeRecyclingDate, type MassIDAttributeRecyclingManifestCode, type MassIDAttributeRecyclingMethod, type MassIDAttributeScaleType, type MassIDAttributeTransportManifestCode, type MassIDAttributeWasteSubtype, type MassIDAttributeWasteType, type MassIDAttributeWeighingCaptureMethod, type MassIDAttributeWeight, type MassIDAttributes, MassIDAttributesSchema, type MassIDAudit, type MassIDAuditData, MassIDAuditDataSchema, MassIDAuditSchema, MassIDAuditSchemaMeta, type MassIDAuditSummary, MassIDAuditSummarySchema, type MassIDData, MassIDDataSchema, type MassIDEvent, type MassIDEvents, type MassIDIpfs, MassIDIpfsSchema, MassIDIpfsSchemaMeta, type MassIDLocalClassification, MassIDNameSchema, type MassIDRecyclingDateAttribute, MassIDRecyclingDateAttributeSchema, type MassIDReference, MassIDReferenceSchema, MassIDShortNameSchema, type MassIDTokenIdAttribute, MassIDTokenIdAttributeSchema, type MassIDWasteProperties, type Methodology, type MethodologyAttribute, MethodologyAttributeSchema, type MethodologyData, MethodologyDataSchema, type MethodologyName, MethodologyNameSchema, type MethodologyReference, MethodologyReferenceSchema, MethodologySchema, MethodologySchemaMeta, type MethodologyShortName, MethodologyShortNameSchema, type MethodologySlug, MethodologySlugSchema, type NftAttribute, NftAttributeSchema, type NftIpfs, NftIpfsSchema, type NftSchemaType, type NftTokenReferenceBase, NftTokenReferenceBaseSchema, type NonEmptyString, NonEmptyStringSchema, type NonNegativeFloat, NonNegativeFloatSchema, type NonNegativeInteger, NonNegativeIntegerSchema, type OriginCityAttribute, OriginCityAttributeSchema, type OriginCountrySubdivisionAttribute, OriginCountrySubdivisionAttributeSchema, type Participant, type ParticipantIdHash, ParticipantIdHashSchema, type ParticipantRole, ParticipantRoleSchema, ParticipantSchema, type Percentage, PercentageSchema, type PositiveFloat, PositiveFloatSchema, type PositiveInteger, PositiveIntegerSchema, type PreventedEmissionsCalculation, type ReceiptIdentity, ReceiptIdentitySchema, type RecordEnvironment, RecordEnvironmentSchema, type RecordSchemaType, RecordSchemaTypeSchema, type RecycledIDAttributeCertificateIssuanceDate, type RecycledIDAttributeCreditAmount, type RecycledIDAttributeCreditType, type RecycledIDAttributeMassIDRecyclingDate, type RecycledIDAttributeMassIDTokenId, type RecycledIDAttributeMethodology, type RecycledIDAttributeOriginCity, type RecycledIDAttributeOriginCountrySubdivision, type RecycledIDAttributeRecycledMassWeight, type RecycledIDAttributeRecyclingDate, type RecycledIDAttributeSourceWasteType, type RecycledIDAttributeSourceWeight, type RecycledIDAttributes, RecycledIDAttributesSchema, type RecycledIDData, RecycledIDDataSchema, type RecycledIDIpfs, RecycledIDIpfsSchema, RecycledIDIpfsSchemaMeta, RecycledIDNameSchema, type RecycledIDReference, RecycledIDReferenceSchema, RecycledIDShortNameSchema, type RecycledIDSummary, type RecyclingDateAttribute, RecyclingDateAttributeSchema, type ScaleType, ScaleTypeSchema, type SchemaInfo, SchemaInfoSchema, type SemanticVersion, SemanticVersionSchema, type Sha256Hash, Sha256HashSchema, type Slug, SlugSchema, type SmartContract, type SmartContractAddress, SmartContractAddressSchema, SmartContractSchema, type SourceWasteTypeAttribute, SourceWasteTypeAttributeSchema, type SourceWeightAttribute, SourceWeightAttributeSchema, type StringifiedTokenId, StringifiedTokenIdSchema, type TokenId, TokenIdSchema, type TokenReferenceBase, TokenReferenceBaseSchema, type UnixTimestamp, UnixTimestampSchema, type UsdcAmount, UsdcAmountSchema, type Uuid, UuidSchema, type VehicleType, VehicleTypeSchema, type ViewerReference, ViewerReferenceSchema, type WasteProperties, WastePropertiesSchema, type WasteSubtype, WasteSubtypeSchema, type WasteType, WasteTypeSchema, type WeighingCaptureMethod, WeighingCaptureMethodSchema, type WeightKg, WeightKgSchema, buildSchemaUrl, canonicalizeForHash, createAttributeMap, createCreditPurchaseReceiptNameSchema, createCreditPurchaseReceiptShortNameSchema, createCreditRetirementReceiptNameSchema, createCreditRetirementReceiptShortNameSchema, createDateAttributeSchema, createGasIDNameSchema, createGasIDShortNameSchema, createMassIDNameSchema, createMassIDShortNameSchema, createNumericAttributeSchema, createOrderedAttributesSchema, createReceiptCollectionSchema, createRecycledIDNameSchema, createRecycledIDShortNameSchema, createWeightAttributeSchema, getSchemaBaseUrl, getSchemaVersionOrDefault, hashCanonicalJson, hashObject, nearlyEqual, uniqueArrayItems, uniqueBy, validateAttributeValue, validateAttributesForItems, validateCertificateCollectionSlugs, validateCollectionsHaveRetiredAmounts, validateCountMatches, validateCreditSlugExists, validateCreditSymbolExists, validateDateAttribute, validateDateTimeAttribute, validateFormattedName, validateLocationBrazilData, validateNumericAttributeValue, validateRetirementReceiptRequirement, validateSummaryListMatchesData, validateTokenIdInName, validateTotalMatches };
4187
+ export { ALLOWED_BLOCKCHAIN_NETWORKS, type AuditReference, AuditReferenceSchema, type AuditResult, AuditResultSchema, type AuditRuleDefinition, AuditRuleDefinitionSchema, type AuditRuleDefinitions, AuditRuleDefinitionsSchema, type AuditRuleExecutionResult, AuditRuleExecutionResultSchema, type AuditRuleExecutionResults, AuditRuleExecutionResultsSchema, BLOCKCHAIN_NETWORK_CONFIG, BRAZIL_COUNTRY_CODE, BRAZIL_MUNICIPALITIES, BRAZIL_MUNICIPALITIES_NAMES, BRAZIL_SUBDIVISION_CODES, type BaseIpfs, BaseIpfsSchema, type BlockchainChainId, BlockchainChainIdSchema, type BlockchainNetworkName, BlockchainNetworkNameSchema, type BlockchainReference, type CalculationValue, type CertificateCollectionItemPurchase, CertificateCollectionItemPurchaseSchema, type CertificateCollectionItemRetirement, CertificateCollectionItemRetirementSchema, type CertificateIssuanceDateAttribute, CertificateIssuanceDateAttributeSchema, type CertificateReferenceBase, CertificateReferenceBaseSchema, type CertificateType, CertificateTypeSchema, type City, CitySchema, type Collection, type CollectionName, CollectionNameSchema, CollectionSchema, CollectionSchemaMeta, type CollectionSlug, CollectionSlugSchema, type ContainerType, ContainerTypeSchema, type Coordinates, CoordinatesSchema, type Credit, type CreditAmount, type CreditAmountAttribute, CreditAmountAttributeSchema, CreditAmountSchema, type CreditPurchaseReceiptAttributes, CreditPurchaseReceiptAttributesSchema, type CreditPurchaseReceiptBuyer, type CreditPurchaseReceiptCertificate, type CreditPurchaseReceiptCollection, type CreditPurchaseReceiptCredit, type CreditPurchaseReceiptData, CreditPurchaseReceiptDataSchema, type CreditPurchaseReceiptIdentity, type CreditPurchaseReceiptIpfs, CreditPurchaseReceiptIpfsSchema, CreditPurchaseReceiptIpfsSchemaMeta, CreditPurchaseReceiptNameSchema, type CreditPurchaseReceiptReference, CreditPurchaseReceiptReferenceSchema, type CreditPurchaseReceiptRetirementReceipt, CreditPurchaseReceiptShortNameSchema, type CreditPurchaseReceiptSummary, CreditPurchaseReceiptSummarySchema, type CreditReference, CreditReferenceSchema, type CreditRetirementReceiptAttributes, CreditRetirementReceiptAttributesSchema, type CreditRetirementReceiptBeneficiary, type CreditRetirementReceiptCertificate, type CreditRetirementReceiptCertificateCredit, type CreditRetirementReceiptCollection, type CreditRetirementReceiptCredit, type CreditRetirementReceiptCreditHolder, type CreditRetirementReceiptData, CreditRetirementReceiptDataSchema, type CreditRetirementReceiptIdentity, type CreditRetirementReceiptIpfs, CreditRetirementReceiptIpfsSchema, CreditRetirementReceiptIpfsSchemaMeta, CreditRetirementReceiptNameSchema, type CreditRetirementReceiptReference, CreditRetirementReceiptReferenceSchema, CreditRetirementReceiptShortNameSchema, type CreditRetirementReceiptSummary, CreditRetirementReceiptSummarySchema, CreditSchema, CreditSchemaMeta, type CreditTokenName, CreditTokenNameSchema, type CreditTokenSlug, CreditTokenSlugSchema, type CreditTokenSymbol, CreditTokenSymbolSchema, type CreditType, type CreditTypeAttribute, CreditTypeAttributeSchema, CreditTypeSchema, EPSILON, type EnsDomain, EnsDomainSchema, type EthereumAddress, EthereumAddressSchema, type ExternalId, ExternalIdSchema, type ExternalLink, type ExternalUrl, ExternalUrlSchema, type GasIDAttributeCertificateIssuanceDate, type GasIDAttributeCo2ePrevented, type GasIDAttributeCreditAmount, type GasIDAttributeCreditType, type GasIDAttributeGasType, type GasIDAttributeMassIDRecyclingDate, type GasIDAttributeMassIDTokenId, type GasIDAttributeMethodology, type GasIDAttributeOriginCity, type GasIDAttributeOriginCountrySubdivision, type GasIDAttributeRecyclingDate, type GasIDAttributeSourceWasteType, type GasIDAttributeSourceWeight, type GasIDAttributes, GasIDAttributesSchema, type GasIDData, GasIDDataSchema, type GasIDIpfs, GasIDIpfsSchema, GasIDIpfsSchemaMeta, GasIDNameSchema, type GasIDReference, GasIDReferenceSchema, GasIDShortNameSchema, type GasIDSummary, type GasType, GasTypeSchema, type HexColor, HexColorSchema, type IbamaWasteClassification, IbamaWasteClassificationSchema, type IpfsCid, IpfsCidSchema, type IpfsUri, IpfsUriSchema, type Ipns, IpnsSchema, type IsoCountryCode, IsoCountryCodeSchema, type IsoCountrySubdivisionCode, IsoCountrySubdivisionCodeSchema, type IsoDate, IsoDateSchema, type IsoDateTime, IsoDateTimeSchema, type Latitude, LatitudeSchema, type Location, LocationSchema, type Longitude, LongitudeSchema, type MassIDAttachment, type MassIDAttachmentType, type MassIDAttributeDropOffDate, type MassIDAttributeLocalWasteClassificationId, type MassIDAttributeOriginCity, type MassIDAttributeOriginCountrySubdivision, type MassIDAttributePickUpDate, type MassIDAttributePickUpVehicleType, type MassIDAttributeRecyclingDate, type MassIDAttributeRecyclingManifestCode, type MassIDAttributeRecyclingMethod, type MassIDAttributeScaleType, type MassIDAttributeTransportManifestCode, type MassIDAttributeWasteSubtype, type MassIDAttributeWasteType, type MassIDAttributeWeighingCaptureMethod, type MassIDAttributeWeight, type MassIDAttributes, MassIDAttributesSchema, type MassIDAudit, type MassIDAuditData, MassIDAuditDataSchema, MassIDAuditSchema, MassIDAuditSchemaMeta, type MassIDAuditSummary, MassIDAuditSummarySchema, type MassIDData, MassIDDataSchema, type MassIDEvent, type MassIDEvents, type MassIDIpfs, MassIDIpfsSchema, MassIDIpfsSchemaMeta, type MassIDLocalClassification, MassIDNameSchema, type MassIDRecyclingDateAttribute, MassIDRecyclingDateAttributeSchema, type MassIDReference, MassIDReferenceSchema, MassIDShortNameSchema, type MassIDTokenIdAttribute, MassIDTokenIdAttributeSchema, type MassIDWasteProperties, type Methodology, type MethodologyAttribute, MethodologyAttributeSchema, type MethodologyData, MethodologyDataSchema, type MethodologyName, MethodologyNameSchema, type MethodologyReference, MethodologyReferenceSchema, MethodologySchema, MethodologySchemaMeta, type MethodologyShortName, MethodologyShortNameSchema, type MethodologySlug, MethodologySlugSchema, type NftAttribute, NftAttributeSchema, type NftIpfs, NftIpfsSchema, type NftSchemaType, type NftTokenReferenceBase, NftTokenReferenceBaseSchema, type NonEmptyString, NonEmptyStringSchema, type NonNegativeFloat, NonNegativeFloatSchema, type NonNegativeInteger, NonNegativeIntegerSchema, type OriginCityAttribute, OriginCityAttributeSchema, type OriginCountrySubdivisionAttribute, OriginCountrySubdivisionAttributeSchema, type OriginalSaleReference, OriginalSaleReferenceSchema, type Participant, type ParticipantIdHash, ParticipantIdHashSchema, type ParticipantRole, ParticipantRoleSchema, ParticipantSchema, type Percentage, PercentageSchema, type PositiveFloat, PositiveFloatSchema, type PositiveInteger, PositiveIntegerSchema, type PreventedEmissionsCalculation, type ReceiptIdentity, ReceiptIdentitySchema, type RecordEnvironment, RecordEnvironmentSchema, type RecordSchemaType, RecordSchemaTypeSchema, type RecycledIDAttributeCertificateIssuanceDate, type RecycledIDAttributeCreditAmount, type RecycledIDAttributeCreditType, type RecycledIDAttributeMassIDRecyclingDate, type RecycledIDAttributeMassIDTokenId, type RecycledIDAttributeMethodology, type RecycledIDAttributeOriginCity, type RecycledIDAttributeOriginCountrySubdivision, type RecycledIDAttributeRecycledMassWeight, type RecycledIDAttributeRecyclingDate, type RecycledIDAttributeSourceWasteType, type RecycledIDAttributeSourceWeight, type RecycledIDAttributes, RecycledIDAttributesSchema, type RecycledIDData, RecycledIDDataSchema, type RecycledIDIpfs, RecycledIDIpfsSchema, RecycledIDIpfsSchemaMeta, RecycledIDNameSchema, type RecycledIDReference, RecycledIDReferenceSchema, RecycledIDShortNameSchema, type RecycledIDSummary, type RecyclingDateAttribute, RecyclingDateAttributeSchema, type ScaleType, ScaleTypeSchema, type SchemaInfo, SchemaInfoSchema, type SemanticVersion, SemanticVersionSchema, type Sha256Hash, Sha256HashSchema, type Slug, SlugSchema, type SmartContract, type SmartContractAddress, SmartContractAddressSchema, SmartContractSchema, type SourceWasteTypeAttribute, SourceWasteTypeAttributeSchema, type SourceWeightAttribute, SourceWeightAttributeSchema, type StringifiedTokenId, StringifiedTokenIdSchema, type TokenId, TokenIdSchema, type TokenReferenceBase, TokenReferenceBaseSchema, type UnixTimestamp, UnixTimestampSchema, type UsdcAmount, UsdcAmountSchema, type Uuid, UuidSchema, type VehicleType, VehicleTypeSchema, type ViewerReference, ViewerReferenceSchema, type WasteProperties, WastePropertiesSchema, type WasteSubtype, WasteSubtypeSchema, type WasteType, WasteTypeSchema, type WeighingCaptureMethod, WeighingCaptureMethodSchema, type WeightKg, WeightKgSchema, buildSchemaUrl, canonicalizeForHash, createAttributeMap, createCreditPurchaseReceiptNameSchema, createCreditPurchaseReceiptShortNameSchema, createCreditRetirementReceiptNameSchema, createCreditRetirementReceiptShortNameSchema, createDateAttributeSchema, createGasIDNameSchema, createGasIDShortNameSchema, createMassIDNameSchema, createMassIDShortNameSchema, createNumericAttributeSchema, createOrderedAttributesSchema, createReceiptCollectionSchema, createRecycledIDNameSchema, createRecycledIDShortNameSchema, createWeightAttributeSchema, getSchemaBaseUrl, getSchemaVersionOrDefault, hashCanonicalJson, hashObject, nearlyEqual, uniqueArrayItems, uniqueBy, validateAttributeValue, validateAttributesForItems, validateCertificateCollectionSlugs, validateCollectionsHaveRetiredAmounts, validateCountMatches, validateCreditSlugExists, validateCreditSymbolExists, validateDateAttribute, validateDateTimeAttribute, validateFormattedName, validateLocationBrazilData, validateNumericAttributeValue, validateRetirementReceiptRequirement, validateSummaryListMatchesData, validateTokenIdInName, validateTotalMatches };
package/dist/index.js CHANGED
@@ -28230,10 +28230,10 @@ var CreditTokenNameSchema = z.enum(["Carrot Carbon (CH\u2084)", "Carrot Biowaste
28230
28230
  description: "Human-readable display name for the credit token",
28231
28231
  examples: ["Carrot Carbon (CH\u2084)", "Carrot Biowaste"]
28232
28232
  });
28233
- var CreditTokenSlugSchema = z.enum(["carbon-methane", "biowaste"]).meta({
28233
+ var CreditTokenSlugSchema = z.enum(["carbon-ch4", "biowaste"]).meta({
28234
28234
  title: "Credit Token Slug",
28235
28235
  description: "URL-friendly identifier for the credit token",
28236
- examples: ["carbon-methane", "biowaste"]
28236
+ examples: ["carbon-ch4", "biowaste"]
28237
28237
  });
28238
28238
  var CreditTokenSymbolSchema = z.enum(["C-CARB.CH4", "C-BIOW"]).meta({
28239
28239
  title: "Credit Token Symbol",
@@ -29106,6 +29106,38 @@ var MethodologyReferenceSchema = z.strictObject({
29106
29106
  title: "Methodology Reference",
29107
29107
  description: "Reference to a methodology record"
29108
29108
  });
29109
+ var OriginalNftSchema = z.strictObject({
29110
+ chain_id: PositiveIntegerSchema.meta({
29111
+ title: "Chain ID",
29112
+ description: "Identifier of the blockchain network on which the original asset was minted",
29113
+ examples: [137, 80002]
29114
+ }),
29115
+ smart_contract_address: SmartContractAddressSchema.meta({
29116
+ title: "Smart Contract Address",
29117
+ description: "Address of the smart contract that minted and manages the original tokenized asset"
29118
+ }),
29119
+ token_id: TokenIdSchema.meta({
29120
+ title: "Token ID",
29121
+ description: "Identifier of the original tokenized asset within its smart contract"
29122
+ })
29123
+ }).meta({
29124
+ title: "Original NFT",
29125
+ description: "On-chain reference to the tokenized asset associated with the original sale"
29126
+ });
29127
+ var OriginalSaleReferenceSchema = z.strictObject({
29128
+ order_id: UuidSchema.meta({
29129
+ title: "Order ID",
29130
+ description: "Identifier of the originating sale order"
29131
+ }),
29132
+ sold_at: IsoDateTimeSchema.meta({
29133
+ title: "Sold At",
29134
+ description: "Timestamp at which the original sale was completed"
29135
+ }),
29136
+ original_nft: OriginalNftSchema
29137
+ }).meta({
29138
+ title: "Original Sale Reference",
29139
+ description: "Reference to the sale that originated this record, linking it to the originating sale order and its tokenized asset"
29140
+ });
29109
29141
 
29110
29142
  // src/shared/schemas/references/receipt-reference.schema.ts
29111
29143
  var CreditPurchaseReceiptReferenceSchema = NftTokenReferenceBaseSchema.meta({
@@ -29484,7 +29516,7 @@ function buildSchemaUrl(schemaPath) {
29484
29516
  return `${getSchemaBaseUrl()}/${cleanPath}`;
29485
29517
  }
29486
29518
  function getSchemaVersionOrDefault() {
29487
- return "2.0.0";
29519
+ return "3.1.0";
29488
29520
  }
29489
29521
 
29490
29522
  // src/shared/schema-validation.ts
@@ -31150,7 +31182,8 @@ var CreditPurchaseReceiptDataSchema = z.strictObject({
31150
31182
  title: "Certificates",
31151
31183
  description: "Environmental certificates allocated in this purchase, each linking a credit type to collection-level purchased and retired amounts"
31152
31184
  }),
31153
- retirement_receipt: CreditPurchaseReceiptRetirementReceiptSchema.optional()
31185
+ retirement_receipt: CreditPurchaseReceiptRetirementReceiptSchema.optional(),
31186
+ original_sale: OriginalSaleReferenceSchema.optional()
31154
31187
  }).superRefine((data, ctx) => {
31155
31188
  validateCountMatches({
31156
31189
  ctx,
@@ -32110,6 +32143,6 @@ var MassIDAuditSchema = BaseIpfsSchema.safeExtend({
32110
32143
  data: MassIDAuditDataSchema
32111
32144
  }).meta(MassIDAuditSchemaMeta);
32112
32145
 
32113
- export { ALLOWED_BLOCKCHAIN_NETWORKS, AuditReferenceSchema, AuditResultSchema, AuditRuleDefinitionSchema, AuditRuleDefinitionsSchema, AuditRuleExecutionResultSchema, AuditRuleExecutionResultsSchema, BLOCKCHAIN_NETWORK_CONFIG, BRAZIL_COUNTRY_CODE, BRAZIL_MUNICIPALITIES, BRAZIL_MUNICIPALITIES_NAMES, BRAZIL_SUBDIVISION_CODES, BaseIpfsSchema, BlockchainChainIdSchema, BlockchainNetworkNameSchema, CertificateCollectionItemPurchaseSchema, CertificateCollectionItemRetirementSchema, CertificateIssuanceDateAttributeSchema, CertificateReferenceBaseSchema, CertificateTypeSchema, CitySchema, CollectionNameSchema, CollectionSchema, CollectionSchemaMeta, CollectionSlugSchema, ContainerTypeSchema, CoordinatesSchema, CreditAmountAttributeSchema, CreditAmountSchema, CreditPurchaseReceiptAttributesSchema, CreditPurchaseReceiptDataSchema, CreditPurchaseReceiptIpfsSchema, CreditPurchaseReceiptIpfsSchemaMeta, CreditPurchaseReceiptNameSchema, CreditPurchaseReceiptReferenceSchema, CreditPurchaseReceiptShortNameSchema, CreditPurchaseReceiptSummarySchema, CreditReferenceSchema, CreditRetirementReceiptAttributesSchema, CreditRetirementReceiptDataSchema, CreditRetirementReceiptIpfsSchema, CreditRetirementReceiptIpfsSchemaMeta, CreditRetirementReceiptNameSchema, CreditRetirementReceiptReferenceSchema, CreditRetirementReceiptShortNameSchema, CreditRetirementReceiptSummarySchema, CreditSchema, CreditSchemaMeta, CreditTokenNameSchema, CreditTokenSlugSchema, CreditTokenSymbolSchema, CreditTypeAttributeSchema, CreditTypeSchema, EPSILON, EnsDomainSchema, EthereumAddressSchema, ExternalIdSchema, ExternalUrlSchema, GasIDAttributesSchema, GasIDDataSchema, GasIDIpfsSchema, GasIDIpfsSchemaMeta, GasIDNameSchema, GasIDReferenceSchema, GasIDShortNameSchema, GasTypeSchema, HexColorSchema, IbamaWasteClassificationSchema, IpfsCidSchema, IpfsUriSchema, IpnsSchema, IsoCountryCodeSchema, IsoCountrySubdivisionCodeSchema, IsoDateSchema, IsoDateTimeSchema, LatitudeSchema, LocationSchema, LongitudeSchema, MassIDAttributesSchema, MassIDAuditDataSchema, MassIDAuditSchema, MassIDAuditSchemaMeta, MassIDAuditSummarySchema, MassIDDataSchema, MassIDIpfsSchema, MassIDIpfsSchemaMeta, MassIDNameSchema, MassIDRecyclingDateAttributeSchema, MassIDReferenceSchema, MassIDShortNameSchema, MassIDTokenIdAttributeSchema, MethodologyAttributeSchema, MethodologyDataSchema, MethodologyNameSchema, MethodologyReferenceSchema, MethodologySchema, MethodologySchemaMeta, MethodologyShortNameSchema, MethodologySlugSchema, NftAttributeSchema, NftIpfsSchema, NftTokenReferenceBaseSchema, NonEmptyStringSchema, NonNegativeFloatSchema, NonNegativeIntegerSchema, OriginCityAttributeSchema, OriginCountrySubdivisionAttributeSchema, ParticipantIdHashSchema, ParticipantRoleSchema, ParticipantSchema, PercentageSchema, PositiveFloatSchema, PositiveIntegerSchema, ReceiptIdentitySchema, RecordEnvironmentSchema, RecordSchemaTypeSchema, RecycledIDAttributesSchema, RecycledIDDataSchema, RecycledIDIpfsSchema, RecycledIDIpfsSchemaMeta, RecycledIDNameSchema, RecycledIDReferenceSchema, RecycledIDShortNameSchema, RecyclingDateAttributeSchema, ScaleTypeSchema, SchemaInfoSchema, SemanticVersionSchema, Sha256HashSchema, SlugSchema, SmartContractAddressSchema, SmartContractSchema, SourceWasteTypeAttributeSchema, SourceWeightAttributeSchema, StringifiedTokenIdSchema, TokenIdSchema, TokenReferenceBaseSchema, UnixTimestampSchema, UsdcAmountSchema, UuidSchema, VehicleTypeSchema, ViewerReferenceSchema, WastePropertiesSchema, WasteSubtypeSchema, WasteTypeSchema, WeighingCaptureMethodSchema, WeightKgSchema, buildSchemaUrl, canonicalizeForHash, createAttributeMap, createCreditPurchaseReceiptNameSchema, createCreditPurchaseReceiptShortNameSchema, createCreditRetirementReceiptNameSchema, createCreditRetirementReceiptShortNameSchema, createDateAttributeSchema, createGasIDNameSchema, createGasIDShortNameSchema, createMassIDNameSchema, createMassIDShortNameSchema, createNumericAttributeSchema, createOrderedAttributesSchema, createReceiptCollectionSchema, createRecycledIDNameSchema, createRecycledIDShortNameSchema, createWeightAttributeSchema, getSchemaBaseUrl, getSchemaVersionOrDefault, hashCanonicalJson, hashObject, nearlyEqual, uniqueArrayItems, uniqueBy, validateAttributeValue, validateAttributesForItems, validateCertificateCollectionSlugs, validateCollectionsHaveRetiredAmounts, validateCountMatches, validateCreditSlugExists, validateCreditSymbolExists, validateDateAttribute, validateDateTimeAttribute, validateFormattedName, validateLocationBrazilData, validateNumericAttributeValue, validateRetirementReceiptRequirement, validateSummaryListMatchesData, validateTokenIdInName, validateTotalMatches };
32146
+ export { ALLOWED_BLOCKCHAIN_NETWORKS, AuditReferenceSchema, AuditResultSchema, AuditRuleDefinitionSchema, AuditRuleDefinitionsSchema, AuditRuleExecutionResultSchema, AuditRuleExecutionResultsSchema, BLOCKCHAIN_NETWORK_CONFIG, BRAZIL_COUNTRY_CODE, BRAZIL_MUNICIPALITIES, BRAZIL_MUNICIPALITIES_NAMES, BRAZIL_SUBDIVISION_CODES, BaseIpfsSchema, BlockchainChainIdSchema, BlockchainNetworkNameSchema, CertificateCollectionItemPurchaseSchema, CertificateCollectionItemRetirementSchema, CertificateIssuanceDateAttributeSchema, CertificateReferenceBaseSchema, CertificateTypeSchema, CitySchema, CollectionNameSchema, CollectionSchema, CollectionSchemaMeta, CollectionSlugSchema, ContainerTypeSchema, CoordinatesSchema, CreditAmountAttributeSchema, CreditAmountSchema, CreditPurchaseReceiptAttributesSchema, CreditPurchaseReceiptDataSchema, CreditPurchaseReceiptIpfsSchema, CreditPurchaseReceiptIpfsSchemaMeta, CreditPurchaseReceiptNameSchema, CreditPurchaseReceiptReferenceSchema, CreditPurchaseReceiptShortNameSchema, CreditPurchaseReceiptSummarySchema, CreditReferenceSchema, CreditRetirementReceiptAttributesSchema, CreditRetirementReceiptDataSchema, CreditRetirementReceiptIpfsSchema, CreditRetirementReceiptIpfsSchemaMeta, CreditRetirementReceiptNameSchema, CreditRetirementReceiptReferenceSchema, CreditRetirementReceiptShortNameSchema, CreditRetirementReceiptSummarySchema, CreditSchema, CreditSchemaMeta, CreditTokenNameSchema, CreditTokenSlugSchema, CreditTokenSymbolSchema, CreditTypeAttributeSchema, CreditTypeSchema, EPSILON, EnsDomainSchema, EthereumAddressSchema, ExternalIdSchema, ExternalUrlSchema, GasIDAttributesSchema, GasIDDataSchema, GasIDIpfsSchema, GasIDIpfsSchemaMeta, GasIDNameSchema, GasIDReferenceSchema, GasIDShortNameSchema, GasTypeSchema, HexColorSchema, IbamaWasteClassificationSchema, IpfsCidSchema, IpfsUriSchema, IpnsSchema, IsoCountryCodeSchema, IsoCountrySubdivisionCodeSchema, IsoDateSchema, IsoDateTimeSchema, LatitudeSchema, LocationSchema, LongitudeSchema, MassIDAttributesSchema, MassIDAuditDataSchema, MassIDAuditSchema, MassIDAuditSchemaMeta, MassIDAuditSummarySchema, MassIDDataSchema, MassIDIpfsSchema, MassIDIpfsSchemaMeta, MassIDNameSchema, MassIDRecyclingDateAttributeSchema, MassIDReferenceSchema, MassIDShortNameSchema, MassIDTokenIdAttributeSchema, MethodologyAttributeSchema, MethodologyDataSchema, MethodologyNameSchema, MethodologyReferenceSchema, MethodologySchema, MethodologySchemaMeta, MethodologyShortNameSchema, MethodologySlugSchema, NftAttributeSchema, NftIpfsSchema, NftTokenReferenceBaseSchema, NonEmptyStringSchema, NonNegativeFloatSchema, NonNegativeIntegerSchema, OriginCityAttributeSchema, OriginCountrySubdivisionAttributeSchema, OriginalSaleReferenceSchema, ParticipantIdHashSchema, ParticipantRoleSchema, ParticipantSchema, PercentageSchema, PositiveFloatSchema, PositiveIntegerSchema, ReceiptIdentitySchema, RecordEnvironmentSchema, RecordSchemaTypeSchema, RecycledIDAttributesSchema, RecycledIDDataSchema, RecycledIDIpfsSchema, RecycledIDIpfsSchemaMeta, RecycledIDNameSchema, RecycledIDReferenceSchema, RecycledIDShortNameSchema, RecyclingDateAttributeSchema, ScaleTypeSchema, SchemaInfoSchema, SemanticVersionSchema, Sha256HashSchema, SlugSchema, SmartContractAddressSchema, SmartContractSchema, SourceWasteTypeAttributeSchema, SourceWeightAttributeSchema, StringifiedTokenIdSchema, TokenIdSchema, TokenReferenceBaseSchema, UnixTimestampSchema, UsdcAmountSchema, UuidSchema, VehicleTypeSchema, ViewerReferenceSchema, WastePropertiesSchema, WasteSubtypeSchema, WasteTypeSchema, WeighingCaptureMethodSchema, WeightKgSchema, buildSchemaUrl, canonicalizeForHash, createAttributeMap, createCreditPurchaseReceiptNameSchema, createCreditPurchaseReceiptShortNameSchema, createCreditRetirementReceiptNameSchema, createCreditRetirementReceiptShortNameSchema, createDateAttributeSchema, createGasIDNameSchema, createGasIDShortNameSchema, createMassIDNameSchema, createMassIDShortNameSchema, createNumericAttributeSchema, createOrderedAttributesSchema, createReceiptCollectionSchema, createRecycledIDNameSchema, createRecycledIDShortNameSchema, createWeightAttributeSchema, getSchemaBaseUrl, getSchemaVersionOrDefault, hashCanonicalJson, hashObject, nearlyEqual, uniqueArrayItems, uniqueBy, validateAttributeValue, validateAttributesForItems, validateCertificateCollectionSlugs, validateCollectionsHaveRetiredAmounts, validateCountMatches, validateCreditSlugExists, validateCreditSymbolExists, validateDateAttribute, validateDateTimeAttribute, validateFormattedName, validateLocationBrazilData, validateNumericAttributeValue, validateRetirementReceiptRequirement, validateSummaryListMatchesData, validateTokenIdInName, validateTotalMatches };
32114
32147
  //# sourceMappingURL=index.js.map
32115
32148
  //# sourceMappingURL=index.js.map