@carrot-foundation/schemas 0.4.2 → 0.5.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 +26 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +43 -43
- package/dist/index.d.ts +43 -43
- package/dist/index.js +26 -19
- 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 +3 -3
- package/schemas/ipfs/credit/credit.schema.json +2 -2
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.example.json +4 -4
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json +11 -16
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.example.json +4 -4
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json +72 -83
- 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/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/collection/collection.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "e002efd528d04bfa0379d4ed070c2d5da66cb8cebc81b8dd86026d54e21856ef",
|
|
5
5
|
"type": "Collection",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.5.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -236,6 +236,6 @@
|
|
|
236
236
|
"additionalProperties": false,
|
|
237
237
|
"title": "Collection IPFS Record",
|
|
238
238
|
"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",
|
|
239
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
240
|
-
"version": "0.
|
|
239
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/collection/collection.schema.json",
|
|
240
|
+
"version": "0.5.0"
|
|
241
241
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/credit/credit.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "6cca2c3482f52b0a140063c551dec7649e7d05ff05e967ac210fc8e08d0018f0",
|
|
5
5
|
"type": "Credit",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.5.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -257,6 +257,6 @@
|
|
|
257
257
|
"additionalProperties": false,
|
|
258
258
|
"title": "Credit IPFS Record",
|
|
259
259
|
"description": "Credit token metadata stored in IPFS, extending the base schema with ERC20-specific details",
|
|
260
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
261
|
-
"version": "0.
|
|
260
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/credit/credit.schema.json",
|
|
261
|
+
"version": "0.5.0"
|
|
262
262
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "40ba58979807543bbe19044a36ea875287529c55339ddacf2c3de23ba088b9b9",
|
|
5
5
|
"type": "CreditPurchaseReceipt",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.5.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"created_at": "2025-02-03T12:45:30.000Z",
|
|
21
21
|
"external_id": "f1a2b3c4-d5e6-4789-9012-34567890abcd",
|
|
22
22
|
"external_url": "https://explore.carrot.eco/document/f1a2b3c4-d5e6-4789-9012-34567890abcd",
|
|
23
|
-
"audit_data_hash": "
|
|
23
|
+
"audit_data_hash": "9c7807027eb9b9b31d559d9cef3bddb7e16d54761c0552c794d9aa021f9d24d5",
|
|
24
24
|
"viewer_reference": {
|
|
25
25
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
|
|
26
26
|
"integrity_hash": "87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
@@ -250,45 +250,40 @@
|
|
|
250
250
|
"type": "object",
|
|
251
251
|
"properties": {
|
|
252
252
|
"name": {
|
|
253
|
-
"type": "string",
|
|
254
|
-
"minLength": 1,
|
|
255
|
-
"maxLength": 100,
|
|
256
253
|
"title": "Identity Name",
|
|
257
254
|
"description": "Display name of the buyer or beneficiary on the receipt",
|
|
258
255
|
"examples": [
|
|
259
256
|
"EcoTech Solutions Inc.",
|
|
260
257
|
"Climate Action Corp"
|
|
261
|
-
]
|
|
258
|
+
],
|
|
259
|
+
"type": "string",
|
|
260
|
+
"minLength": 1,
|
|
261
|
+
"maxLength": 100
|
|
262
262
|
},
|
|
263
263
|
"external_id": {
|
|
264
|
+
"title": "Identity External ID",
|
|
265
|
+
"description": "Unique identifier for the buyer or beneficiary in the Carrot platform",
|
|
264
266
|
"type": "string",
|
|
265
267
|
"format": "uuid",
|
|
266
268
|
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
|
|
267
|
-
"title": "Identity External ID",
|
|
268
|
-
"description": "Unique identifier for the buyer or beneficiary in the Carrot platform",
|
|
269
269
|
"examples": [
|
|
270
270
|
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
271
271
|
]
|
|
272
272
|
},
|
|
273
273
|
"external_url": {
|
|
274
|
-
"type": "string",
|
|
275
|
-
"format": "uri",
|
|
276
274
|
"title": "Identity External URL",
|
|
277
275
|
"description": "Link to the buyer or beneficiary profile page on the Carrot platform",
|
|
276
|
+
"type": "string",
|
|
277
|
+
"format": "uri",
|
|
278
278
|
"examples": [
|
|
279
279
|
"https://explore.carrot.eco/",
|
|
280
280
|
"https://whitepaper.carrot.eco/"
|
|
281
281
|
]
|
|
282
282
|
}
|
|
283
283
|
},
|
|
284
|
-
"required": [
|
|
285
|
-
"name",
|
|
286
|
-
"external_id",
|
|
287
|
-
"external_url"
|
|
288
|
-
],
|
|
289
284
|
"additionalProperties": false,
|
|
290
285
|
"title": "Identity",
|
|
291
|
-
"description": "Identity information for the buyer or beneficiary associated with this receipt"
|
|
286
|
+
"description": "Identity information for the buyer or beneficiary associated with this receipt. All fields are optional, but at least one must be provided when the identity block is present."
|
|
292
287
|
}
|
|
293
288
|
},
|
|
294
289
|
"required": [
|
|
@@ -1320,6 +1315,6 @@
|
|
|
1320
1315
|
"additionalProperties": false,
|
|
1321
1316
|
"title": "CreditPurchaseReceipt NFT IPFS Record",
|
|
1322
1317
|
"description": "Complete CreditPurchaseReceipt NFT IPFS record including purchase summary, buyer details, credit breakdowns, certificate allocations, and NFT display attributes",
|
|
1323
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
1324
|
-
"version": "0.
|
|
1318
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json",
|
|
1319
|
+
"version": "0.5.0"
|
|
1325
1320
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "a9f8b2b1fe20a8fe40a5c38b33dc832f0701f827ffd086761a10264b50b2b651",
|
|
5
5
|
"type": "CreditRetirementReceipt",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.5.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -230,5 +230,5 @@
|
|
|
230
230
|
"smart_contract_address": "0x742d35cc6634c0532925a3b8d8b5c2d4c7f8e1a9"
|
|
231
231
|
}
|
|
232
232
|
},
|
|
233
|
-
"audit_data_hash": "
|
|
233
|
+
"audit_data_hash": "3d8eb879d16a70ff98221375f848236c5286a63551a5350568bc47dab9197f4a"
|
|
234
234
|
}
|
|
@@ -228,50 +228,44 @@
|
|
|
228
228
|
"type": "object",
|
|
229
229
|
"properties": {
|
|
230
230
|
"name": {
|
|
231
|
-
"type": "string",
|
|
232
|
-
"minLength": 1,
|
|
233
|
-
"maxLength": 100,
|
|
234
231
|
"title": "Identity Name",
|
|
235
232
|
"description": "Display name of the buyer or beneficiary on the receipt",
|
|
236
233
|
"examples": [
|
|
237
234
|
"EcoTech Solutions Inc.",
|
|
238
235
|
"Climate Action Corp"
|
|
239
|
-
]
|
|
236
|
+
],
|
|
237
|
+
"type": "string",
|
|
238
|
+
"minLength": 1,
|
|
239
|
+
"maxLength": 100
|
|
240
240
|
},
|
|
241
241
|
"external_id": {
|
|
242
|
+
"title": "Identity External ID",
|
|
243
|
+
"description": "Unique identifier for the buyer or beneficiary in the Carrot platform",
|
|
242
244
|
"type": "string",
|
|
243
245
|
"format": "uuid",
|
|
244
246
|
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
|
|
245
|
-
"title": "Identity External ID",
|
|
246
|
-
"description": "Unique identifier for the buyer or beneficiary in the Carrot platform",
|
|
247
247
|
"examples": [
|
|
248
248
|
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
249
249
|
]
|
|
250
250
|
},
|
|
251
251
|
"external_url": {
|
|
252
|
-
"type": "string",
|
|
253
|
-
"format": "uri",
|
|
254
252
|
"title": "Identity External URL",
|
|
255
253
|
"description": "Link to the buyer or beneficiary profile page on the Carrot platform",
|
|
254
|
+
"type": "string",
|
|
255
|
+
"format": "uri",
|
|
256
256
|
"examples": [
|
|
257
257
|
"https://explore.carrot.eco/",
|
|
258
258
|
"https://whitepaper.carrot.eco/"
|
|
259
259
|
]
|
|
260
260
|
}
|
|
261
261
|
},
|
|
262
|
-
"required": [
|
|
263
|
-
"name",
|
|
264
|
-
"external_id",
|
|
265
|
-
"external_url"
|
|
266
|
-
],
|
|
267
262
|
"additionalProperties": false,
|
|
268
263
|
"title": "Identity",
|
|
269
|
-
"description": "Identity information for the buyer or beneficiary associated with this receipt"
|
|
264
|
+
"description": "Identity information for the buyer or beneficiary associated with this receipt. All fields are optional, but at least one must be provided when the identity block is present."
|
|
270
265
|
}
|
|
271
266
|
},
|
|
272
267
|
"required": [
|
|
273
|
-
"beneficiary_id"
|
|
274
|
-
"identity"
|
|
268
|
+
"beneficiary_id"
|
|
275
269
|
],
|
|
276
270
|
"additionalProperties": false,
|
|
277
271
|
"title": "Beneficiary",
|
|
@@ -293,45 +287,40 @@
|
|
|
293
287
|
"type": "object",
|
|
294
288
|
"properties": {
|
|
295
289
|
"name": {
|
|
296
|
-
"type": "string",
|
|
297
|
-
"minLength": 1,
|
|
298
|
-
"maxLength": 100,
|
|
299
290
|
"title": "Identity Name",
|
|
300
291
|
"description": "Display name of the buyer or beneficiary on the receipt",
|
|
301
292
|
"examples": [
|
|
302
293
|
"EcoTech Solutions Inc.",
|
|
303
294
|
"Climate Action Corp"
|
|
304
|
-
]
|
|
295
|
+
],
|
|
296
|
+
"type": "string",
|
|
297
|
+
"minLength": 1,
|
|
298
|
+
"maxLength": 100
|
|
305
299
|
},
|
|
306
300
|
"external_id": {
|
|
301
|
+
"title": "Identity External ID",
|
|
302
|
+
"description": "Unique identifier for the buyer or beneficiary in the Carrot platform",
|
|
307
303
|
"type": "string",
|
|
308
304
|
"format": "uuid",
|
|
309
305
|
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$",
|
|
310
|
-
"title": "Identity External ID",
|
|
311
|
-
"description": "Unique identifier for the buyer or beneficiary in the Carrot platform",
|
|
312
306
|
"examples": [
|
|
313
307
|
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
314
308
|
]
|
|
315
309
|
},
|
|
316
310
|
"external_url": {
|
|
317
|
-
"type": "string",
|
|
318
|
-
"format": "uri",
|
|
319
311
|
"title": "Identity External URL",
|
|
320
312
|
"description": "Link to the buyer or beneficiary profile page on the Carrot platform",
|
|
313
|
+
"type": "string",
|
|
314
|
+
"format": "uri",
|
|
321
315
|
"examples": [
|
|
322
316
|
"https://explore.carrot.eco/",
|
|
323
317
|
"https://whitepaper.carrot.eco/"
|
|
324
318
|
]
|
|
325
319
|
}
|
|
326
320
|
},
|
|
327
|
-
"required": [
|
|
328
|
-
"name",
|
|
329
|
-
"external_id",
|
|
330
|
-
"external_url"
|
|
331
|
-
],
|
|
332
321
|
"additionalProperties": false,
|
|
333
322
|
"title": "Identity",
|
|
334
|
-
"description": "Identity information for the buyer or beneficiary associated with this receipt"
|
|
323
|
+
"description": "Identity information for the buyer or beneficiary associated with this receipt. All fields are optional, but at least one must be provided when the identity block is present."
|
|
335
324
|
}
|
|
336
325
|
},
|
|
337
326
|
"required": [
|
|
@@ -1067,7 +1056,7 @@
|
|
|
1067
1056
|
}
|
|
1068
1057
|
},
|
|
1069
1058
|
"attributes": {
|
|
1070
|
-
"minItems":
|
|
1059
|
+
"minItems": 3,
|
|
1071
1060
|
"type": "array",
|
|
1072
1061
|
"items": {
|
|
1073
1062
|
"anyOf": [
|
|
@@ -1114,54 +1103,6 @@
|
|
|
1114
1103
|
"title": "Total Credits Retired Attribute",
|
|
1115
1104
|
"description": "Total number of credits retired across all tokens attribute with numeric display"
|
|
1116
1105
|
},
|
|
1117
|
-
{
|
|
1118
|
-
"type": "object",
|
|
1119
|
-
"properties": {
|
|
1120
|
-
"trait_type": {
|
|
1121
|
-
"type": "string",
|
|
1122
|
-
"const": "Beneficiary"
|
|
1123
|
-
},
|
|
1124
|
-
"value": {
|
|
1125
|
-
"type": "string",
|
|
1126
|
-
"minLength": 1,
|
|
1127
|
-
"maxLength": 100,
|
|
1128
|
-
"title": "Beneficiary",
|
|
1129
|
-
"description": "Beneficiary receiving the retirement benefit",
|
|
1130
|
-
"examples": [
|
|
1131
|
-
"Climate Action Corp"
|
|
1132
|
-
]
|
|
1133
|
-
},
|
|
1134
|
-
"display_type": {
|
|
1135
|
-
"title": "Display Type",
|
|
1136
|
-
"description": "How the trait should be displayed in marketplace UIs",
|
|
1137
|
-
"type": "string",
|
|
1138
|
-
"enum": [
|
|
1139
|
-
"number",
|
|
1140
|
-
"date",
|
|
1141
|
-
"boost_number",
|
|
1142
|
-
"boost_percentage"
|
|
1143
|
-
]
|
|
1144
|
-
},
|
|
1145
|
-
"max_value": {
|
|
1146
|
-
"title": "Max Value",
|
|
1147
|
-
"description": "Maximum possible value for numeric traits",
|
|
1148
|
-
"type": "number",
|
|
1149
|
-
"minimum": 0,
|
|
1150
|
-
"examples": [
|
|
1151
|
-
0,
|
|
1152
|
-
45.2,
|
|
1153
|
-
72.5
|
|
1154
|
-
]
|
|
1155
|
-
}
|
|
1156
|
-
},
|
|
1157
|
-
"required": [
|
|
1158
|
-
"trait_type",
|
|
1159
|
-
"value"
|
|
1160
|
-
],
|
|
1161
|
-
"additionalProperties": false,
|
|
1162
|
-
"title": "Beneficiary Attribute",
|
|
1163
|
-
"description": "Attribute containing the beneficiary display name"
|
|
1164
|
-
},
|
|
1165
1106
|
{
|
|
1166
1107
|
"type": "object",
|
|
1167
1108
|
"properties": {
|
|
@@ -1237,6 +1178,54 @@
|
|
|
1237
1178
|
"title": "Certificates Retired Attribute",
|
|
1238
1179
|
"description": "Total number of certificates retired attribute with numeric display"
|
|
1239
1180
|
},
|
|
1181
|
+
{
|
|
1182
|
+
"type": "object",
|
|
1183
|
+
"properties": {
|
|
1184
|
+
"trait_type": {
|
|
1185
|
+
"type": "string",
|
|
1186
|
+
"const": "Beneficiary"
|
|
1187
|
+
},
|
|
1188
|
+
"value": {
|
|
1189
|
+
"type": "string",
|
|
1190
|
+
"minLength": 1,
|
|
1191
|
+
"maxLength": 100,
|
|
1192
|
+
"title": "Beneficiary",
|
|
1193
|
+
"description": "Beneficiary receiving the retirement benefit",
|
|
1194
|
+
"examples": [
|
|
1195
|
+
"Climate Action Corp"
|
|
1196
|
+
]
|
|
1197
|
+
},
|
|
1198
|
+
"display_type": {
|
|
1199
|
+
"title": "Display Type",
|
|
1200
|
+
"description": "How the trait should be displayed in marketplace UIs",
|
|
1201
|
+
"type": "string",
|
|
1202
|
+
"enum": [
|
|
1203
|
+
"number",
|
|
1204
|
+
"date",
|
|
1205
|
+
"boost_number",
|
|
1206
|
+
"boost_percentage"
|
|
1207
|
+
]
|
|
1208
|
+
},
|
|
1209
|
+
"max_value": {
|
|
1210
|
+
"title": "Max Value",
|
|
1211
|
+
"description": "Maximum possible value for numeric traits",
|
|
1212
|
+
"type": "number",
|
|
1213
|
+
"minimum": 0,
|
|
1214
|
+
"examples": [
|
|
1215
|
+
0,
|
|
1216
|
+
45.2,
|
|
1217
|
+
72.5
|
|
1218
|
+
]
|
|
1219
|
+
}
|
|
1220
|
+
},
|
|
1221
|
+
"required": [
|
|
1222
|
+
"trait_type",
|
|
1223
|
+
"value"
|
|
1224
|
+
],
|
|
1225
|
+
"additionalProperties": false,
|
|
1226
|
+
"title": "Beneficiary Attribute",
|
|
1227
|
+
"description": "Attribute containing the beneficiary display name"
|
|
1228
|
+
},
|
|
1240
1229
|
{
|
|
1241
1230
|
"type": "object",
|
|
1242
1231
|
"properties": {
|
|
@@ -1421,7 +1410,7 @@
|
|
|
1421
1410
|
]
|
|
1422
1411
|
},
|
|
1423
1412
|
"title": "Credit Retirement Receipt NFT Attribute Array",
|
|
1424
|
-
"description": "Attributes for credit retirement receipts including per-credit breakdowns, totals, beneficiary, credit holder, retirement date, certificate count, and optional purchase info. Fixed required attributes: Total Credits Retired,
|
|
1413
|
+
"description": "Attributes for credit retirement receipts including per-credit breakdowns, totals, beneficiary, credit holder, retirement date, certificate count, and optional purchase info. Fixed required attributes: Total Credits Retired, Retirement Date, Certificates Retired. Conditional attributes: Beneficiary (required when beneficiary.identity.name is provided), Credit Holder (required when credit_holder.identity.name is provided), Purchase Date (optional, when purchase_receipt is present), Purchase Receipt (optional, when purchase_receipt is present). Dynamic attributes: Credit attributes (one per credit symbol in data.credits).\n\nRequired attributes (3): Total Credits Retired, Retirement Date, Certificates Retired"
|
|
1425
1414
|
}
|
|
1426
1415
|
},
|
|
1427
1416
|
"required": [
|
|
@@ -1443,7 +1432,7 @@
|
|
|
1443
1432
|
],
|
|
1444
1433
|
"additionalProperties": false,
|
|
1445
1434
|
"title": "CreditRetirementReceipt NFT IPFS Record",
|
|
1446
|
-
"description": "Complete CreditRetirementReceipt NFT IPFS record including retirement summary, beneficiary and credit holder details, credit breakdowns, certificate allocations, and NFT display attributes",
|
|
1447
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
1448
|
-
"version": "0.
|
|
1435
|
+
"description": "Complete CreditRetirementReceipt NFT IPFS record including retirement summary, beneficiary and credit holder details (identity optional), credit breakdowns, certificate allocations, and NFT display attributes",
|
|
1436
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json",
|
|
1437
|
+
"version": "0.5.0"
|
|
1449
1438
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/gas-id/gas-id.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "6d22b905bc69f3436c60776c1aef0fff1712e920e7a9e0702f35ddb0ddb563cf",
|
|
5
5
|
"type": "GasID",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.5.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"created_at": "2024-12-08T11:32:47.000Z",
|
|
21
21
|
"external_id": "d2a7f8e4-9c61-4e35-b8f2-a5c9e7d1b4f6",
|
|
22
22
|
"external_url": "https://explore.carrot.eco/document/d2a7f8e4-9c61-4e35-b8f2-a5c9e7d1b4f6",
|
|
23
|
-
"audit_data_hash": "
|
|
23
|
+
"audit_data_hash": "451fc3960552c2d911ceb465f2aff4a94ea8410849b25f7a24ce279d5ab1287d",
|
|
24
24
|
"viewer_reference": {
|
|
25
25
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
|
|
26
26
|
"integrity_hash": "87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
@@ -1522,6 +1522,6 @@
|
|
|
1522
1522
|
"additionalProperties": false,
|
|
1523
1523
|
"title": "GasID NFT IPFS Record",
|
|
1524
1524
|
"description": "Complete GasID NFT IPFS record including prevented emissions calculation, source waste provenance, methodology reference, and NFT display attributes",
|
|
1525
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
1526
|
-
"version": "0.
|
|
1525
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/gas-id/gas-id.schema.json",
|
|
1526
|
+
"version": "0.5.0"
|
|
1527
1527
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/mass-id/mass-id.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "15675848245673646f2b4c81f31843a45ccfc395b33abcaa636ac28821ba6ab4",
|
|
5
5
|
"type": "MassID",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.5.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"display_type": "date"
|
|
109
109
|
}
|
|
110
110
|
],
|
|
111
|
-
"audit_data_hash": "
|
|
111
|
+
"audit_data_hash": "32bac4ba104ae74a83eae0df972254b12907fdb875df3be5d94490d9d563d100",
|
|
112
112
|
"data": {
|
|
113
113
|
"waste_properties": {
|
|
114
114
|
"type": "Organic",
|
|
@@ -1911,6 +1911,6 @@
|
|
|
1911
1911
|
"additionalProperties": false,
|
|
1912
1912
|
"title": "MassID NFT IPFS Record",
|
|
1913
1913
|
"description": "Complete MassID NFT IPFS record including waste classification, chain-of-custody lifecycle events, geographic locations, supply-chain participants, and NFT display attributes",
|
|
1914
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
1915
|
-
"version": "0.
|
|
1914
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/mass-id/mass-id.schema.json",
|
|
1915
|
+
"version": "0.5.0"
|
|
1916
1916
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "20d9adb2c8d788abbbab76542ed01b6a2d6921c6e0f924c3bcc21d4fd4681a3b",
|
|
5
5
|
"type": "MassID Audit",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.5.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -674,6 +674,6 @@
|
|
|
674
674
|
"additionalProperties": false,
|
|
675
675
|
"title": "MassID Audit IPFS Record",
|
|
676
676
|
"description": "MassID audit record stored in IPFS, containing methodology reference, audit summary, rule execution results, and links to the source MassID and resulting GasID or RecycledID",
|
|
677
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
678
|
-
"version": "0.
|
|
677
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json",
|
|
678
|
+
"version": "0.5.0"
|
|
679
679
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/methodology/methodology.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "9dbd6a3553a0c082df10be79091a5ecf0a024e0a1e41685065f5d4842490ffec",
|
|
5
5
|
"type": "Methodology",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.5.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -369,6 +369,6 @@
|
|
|
369
369
|
"additionalProperties": false,
|
|
370
370
|
"title": "Methodology IPFS Record",
|
|
371
371
|
"description": "Methodology metadata stored in IPFS, defining the environmental impact measurement approach including versioning, documentation, and MassID audit rules",
|
|
372
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
373
|
-
"version": "0.
|
|
372
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/methodology/methodology.schema.json",
|
|
373
|
+
"version": "0.5.0"
|
|
374
374
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/recycled-id/recycled-id.schema.json",
|
|
3
3
|
"schema": {
|
|
4
|
-
"hash": "
|
|
4
|
+
"hash": "015d4867c1d7acc28ccf8f678b75d95f679918a650ff55c52597cfcd21fa1f4f",
|
|
5
5
|
"type": "RecycledID",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.5.0",
|
|
7
7
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm"
|
|
8
8
|
},
|
|
9
9
|
"environment": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"created_at": "2024-12-08T11:32:47.000Z",
|
|
21
21
|
"external_id": "f47ac10b-58cc-4372-a567-0e02b2c3d489",
|
|
22
22
|
"external_url": "https://explore.carrot.eco/document/f47ac10b-58cc-4372-a567-0e02b2c3d489",
|
|
23
|
-
"audit_data_hash": "
|
|
23
|
+
"audit_data_hash": "8c4fa1d6333dd59e613ba04238b24eceb63bba7b952bbe4af43adadc33721dbc",
|
|
24
24
|
"viewer_reference": {
|
|
25
25
|
"ipfs_uri": "ipfs://bafybeigdyrztvzl5cceubvaxob7iqh6f3f7s36c74ojav2xsz2uib2g3vm",
|
|
26
26
|
"integrity_hash": "87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
@@ -1359,6 +1359,6 @@
|
|
|
1359
1359
|
"additionalProperties": false,
|
|
1360
1360
|
"title": "RecycledID NFT IPFS Record",
|
|
1361
1361
|
"description": "Complete RecycledID NFT IPFS record including recycling outcome metrics, source waste provenance, methodology reference, and NFT display attributes",
|
|
1362
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.
|
|
1363
|
-
"version": "0.
|
|
1362
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.5.0/schemas/ipfs/recycled-id/recycled-id.schema.json",
|
|
1363
|
+
"version": "0.5.0"
|
|
1364
1364
|
}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
2
|
+
"version": "0.5.0",
|
|
3
3
|
"schemas": {
|
|
4
4
|
"ipfs/recycled-id/recycled-id.schema.json": {
|
|
5
|
-
"hash": "
|
|
5
|
+
"hash": "015d4867c1d7acc28ccf8f678b75d95f679918a650ff55c52597cfcd21fa1f4f",
|
|
6
6
|
"path": "ipfs/recycled-id/recycled-id.schema.json"
|
|
7
7
|
},
|
|
8
8
|
"ipfs/methodology/methodology.schema.json": {
|
|
9
|
-
"hash": "
|
|
9
|
+
"hash": "9dbd6a3553a0c082df10be79091a5ecf0a024e0a1e41685065f5d4842490ffec",
|
|
10
10
|
"path": "ipfs/methodology/methodology.schema.json"
|
|
11
11
|
},
|
|
12
12
|
"ipfs/mass-id-audit/mass-id-audit.schema.json": {
|
|
13
|
-
"hash": "
|
|
13
|
+
"hash": "20d9adb2c8d788abbbab76542ed01b6a2d6921c6e0f924c3bcc21d4fd4681a3b",
|
|
14
14
|
"path": "ipfs/mass-id-audit/mass-id-audit.schema.json"
|
|
15
15
|
},
|
|
16
16
|
"ipfs/mass-id/mass-id.schema.json": {
|
|
17
|
-
"hash": "
|
|
17
|
+
"hash": "15675848245673646f2b4c81f31843a45ccfc395b33abcaa636ac28821ba6ab4",
|
|
18
18
|
"path": "ipfs/mass-id/mass-id.schema.json"
|
|
19
19
|
},
|
|
20
20
|
"ipfs/gas-id/gas-id.schema.json": {
|
|
21
|
-
"hash": "
|
|
21
|
+
"hash": "6d22b905bc69f3436c60776c1aef0fff1712e920e7a9e0702f35ddb0ddb563cf",
|
|
22
22
|
"path": "ipfs/gas-id/gas-id.schema.json"
|
|
23
23
|
},
|
|
24
24
|
"ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json": {
|
|
25
|
-
"hash": "
|
|
25
|
+
"hash": "a9f8b2b1fe20a8fe40a5c38b33dc832f0701f827ffd086761a10264b50b2b651",
|
|
26
26
|
"path": "ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json"
|
|
27
27
|
},
|
|
28
28
|
"ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json": {
|
|
29
|
-
"hash": "
|
|
29
|
+
"hash": "40ba58979807543bbe19044a36ea875287529c55339ddacf2c3de23ba088b9b9",
|
|
30
30
|
"path": "ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json"
|
|
31
31
|
},
|
|
32
32
|
"ipfs/credit/credit.schema.json": {
|
|
33
|
-
"hash": "
|
|
33
|
+
"hash": "6cca2c3482f52b0a140063c551dec7649e7d05ff05e967ac210fc8e08d0018f0",
|
|
34
34
|
"path": "ipfs/credit/credit.schema.json"
|
|
35
35
|
},
|
|
36
36
|
"ipfs/collection/collection.schema.json": {
|
|
37
|
-
"hash": "
|
|
37
|
+
"hash": "e002efd528d04bfa0379d4ed070c2d5da66cb8cebc81b8dd86026d54e21856ef",
|
|
38
38
|
"path": "ipfs/collection/collection.schema.json"
|
|
39
39
|
}
|
|
40
40
|
}
|