@carrot-foundation/schemas 0.1.46 → 0.1.47
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 +3 -3
- package/dist/index.d.ts +3 -3
- 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 +5 -5
- package/schemas/ipfs/collection/collection.schema.json +4 -3
- package/schemas/ipfs/credit/credit.example.json +5 -5
- package/schemas/ipfs/credit/credit.schema.json +2 -2
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.example.json +5 -5
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json +2 -2
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.example.json +4 -4
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json +2 -2
- package/schemas/ipfs/gas-id/gas-id.example.json +5 -5
- package/schemas/ipfs/gas-id/gas-id.schema.json +2 -2
- package/schemas/ipfs/mass-id/mass-id.example.json +5 -5
- package/schemas/ipfs/mass-id/mass-id.schema.json +2 -2
- package/schemas/ipfs/mass-id-audit/mass-id-audit.example.json +5 -5
- package/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json +2 -2
- package/schemas/ipfs/methodology/methodology.example.json +5 -5
- package/schemas/ipfs/methodology/methodology.schema.json +2 -2
- package/schemas/ipfs/recycled-id/recycled-id.example.json +5 -5
- package/schemas/ipfs/recycled-id/recycled-id.schema.json +2 -2
- package/schemas/schema-hashes.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -29200,7 +29200,7 @@ function buildSchemaUrl(schemaPath) {
|
|
|
29200
29200
|
return `${getSchemaBaseUrl()}/${cleanPath}`;
|
|
29201
29201
|
}
|
|
29202
29202
|
function getSchemaVersionOrDefault() {
|
|
29203
|
-
return "0.1.
|
|
29203
|
+
return "0.1.47";
|
|
29204
29204
|
}
|
|
29205
29205
|
|
|
29206
29206
|
// src/shared/schema-validation.ts
|
|
@@ -31220,7 +31220,7 @@ var CreditRetirementReceiptIpfsSchema = CreditRetirementReceiptIpfsSchemaBase.sa
|
|
|
31220
31220
|
}).meta(CreditRetirementReceiptIpfsSchemaMeta);
|
|
31221
31221
|
var CollectionSchemaMeta = {
|
|
31222
31222
|
title: "Collection IPFS Record",
|
|
31223
|
-
description: "Collection metadata stored in IPFS, extending the base schema with collection-specific fields
|
|
31223
|
+
description: "Collection metadata stored in IPFS, extending the base schema with collection-specific fields used to group and organize credit purchases and retirements in Carrot's ecosystem",
|
|
31224
31224
|
$id: buildSchemaUrl("collection/collection.schema.json"),
|
|
31225
31225
|
version: getSchemaVersionOrDefault()
|
|
31226
31226
|
};
|
|
@@ -31232,7 +31232,7 @@ var CollectionSchema = BaseIpfsSchema.safeExtend({
|
|
|
31232
31232
|
})
|
|
31233
31233
|
}),
|
|
31234
31234
|
name: CollectionNameSchema,
|
|
31235
|
-
slug: CollectionSlugSchema
|
|
31235
|
+
slug: CollectionSlugSchema,
|
|
31236
31236
|
image: IpfsUriSchema.meta({
|
|
31237
31237
|
title: "Collection Image",
|
|
31238
31238
|
description: "IPFS URI pointing to the collection's visual representation",
|