@carrot-foundation/schemas 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -16
- package/dist/index.d.ts +16 -16
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/schemas/ipfs/collection/collection.example.json +3 -3
- package/schemas/ipfs/collection/collection.schema.json +2 -2
- package/schemas/ipfs/credit/credit.example.json +4 -4
- package/schemas/ipfs/credit/credit.schema.json +4 -4
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.example.json +6 -6
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json +6 -6
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.example.json +6 -6
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json +6 -6
- package/schemas/ipfs/gas-id/gas-id.example.json +4 -4
- package/schemas/ipfs/gas-id/gas-id.schema.json +2 -2
- package/schemas/ipfs/mass-id/mass-id.example.json +4 -4
- package/schemas/ipfs/mass-id/mass-id.schema.json +2 -2
- package/schemas/ipfs/mass-id-audit/mass-id-audit.example.json +3 -3
- package/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json +2 -2
- package/schemas/ipfs/methodology/methodology.example.json +3 -3
- package/schemas/ipfs/methodology/methodology.schema.json +2 -2
- package/schemas/ipfs/recycled-id/recycled-id.example.json +4 -4
- package/schemas/ipfs/recycled-id/recycled-id.schema.json +2 -2
- package/schemas/schema-hashes.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -28236,10 +28236,10 @@ var CreditTokenNameSchema = zod.z.enum(["Carrot Carbon (CH\u2084)", "Carrot Biow
|
|
|
28236
28236
|
description: "Human-readable display name for the credit token",
|
|
28237
28237
|
examples: ["Carrot Carbon (CH\u2084)", "Carrot Biowaste"]
|
|
28238
28238
|
});
|
|
28239
|
-
var CreditTokenSlugSchema = zod.z.enum(["carbon-
|
|
28239
|
+
var CreditTokenSlugSchema = zod.z.enum(["carbon-ch4", "biowaste"]).meta({
|
|
28240
28240
|
title: "Credit Token Slug",
|
|
28241
28241
|
description: "URL-friendly identifier for the credit token",
|
|
28242
|
-
examples: ["carbon-
|
|
28242
|
+
examples: ["carbon-ch4", "biowaste"]
|
|
28243
28243
|
});
|
|
28244
28244
|
var CreditTokenSymbolSchema = zod.z.enum(["C-CARB.CH4", "C-BIOW"]).meta({
|
|
28245
28245
|
title: "Credit Token Symbol",
|
|
@@ -29490,7 +29490,7 @@ function buildSchemaUrl(schemaPath) {
|
|
|
29490
29490
|
return `${getSchemaBaseUrl()}/${cleanPath}`;
|
|
29491
29491
|
}
|
|
29492
29492
|
function getSchemaVersionOrDefault() {
|
|
29493
|
-
return "
|
|
29493
|
+
return "3.0.0";
|
|
29494
29494
|
}
|
|
29495
29495
|
|
|
29496
29496
|
// src/shared/schema-validation.ts
|