@carrot-foundation/schemas 0.1.31 → 0.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -32,7 +32,7 @@ var IsoTimestampSchema = zod.z.iso.datetime({
32
32
  description: "ISO 8601 formatted timestamp with timezone information",
33
33
  examples: ["2024-12-05T11:02:47.000Z", "2025-02-22T10:35:12.000Z"]
34
34
  });
35
- zod.z.iso.date("Must be a valid ISO 8601 date (YYYY-MM-DD)").meta({
35
+ var IsoDateSchema = zod.z.iso.date("Must be a valid ISO 8601 date (YYYY-MM-DD)").meta({
36
36
  title: "ISO Date",
37
37
  description: "ISO 8601 formatted date in YYYY-MM-DD format",
38
38
  examples: ["2024-12-05", "2025-02-22", "2024-02-10"]
@@ -75,7 +75,7 @@ var NonEmptyStringSchema = zod.z.string().min(1, "Cannot be empty").meta({
75
75
  description: "A string that contains at least one character",
76
76
  examples: ["Example text", "Sample value", "Test string"]
77
77
  });
78
- NonEmptyStringSchema.regex(
78
+ var SlugSchema = NonEmptyStringSchema.regex(
79
79
  /^[a-z0-9-]+$/,
80
80
  "Must contain only lowercase letters, numbers, and hyphens"
81
81
  ).max(100).meta({
@@ -122,17 +122,17 @@ var BlockchainChainIdSchema = zod.z.number().int().min(1).meta({
122
122
  description: "Blockchain network identifier",
123
123
  examples: [1, 137, 11155111]
124
124
  });
125
- zod.z.number().min(0).max(100).meta({
125
+ var PercentageSchema = zod.z.number().min(0).max(100).meta({
126
126
  title: "Percentage",
127
127
  description: "Percentage value between 0 and 100",
128
128
  examples: [50, 75.5, 100]
129
129
  });
130
- zod.z.number().int().min(0).meta({
130
+ var NonNegativeIntegerSchema = zod.z.number().int().min(0).meta({
131
131
  title: "Non-Negative Integer",
132
132
  description: "Integer value that is zero or positive",
133
133
  examples: [0, 123, 4126]
134
134
  });
135
- zod.z.number().int().min(1).meta({
135
+ var PositiveIntegerSchema = zod.z.number().int().min(1).meta({
136
136
  title: "Positive Integer",
137
137
  description: "Integer value that is greater than zero",
138
138
  examples: [1, 123, 456]
@@ -236,7 +236,7 @@ var RecordSchemaTypeSchema = zod.z.enum([
236
236
  description: "Type of schema in the Carrot ecosystem",
237
237
  examples: ["MassID", "RecycledID", "GasID"]
238
238
  });
239
- NonEmptyStringSchema.max(10).regex(
239
+ var TokenSymbolSchema = NonEmptyStringSchema.max(10).regex(
240
240
  /^[A-Z0-9-]+$/,
241
241
  "Must contain only uppercase letters, numbers, and hyphens"
242
242
  ).meta({
@@ -1150,7 +1150,7 @@ function buildSchemaUrl(schemaPath) {
1150
1150
  return `${getSchemaBaseUrl()}/${cleanPath}`;
1151
1151
  }
1152
1152
  function getSchemaVersionOrDefault() {
1153
- return "0.1.31";
1153
+ return "0.1.33";
1154
1154
  }
1155
1155
 
1156
1156
  // src/mass-id/mass-id.schema.ts
@@ -1170,10 +1170,536 @@ var MassIDIpfsSchema = NftIpfsSchema.safeExtend({
1170
1170
  attributes: MassIDAttributesSchema,
1171
1171
  data: MassIDDataSchema
1172
1172
  }).meta(MassIDIpfsSchemaMeta);
1173
+ var GasIDAttributeMethodologySchema = NftAttributeSchema.extend({
1174
+ trait_type: zod.z.literal("Methodology"),
1175
+ value: NonEmptyStringSchema.max(100).meta({
1176
+ title: "Methodology Value",
1177
+ description: "Name of the carbon methodology used for certification",
1178
+ examples: ["BOLD Carbon (CH\u2084)"]
1179
+ })
1180
+ }).meta({
1181
+ title: "Methodology Attribute",
1182
+ description: "Methodology attribute"
1183
+ });
1184
+ var GasIDAttributeGasTypeSchema = NftAttributeSchema.extend({
1185
+ trait_type: zod.z.literal("Gas Type"),
1186
+ value: NonEmptyStringSchema.max(100).meta({
1187
+ title: "Gas Type Value",
1188
+ description: "Type of gas prevented",
1189
+ examples: ["Methane (CH\u2084)", "Carbon Dioxide (CO\u2082)"]
1190
+ })
1191
+ }).meta({
1192
+ title: "Gas Type Attribute",
1193
+ description: "Gas type attribute"
1194
+ });
1195
+ var GasIDAttributeCo2ePreventedSchema = NftAttributeSchema.extend({
1196
+ trait_type: zod.z.literal("CO\u2082e Prevented (kg)"),
1197
+ value: NonNegativeFloatSchema.meta({
1198
+ title: "CO\u2082e Prevented Value",
1199
+ description: "Total CO\u2082 equivalent emissions prevented in kilograms"
1200
+ }),
1201
+ display_type: zod.z.literal("number")
1202
+ }).meta({
1203
+ title: "CO\u2082e Prevented Attribute",
1204
+ description: "CO\u2082e prevented attribute with numeric display"
1205
+ });
1206
+ var GasIDAttributeCreditAmountSchema = NftAttributeSchema.extend({
1207
+ trait_type: zod.z.literal("Credit Amount"),
1208
+ value: NonNegativeFloatSchema.meta({
1209
+ title: "Credit Amount Value",
1210
+ description: "Amount of credits issued"
1211
+ }),
1212
+ display_type: zod.z.literal("number")
1213
+ }).meta({
1214
+ title: "Credit Amount Attribute",
1215
+ description: "Credit amount attribute with numeric display"
1216
+ });
1217
+ var GasIDAttributeCreditTypeSchema = NftAttributeSchema.extend({
1218
+ trait_type: zod.z.literal("Credit Type"),
1219
+ value: NonEmptyStringSchema.max(100).meta({
1220
+ title: "Credit Type Value",
1221
+ description: "Type of credit issued",
1222
+ examples: ["Carrot Carbon"]
1223
+ })
1224
+ }).meta({
1225
+ title: "Credit Type Attribute",
1226
+ description: "Credit type attribute"
1227
+ });
1228
+ var GasIDAttributeSourceWasteTypeSchema = NftAttributeSchema.extend({
1229
+ trait_type: zod.z.literal("Source Waste Type"),
1230
+ value: WasteTypeSchema
1231
+ }).meta({
1232
+ title: "Source Waste Type Attribute",
1233
+ description: "Source waste type attribute"
1234
+ });
1235
+ var GasIDAttributeSourceWeightSchema = NftAttributeSchema.extend({
1236
+ trait_type: zod.z.literal("Source Weight (kg)"),
1237
+ value: WeightKgSchema,
1238
+ display_type: zod.z.literal("number")
1239
+ }).meta({
1240
+ title: "Source Weight Attribute",
1241
+ description: "Source weight attribute with numeric display"
1242
+ });
1243
+ var GasIDAttributeOriginCountrySchema = NftAttributeSchema.extend({
1244
+ trait_type: zod.z.literal("Origin Country"),
1245
+ value: NonEmptyStringSchema.max(100).meta({
1246
+ title: "Origin Country Value",
1247
+ description: "Country where the waste was generated",
1248
+ examples: ["Brazil"]
1249
+ })
1250
+ }).meta({
1251
+ title: "Origin Country Attribute",
1252
+ description: "Origin country attribute"
1253
+ });
1254
+ var GasIDAttributeOriginMunicipalitySchema = NftAttributeSchema.extend({
1255
+ trait_type: zod.z.literal("Origin Municipality"),
1256
+ value: NonEmptyStringSchema.max(100).meta({
1257
+ title: "Origin Municipality Value",
1258
+ description: "Municipality where the waste was generated",
1259
+ examples: ["Macap\xE1"]
1260
+ })
1261
+ }).meta({
1262
+ title: "Origin Municipality Attribute",
1263
+ description: "Origin municipality attribute"
1264
+ });
1265
+ var GasIDAttributeRecyclerSchema = NftAttributeSchema.extend({
1266
+ trait_type: zod.z.literal("Recycler"),
1267
+ value: NonEmptyStringSchema.max(100).meta({
1268
+ title: "Recycler Value",
1269
+ description: "Organization that processed the waste",
1270
+ examples: ["Eco Reciclagem"]
1271
+ })
1272
+ }).meta({
1273
+ title: "Recycler Attribute",
1274
+ description: "Recycler attribute"
1275
+ });
1276
+ var GasIDAttributeMassIDTokenIdSchema = NftAttributeSchema.extend({
1277
+ trait_type: zod.z.literal("MassID"),
1278
+ value: NonEmptyStringSchema.regex(
1279
+ /^#\d+$/,
1280
+ "Must match pattern #<token_id>"
1281
+ ).meta({
1282
+ title: "MassID Token ID Value",
1283
+ description: "Token ID of the source MassID NFT",
1284
+ examples: ["#123"]
1285
+ })
1286
+ }).meta({
1287
+ title: "MassID Token ID Attribute",
1288
+ description: "MassID token ID attribute"
1289
+ });
1290
+ var GasIDAttributeMassIDRecyclingDateSchema = NftAttributeSchema.extend({
1291
+ trait_type: zod.z.literal("MassID Recycling Date"),
1292
+ value: IsoDateSchema.meta({
1293
+ title: "MassID Recycling Date Value",
1294
+ description: "Date when the source waste was recycled",
1295
+ examples: ["2025-02-22"]
1296
+ }),
1297
+ display_type: zod.z.literal("date")
1298
+ }).meta({
1299
+ title: "MassID Recycling Date Attribute",
1300
+ description: "MassID recycling date attribute with date display"
1301
+ });
1302
+ var GasIDAttributesSchema = zod.z.tuple([
1303
+ GasIDAttributeMethodologySchema,
1304
+ GasIDAttributeGasTypeSchema,
1305
+ GasIDAttributeCo2ePreventedSchema,
1306
+ GasIDAttributeCreditAmountSchema,
1307
+ GasIDAttributeCreditTypeSchema,
1308
+ GasIDAttributeSourceWasteTypeSchema,
1309
+ GasIDAttributeSourceWeightSchema,
1310
+ GasIDAttributeOriginCountrySchema,
1311
+ GasIDAttributeOriginMunicipalitySchema,
1312
+ GasIDAttributeRecyclerSchema,
1313
+ GasIDAttributeMassIDTokenIdSchema,
1314
+ GasIDAttributeMassIDRecyclingDateSchema
1315
+ ]).meta({
1316
+ title: "GasID NFT Attribute Array",
1317
+ description: "Schema for the fixed set of GasID NFT attributes, enforcing order and type for each trait"
1318
+ });
1319
+ var WasteClassificationSchema = zod.z.strictObject({
1320
+ primary_type: WasteTypeSchema.meta({
1321
+ title: "Source Waste Primary Type",
1322
+ description: "Primary type of the source waste"
1323
+ }),
1324
+ subtype: WasteSubtypeSchema.meta({
1325
+ title: "Source Waste Subtype",
1326
+ description: "Subtype of the source waste"
1327
+ }),
1328
+ net_weight_kg: WeightKgSchema.meta({
1329
+ title: "Source Waste Net Weight",
1330
+ description: "Net weight of the source waste"
1331
+ })
1332
+ }).meta({
1333
+ title: "Waste Classification",
1334
+ description: "Classification of the source waste (MassID)"
1335
+ });
1336
+ var AccreditedParticipantSchema = zod.z.strictObject({
1337
+ participant_id: UuidSchema.meta({
1338
+ title: "Participant ID",
1339
+ description: "Unique identifier for the participant"
1340
+ }),
1341
+ name: ParticipantNameSchema.meta({
1342
+ title: "Participant Name",
1343
+ description: "Name of the participant"
1344
+ }),
1345
+ role: ParticipantRoleSchema.meta({
1346
+ title: "Participant Role",
1347
+ description: "Role of the participant in the supply chain"
1348
+ }),
1349
+ accreditation_id: UuidSchema.meta({
1350
+ title: "Accreditation ID",
1351
+ description: "Unique identifier for the participant accreditation"
1352
+ }),
1353
+ external_url: ExternalUrlSchema.meta({
1354
+ title: "Participant Accreditation External URL",
1355
+ description: "URL to view the participant accreditation on Carrot Explorer"
1356
+ })
1357
+ }).meta({
1358
+ title: "Accredited Participant",
1359
+ description: "Participant with valid accreditation in the supply chain"
1360
+ });
1361
+ var AccreditedParticipantsSchema = zod.z.array(AccreditedParticipantSchema).min(1).meta({
1362
+ title: "Accredited Participants",
1363
+ description: "List of participants with valid accreditations"
1364
+ });
1365
+ var RewardAllocationSchema = zod.z.strictObject({
1366
+ participant_id: UuidSchema.meta({
1367
+ title: "Participant ID",
1368
+ description: "Unique identifier for the participant receiving the reward"
1369
+ }),
1370
+ participant_name: ParticipantNameSchema.meta({
1371
+ title: "Participant Name",
1372
+ description: "Name of the participant receiving the reward"
1373
+ }),
1374
+ role: ParticipantRoleSchema.meta({
1375
+ title: "Participant Role",
1376
+ description: "Role of the participant in the supply chain"
1377
+ }),
1378
+ reward_percentage: PercentageSchema.meta({
1379
+ title: "Reward Percentage",
1380
+ description: "Reward percentage allocated to the participant"
1381
+ }),
1382
+ large_business_discount_applied: zod.z.boolean().optional().meta({
1383
+ title: "Large Business Discount Applied",
1384
+ description: "Whether the large business discount was applied"
1385
+ }),
1386
+ effective_percentage: PercentageSchema.meta({
1387
+ title: "Effective Percentage",
1388
+ description: "Effective percentage of the reward after discounts"
1389
+ })
1390
+ }).meta({
1391
+ title: "Reward Allocation",
1392
+ description: "Reward allocation for a specific participant"
1393
+ });
1394
+ var DistributionNotesSchema = zod.z.strictObject({
1395
+ large_business_discount_applied: NonEmptyStringSchema.optional().meta({
1396
+ title: "Large Business Discount Applied",
1397
+ description: "Description of the large business discount applied",
1398
+ examples: [
1399
+ "50% reduction applied to participants with >$4M annual revenue"
1400
+ ]
1401
+ }),
1402
+ redirected_rewards: NonEmptyStringSchema.optional().meta({
1403
+ title: "Redirected Rewards",
1404
+ description: "Description of the redirected rewards",
1405
+ examples: [
1406
+ "Discounted rewards from large businesses redirected to accredited NGOs"
1407
+ ]
1408
+ })
1409
+ }).meta({
1410
+ title: "Distribution Notes",
1411
+ description: "Additional notes about the reward distribution"
1412
+ });
1413
+ var ParticipantRewardsSchema = zod.z.strictObject({
1414
+ distribution_basis: NonEmptyStringSchema.max(200).meta({
1415
+ title: "Distribution Basis",
1416
+ description: "Basis for the rewards distribution"
1417
+ }),
1418
+ reward_allocations: zod.z.array(RewardAllocationSchema).min(1).meta({
1419
+ title: "Reward Allocations",
1420
+ description: "Rewards percentage allocated to each participant"
1421
+ }),
1422
+ distribution_notes: DistributionNotesSchema.optional().meta({
1423
+ title: "Distribution Notes",
1424
+ description: "Additional notes about the reward distribution"
1425
+ })
1426
+ }).meta({
1427
+ title: "Participant Rewards",
1428
+ description: "Rewards distribution to participants"
1429
+ });
1430
+ var MethodologyComplianceSchema = zod.z.enum(["PASSED", "FAILED"]).meta({
1431
+ title: "Methodology Compliance",
1432
+ description: "Result of methodology compliance check",
1433
+ examples: ["PASSED", "FAILED"]
1434
+ });
1435
+ var AuditReferenceSchema = zod.z.strictObject({
1436
+ date: IsoDateSchema.meta({
1437
+ title: "Audit Date",
1438
+ description: "Date when the audit was completed"
1439
+ }),
1440
+ external_id: ExternalIdSchema.meta({
1441
+ title: "Audit External ID",
1442
+ description: "Unique identifier for the audit"
1443
+ }),
1444
+ external_url: ExternalUrlSchema.meta({
1445
+ title: "Audit External URL",
1446
+ description: "URL to view the audit on Carrot Explorer"
1447
+ }),
1448
+ methodology_compliance: MethodologyComplianceSchema.meta({
1449
+ title: "Methodology Compliance",
1450
+ description: "Result of methodology compliance check"
1451
+ }),
1452
+ rules_executed: NonNegativeIntegerSchema.meta({
1453
+ title: "Rules Executed",
1454
+ description: "Number of rules executed during the audit"
1455
+ }),
1456
+ report: IpfsUriSchema.meta({
1457
+ title: "Audit Report",
1458
+ description: "IPFS URI of the audit report"
1459
+ })
1460
+ }).meta({
1461
+ title: "Audit Reference",
1462
+ description: "Reference to an audit record"
1463
+ });
1464
+ var GasIDReferenceSchema = zod.z.strictObject({
1465
+ external_id: ExternalIdSchema.meta({
1466
+ title: "GasID External ID",
1467
+ description: "Unique identifier for the GasID"
1468
+ }),
1469
+ token_id: TokenIdSchema.meta({
1470
+ title: "GasID Token ID",
1471
+ description: "NFT token ID of the GasID"
1472
+ }),
1473
+ external_url: ExternalUrlSchema.meta({
1474
+ title: "GasID External URL",
1475
+ description: "URL to view the GasID on Carrot Explorer"
1476
+ }),
1477
+ uri: IpfsUriSchema.meta({
1478
+ title: "GasID IPFS URI",
1479
+ description: "IPFS URI of the GasID record"
1480
+ })
1481
+ }).meta({
1482
+ title: "GasID Reference",
1483
+ description: "Reference to a GasID record"
1484
+ });
1485
+ var MassIDReferenceSchema = zod.z.strictObject({
1486
+ external_id: ExternalIdSchema.meta({
1487
+ title: "MassID External ID",
1488
+ description: "Unique identifier for the MassID"
1489
+ }),
1490
+ token_id: TokenIdSchema.meta({
1491
+ title: "MassID Token ID",
1492
+ description: "NFT token ID of the MassID"
1493
+ }),
1494
+ external_url: ExternalUrlSchema.meta({
1495
+ title: "MassID External URL",
1496
+ description: "URL to view the MassID on Carrot Explorer"
1497
+ }),
1498
+ uri: IpfsUriSchema.meta({
1499
+ title: "MassID IPFS URI",
1500
+ description: "IPFS URI of the MassID record"
1501
+ })
1502
+ }).meta({
1503
+ title: "MassID Reference",
1504
+ description: "Reference to a MassID record"
1505
+ });
1506
+ var MethodologyReferenceSchema = zod.z.strictObject({
1507
+ external_id: ExternalIdSchema.meta({
1508
+ title: "Methodology External ID",
1509
+ description: "Unique identifier for the methodology"
1510
+ }),
1511
+ name: NonEmptyStringSchema.min(5).max(150).meta({
1512
+ title: "Methodology Name",
1513
+ description: "Human-readable name of the methodology",
1514
+ examples: ["BOLD Carbon (CH\u2084)", "BOLD Recycling"]
1515
+ }),
1516
+ version: SemanticVersionSchema.meta({
1517
+ title: "Methodology Version",
1518
+ description: "Version of the methodology"
1519
+ }),
1520
+ external_url: ExternalUrlSchema.meta({
1521
+ title: "Methodology External URL",
1522
+ description: "URL to view the methodology on Carrot Explorer"
1523
+ }),
1524
+ uri: IpfsUriSchema.optional().meta({
1525
+ title: "Methodology IPFS URI",
1526
+ description: "IPFS URI to the methodology record"
1527
+ })
1528
+ }).meta({
1529
+ title: "Methodology Reference",
1530
+ description: "Reference to a methodology record"
1531
+ });
1532
+
1533
+ // src/gas-id/gas-id.data.schema.ts
1534
+ var GasIDSummarySchema = zod.z.strictObject({
1535
+ gas_type: NonEmptyStringSchema.meta({
1536
+ title: "Gas Type",
1537
+ description: "Type of gas prevented",
1538
+ examples: ["Methane (CH\u2084)", "Carbon Dioxide (CO\u2082)"]
1539
+ }),
1540
+ credit_type: NonEmptyStringSchema.meta({
1541
+ title: "Credit Type",
1542
+ description: "Type of credit issued",
1543
+ examples: ["Carrot Carbon (C-CARB)", "Carbon Credit"]
1544
+ }),
1545
+ credit_amount: NonNegativeFloatSchema.meta({
1546
+ title: "Credit Amount",
1547
+ description: "Amount of credits issued"
1548
+ }),
1549
+ prevented_co2e_kg: WeightKgSchema.meta({
1550
+ title: "Prevented Emissions (CO\u2082e kg)",
1551
+ description: "CO\u2082e weight of the prevented emissions"
1552
+ })
1553
+ }).meta({
1554
+ title: "GasID Summary",
1555
+ description: "Summary information for the GasID certificate"
1556
+ });
1557
+ var CalculationValueSchema = zod.z.strictObject({
1558
+ reference: NonEmptyStringSchema.max(3).meta({
1559
+ title: "Calculation Reference",
1560
+ description: "Reference symbol used in the calculation formula",
1561
+ examples: ["E", "B", "W", "R"]
1562
+ }),
1563
+ value: NonNegativeFloatSchema.meta({
1564
+ title: "Calculation Value",
1565
+ description: "Numeric value for this calculation parameter"
1566
+ }),
1567
+ label: NonEmptyStringSchema.max(100).meta({
1568
+ title: "Calculation Label",
1569
+ description: "Human-readable label for this calculation value",
1570
+ examples: [
1571
+ "Exceeding Emission Coefficient",
1572
+ "Prevented Emissions by Waste Subtype and Baseline Per Ton",
1573
+ "Waste Weight",
1574
+ "Prevented Emissions (CO\u2082e kg)"
1575
+ ]
1576
+ })
1577
+ }).meta({
1578
+ title: "Calculation Value",
1579
+ description: "Single value used in the emissions calculation"
1580
+ });
1581
+ var PreventedEmissionsCalculationSchema = zod.z.strictObject({
1582
+ formula: NonEmptyStringSchema.max(100).meta({
1583
+ title: "Calculation Formula",
1584
+ description: "Formula used to calculate the prevented emissions",
1585
+ examples: ["(1 - B) * W * E = R"]
1586
+ }),
1587
+ method: NonEmptyStringSchema.max(100).meta({
1588
+ title: "Calculation Method",
1589
+ description: "Method used to calculate the prevented emissions",
1590
+ examples: ["UNFCCC AMS-III.F"]
1591
+ }),
1592
+ date: IsoDateSchema.meta({
1593
+ title: "Calculation Date",
1594
+ description: "Date when the calculation was performed"
1595
+ }),
1596
+ values: zod.z.array(CalculationValueSchema).min(1).meta({
1597
+ title: "Calculation Values",
1598
+ description: "Values used to calculate the prevented emissions"
1599
+ })
1600
+ }).meta({
1601
+ title: "Prevented Emissions Calculation",
1602
+ description: "Details of the prevented emissions calculation"
1603
+ });
1604
+ var GasIDDataSchema = zod.z.strictObject({
1605
+ summary: GasIDSummarySchema,
1606
+ methodology: MethodologyReferenceSchema,
1607
+ audit: AuditReferenceSchema,
1608
+ mass_id: MassIDReferenceSchema,
1609
+ waste_classification: WasteClassificationSchema,
1610
+ origin_location: LocationSchema.meta({
1611
+ title: "Source Waste Origin Location",
1612
+ description: "Location of the waste origin"
1613
+ }),
1614
+ prevented_emissions_calculation: PreventedEmissionsCalculationSchema,
1615
+ accredited_participants: AccreditedParticipantsSchema,
1616
+ participant_rewards: ParticipantRewardsSchema.optional()
1617
+ }).meta({
1618
+ title: "GasID Data",
1619
+ description: "Complete data structure for GasID certificate"
1620
+ });
1621
+ var GasIDIpfsSchemaMeta = {
1622
+ title: "GasID NFT IPFS Record",
1623
+ description: "Complete GasID NFT IPFS record including fixed attributes and detailed carbon emissions prevention data",
1624
+ $id: buildSchemaUrl("gas-id/gas-id.schema.json"),
1625
+ version: getSchemaVersionOrDefault()
1626
+ };
1627
+ var GasIDIpfsSchema = NftIpfsSchema.safeExtend({
1628
+ schema: NftIpfsSchema.shape.schema.safeExtend({
1629
+ type: zod.z.literal("GasID").meta({
1630
+ title: "GasID Schema Type",
1631
+ description: "GasID NFT schema type"
1632
+ })
1633
+ }),
1634
+ attributes: GasIDAttributesSchema,
1635
+ data: GasIDDataSchema
1636
+ }).meta(GasIDIpfsSchemaMeta);
1173
1637
 
1638
+ exports.AccreditedParticipantSchema = AccreditedParticipantSchema;
1639
+ exports.AccreditedParticipantsSchema = AccreditedParticipantsSchema;
1640
+ exports.AuditReferenceSchema = AuditReferenceSchema;
1641
+ exports.BaseIpfsSchema = BaseIpfsSchema;
1642
+ exports.BlockchainChainIdSchema = BlockchainChainIdSchema;
1643
+ exports.CoordinatesSchema = CoordinatesSchema;
1644
+ exports.DistributionNotesSchema = DistributionNotesSchema;
1645
+ exports.EthereumAddressSchema = EthereumAddressSchema;
1646
+ exports.ExternalIdSchema = ExternalIdSchema;
1647
+ exports.ExternalUrlSchema = ExternalUrlSchema;
1648
+ exports.FacilityTypeSchema = FacilityTypeSchema;
1649
+ exports.GasIDAttributesSchema = GasIDAttributesSchema;
1650
+ exports.GasIDDataSchema = GasIDDataSchema;
1651
+ exports.GasIDIpfsSchema = GasIDIpfsSchema;
1652
+ exports.GasIDIpfsSchemaMeta = GasIDIpfsSchemaMeta;
1653
+ exports.GasIDReferenceSchema = GasIDReferenceSchema;
1654
+ exports.HexColorSchema = HexColorSchema;
1655
+ exports.HoursSchema = HoursSchema;
1656
+ exports.IpfsUriSchema = IpfsUriSchema;
1657
+ exports.IsoAdministrativeDivisionCodeSchema = IsoAdministrativeDivisionCodeSchema;
1658
+ exports.IsoCountryCodeSchema = IsoCountryCodeSchema;
1659
+ exports.IsoDateSchema = IsoDateSchema;
1660
+ exports.IsoTimestampSchema = IsoTimestampSchema;
1661
+ exports.Keccak256HashSchema = Keccak256HashSchema;
1662
+ exports.LatitudeSchema = LatitudeSchema;
1663
+ exports.LocationSchema = LocationSchema;
1664
+ exports.LongitudeSchema = LongitudeSchema;
1174
1665
  exports.MassIDAttributesSchema = MassIDAttributesSchema;
1175
1666
  exports.MassIDDataSchema = MassIDDataSchema;
1176
1667
  exports.MassIDIpfsSchema = MassIDIpfsSchema;
1177
1668
  exports.MassIDIpfsSchemaMeta = MassIDIpfsSchemaMeta;
1669
+ exports.MassIDReferenceSchema = MassIDReferenceSchema;
1670
+ exports.MethodologyComplianceSchema = MethodologyComplianceSchema;
1671
+ exports.MethodologyReferenceSchema = MethodologyReferenceSchema;
1672
+ exports.MinutesSchema = MinutesSchema;
1673
+ exports.NftAttributeSchema = NftAttributeSchema;
1674
+ exports.NftIpfsSchema = NftIpfsSchema;
1675
+ exports.NonEmptyStringSchema = NonEmptyStringSchema;
1676
+ exports.NonNegativeFloatSchema = NonNegativeFloatSchema;
1677
+ exports.NonNegativeIntegerSchema = NonNegativeIntegerSchema;
1678
+ exports.ParticipantNameSchema = ParticipantNameSchema;
1679
+ exports.ParticipantRewardsSchema = ParticipantRewardsSchema;
1680
+ exports.ParticipantRoleSchema = ParticipantRoleSchema;
1681
+ exports.ParticipantSchema = ParticipantSchema;
1682
+ exports.PercentageSchema = PercentageSchema;
1683
+ exports.PositiveIntegerSchema = PositiveIntegerSchema;
1684
+ exports.RecordEnvironmentSchema = RecordEnvironmentSchema;
1685
+ exports.RecordRelationshipTypeSchema = RecordRelationshipTypeSchema;
1686
+ exports.RecordSchemaTypeSchema = RecordSchemaTypeSchema;
1687
+ exports.RewardAllocationSchema = RewardAllocationSchema;
1688
+ exports.SemanticVersionSchema = SemanticVersionSchema;
1689
+ exports.Sha256HashSchema = Sha256HashSchema;
1690
+ exports.SlugSchema = SlugSchema;
1691
+ exports.TokenIdSchema = TokenIdSchema;
1692
+ exports.TokenSymbolSchema = TokenSymbolSchema;
1693
+ exports.UnixTimestampSchema = UnixTimestampSchema;
1694
+ exports.UuidSchema = UuidSchema;
1695
+ exports.WasteClassificationSchema = WasteClassificationSchema;
1696
+ exports.WasteSubtypeSchema = WasteSubtypeSchema;
1697
+ exports.WasteTypeSchema = WasteTypeSchema;
1698
+ exports.WeightKgSchema = WeightKgSchema;
1699
+ exports.buildSchemaUrl = buildSchemaUrl;
1700
+ exports.getSchemaBaseUrl = getSchemaBaseUrl;
1701
+ exports.getSchemaVersionOrDefault = getSchemaVersionOrDefault;
1702
+ exports.uniqueArrayItems = uniqueArrayItems;
1703
+ exports.uniqueBy = uniqueBy;
1178
1704
  //# sourceMappingURL=index.cjs.map
1179
1705
  //# sourceMappingURL=index.cjs.map