@carrot-foundation/schemas 0.1.39 → 0.1.41
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 +589 -524
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +466 -673
- package/dist/index.d.ts +466 -673
- package/dist/index.js +589 -522
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/schemas/ipfs/collection/collection.example.json +3 -7
- package/schemas/ipfs/collection/collection.schema.json +17 -130
- package/schemas/ipfs/credit/credit.example.json +3 -7
- package/schemas/ipfs/credit/credit.schema.json +17 -130
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.example.json +3 -7
- package/schemas/ipfs/credit-purchase-receipt/credit-purchase-receipt.schema.json +144 -243
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.example.json +3 -7
- package/schemas/ipfs/credit-retirement-receipt/credit-retirement-receipt.schema.json +143 -239
- package/schemas/ipfs/gas-id/gas-id.example.json +4 -9
- package/schemas/ipfs/gas-id/gas-id.schema.json +63 -206
- package/schemas/ipfs/mass-id/mass-id.example.json +88 -188
- package/schemas/ipfs/mass-id/mass-id.schema.json +675 -646
- package/schemas/ipfs/mass-id-audit/mass-id-audit.example.json +3 -7
- package/schemas/ipfs/mass-id-audit/mass-id-audit.schema.json +28 -150
- package/schemas/ipfs/methodology/methodology.example.json +3 -28
- package/schemas/ipfs/methodology/methodology.schema.json +20 -145
- package/schemas/ipfs/recycled-id/recycled-id.example.json +5 -10
- package/schemas/ipfs/recycled-id/recycled-id.schema.json +62 -203
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "RecycledID NFT IPFS Record",
|
|
4
4
|
"description": "Complete RecycledID NFT IPFS record including fixed attributes and recycling outcome data",
|
|
5
|
-
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.
|
|
6
|
-
"version": "0.1.
|
|
5
|
+
"$id": "https://raw.githubusercontent.com/carrot-foundation/schemas/refs/tags/0.1.41/schemas/ipfs/recycled-id/recycled-id.schema.json",
|
|
6
|
+
"version": "0.1.41",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
9
|
"$schema": {
|
|
@@ -18,27 +18,12 @@
|
|
|
18
18
|
"properties": {
|
|
19
19
|
"hash": {
|
|
20
20
|
"title": "Schema Hash",
|
|
21
|
-
"description": "
|
|
21
|
+
"description": "SHA-256 hash of the JSON Schema this record was validated against",
|
|
22
22
|
"examples": [
|
|
23
|
-
"
|
|
24
|
-
"0xac08c3cf2e175e55961d6affdb38bc24591b84ceef7f3707c69ae3d52c148b2f"
|
|
23
|
+
"87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
25
24
|
],
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
"title": "Keccak256 Hash",
|
|
29
|
-
"description": "Keccak256 cryptographic hash as hexadecimal string",
|
|
30
|
-
"examples": [
|
|
31
|
-
"ac08c3cf2e175e55961d6affdb38bc24591b84ceef7f3707c69ae3d52c148b2f",
|
|
32
|
-
"b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2"
|
|
33
|
-
],
|
|
34
|
-
"type": "string",
|
|
35
|
-
"pattern": "^[0-9a-fA-F]{64}$"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
"type": "string",
|
|
39
|
-
"pattern": "^0x[a-fA-F0-9]{64}$"
|
|
40
|
-
}
|
|
41
|
-
]
|
|
25
|
+
"type": "string",
|
|
26
|
+
"pattern": "^[0-9a-fA-F]{64}$"
|
|
42
27
|
},
|
|
43
28
|
"type": {
|
|
44
29
|
"title": "RecycledID Schema Type",
|
|
@@ -70,19 +55,16 @@
|
|
|
70
55
|
"title": "Created At",
|
|
71
56
|
"description": "ISO 8601 creation timestamp for this record",
|
|
72
57
|
"examples": [
|
|
73
|
-
"2024-12-05T11:02:47.000Z"
|
|
74
|
-
"2025-02-22T10:35:12.000Z"
|
|
58
|
+
"2024-12-05T11:02:47.000Z"
|
|
75
59
|
],
|
|
76
60
|
"type": "string",
|
|
77
|
-
"
|
|
78
|
-
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
|
|
61
|
+
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,3})?(?:Z|[+-]\\d{2}:\\d{2})$"
|
|
79
62
|
},
|
|
80
63
|
"external_id": {
|
|
81
64
|
"title": "External ID",
|
|
82
|
-
"description": "
|
|
65
|
+
"description": "UUID identifier for external system references",
|
|
83
66
|
"examples": [
|
|
84
|
-
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
85
|
-
"b2c4e6f8-a1b3-4c5d-9e8f-123456789abc"
|
|
67
|
+
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
86
68
|
],
|
|
87
69
|
"type": "string",
|
|
88
70
|
"format": "uuid",
|
|
@@ -90,10 +72,10 @@
|
|
|
90
72
|
},
|
|
91
73
|
"external_url": {
|
|
92
74
|
"title": "External URL",
|
|
93
|
-
"description": "
|
|
75
|
+
"description": "URL pointing to external resources",
|
|
94
76
|
"examples": [
|
|
95
|
-
"https://explore.carrot.eco/
|
|
96
|
-
"https://carrot.eco/
|
|
77
|
+
"https://explore.carrot.eco/",
|
|
78
|
+
"https://https://whitepaper.carrot.eco/"
|
|
97
79
|
],
|
|
98
80
|
"type": "string",
|
|
99
81
|
"format": "uri"
|
|
@@ -102,8 +84,7 @@
|
|
|
102
84
|
"title": "Original Content Hash",
|
|
103
85
|
"description": "SHA-256 hash of the original JSON content including private data before schema validation",
|
|
104
86
|
"examples": [
|
|
105
|
-
"87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
106
|
-
"6e83b8e6373847bbdc056549bedda38dc88854ce41ba4fca11e0fc6ce3e07ef6"
|
|
87
|
+
"87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
107
88
|
],
|
|
108
89
|
"type": "string",
|
|
109
90
|
"pattern": "^[0-9a-fA-F]{64}$"
|
|
@@ -112,108 +93,14 @@
|
|
|
112
93
|
"title": "Content Hash",
|
|
113
94
|
"description": "SHA-256 hash of RFC 8785 canonicalized JSON after schema validation",
|
|
114
95
|
"examples": [
|
|
115
|
-
"87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
116
|
-
"6e83b8e6373847bbdc056549bedda38dc88854ce41ba4fca11e0fc6ce3e07ef6"
|
|
96
|
+
"87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
117
97
|
],
|
|
118
98
|
"type": "string",
|
|
119
99
|
"pattern": "^[0-9a-fA-F]{64}$"
|
|
120
100
|
},
|
|
121
|
-
"creator": {
|
|
122
|
-
"title": "Creator",
|
|
123
|
-
"description": "Entity that created this record",
|
|
124
|
-
"type": "object",
|
|
125
|
-
"properties": {
|
|
126
|
-
"name": {
|
|
127
|
-
"title": "Creator Name",
|
|
128
|
-
"description": "Company or individual name that created this record",
|
|
129
|
-
"examples": [
|
|
130
|
-
"Carrot Foundation"
|
|
131
|
-
],
|
|
132
|
-
"type": "string"
|
|
133
|
-
},
|
|
134
|
-
"id": {
|
|
135
|
-
"title": "Creator ID",
|
|
136
|
-
"description": "Unique identifier for the creator",
|
|
137
|
-
"examples": [
|
|
138
|
-
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530",
|
|
139
|
-
"6f520d88-864d-432d-bf9f-5c3166c4818f",
|
|
140
|
-
"f77afa89-1c58-40fd-9bf5-8a86703a8af4"
|
|
141
|
-
],
|
|
142
|
-
"type": "string",
|
|
143
|
-
"format": "uuid",
|
|
144
|
-
"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})$"
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
"required": [
|
|
148
|
-
"name",
|
|
149
|
-
"id"
|
|
150
|
-
],
|
|
151
|
-
"additionalProperties": false
|
|
152
|
-
},
|
|
153
|
-
"relationships": {
|
|
154
|
-
"title": "Relationships",
|
|
155
|
-
"description": "References to other IPFS records this record relates to",
|
|
156
|
-
"type": "array",
|
|
157
|
-
"items": {
|
|
158
|
-
"title": "Relationship",
|
|
159
|
-
"description": "Relationship to another IPFS record",
|
|
160
|
-
"type": "object",
|
|
161
|
-
"properties": {
|
|
162
|
-
"target_uri": {
|
|
163
|
-
"title": "Target IPFS URI",
|
|
164
|
-
"description": "Target IPFS URI of the referenced record",
|
|
165
|
-
"examples": [
|
|
166
|
-
"ipfs://QmTy8w65yBXgyfG2ZBg5TrfB2hPjrDQH3RCQFJGkARStJb/mass-id-organic.png",
|
|
167
|
-
"ipfs://QmYjtig7VJQ6XsnUjqqJvj7QaMcCAwtrgNdahSiFofrE7o"
|
|
168
|
-
],
|
|
169
|
-
"type": "string",
|
|
170
|
-
"minLength": 1,
|
|
171
|
-
"pattern": "^ipfs:\\/\\/[a-zA-Z0-9]+(\\/.*)?$"
|
|
172
|
-
},
|
|
173
|
-
"type": {
|
|
174
|
-
"title": "Relationship Type",
|
|
175
|
-
"description": "Type of relationship to the referenced record",
|
|
176
|
-
"examples": [
|
|
177
|
-
"mass-id",
|
|
178
|
-
"collection",
|
|
179
|
-
"credit-purchase-receipt"
|
|
180
|
-
],
|
|
181
|
-
"type": "string",
|
|
182
|
-
"enum": [
|
|
183
|
-
"collection",
|
|
184
|
-
"credit",
|
|
185
|
-
"gas-id",
|
|
186
|
-
"mass-id",
|
|
187
|
-
"mass-id-audit",
|
|
188
|
-
"methodology",
|
|
189
|
-
"credit-purchase-receipt",
|
|
190
|
-
"credit-retirement-receipt",
|
|
191
|
-
"recycled-id"
|
|
192
|
-
]
|
|
193
|
-
},
|
|
194
|
-
"description": {
|
|
195
|
-
"title": "Relationship Description",
|
|
196
|
-
"description": "Human-readable description of the relationship",
|
|
197
|
-
"examples": [
|
|
198
|
-
"This record supersedes the previous version",
|
|
199
|
-
"Related carbon credit batch",
|
|
200
|
-
"Source document for this verification",
|
|
201
|
-
"Child record derived from this parent",
|
|
202
|
-
"Updated version of original record"
|
|
203
|
-
],
|
|
204
|
-
"type": "string"
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
"required": [
|
|
208
|
-
"target_uri",
|
|
209
|
-
"type"
|
|
210
|
-
],
|
|
211
|
-
"additionalProperties": false
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
101
|
"environment": {
|
|
215
|
-
"title": "Environment",
|
|
216
|
-
"description": "Environment information",
|
|
102
|
+
"title": "Record Environment",
|
|
103
|
+
"description": "Environment information for the record",
|
|
217
104
|
"type": "object",
|
|
218
105
|
"properties": {
|
|
219
106
|
"blockchain_network": {
|
|
@@ -312,8 +199,7 @@
|
|
|
312
199
|
"title": "Methodology External ID",
|
|
313
200
|
"description": "Unique identifier for the methodology",
|
|
314
201
|
"examples": [
|
|
315
|
-
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
316
|
-
"b2c4e6f8-a1b3-4c5d-9e8f-123456789abc"
|
|
202
|
+
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
317
203
|
],
|
|
318
204
|
"type": "string",
|
|
319
205
|
"format": "uuid",
|
|
@@ -346,8 +232,8 @@
|
|
|
346
232
|
"title": "Methodology External URL",
|
|
347
233
|
"description": "URL to view the methodology on Carrot Explorer",
|
|
348
234
|
"examples": [
|
|
349
|
-
"https://explore.carrot.eco/
|
|
350
|
-
"https://carrot.eco/
|
|
235
|
+
"https://explore.carrot.eco/",
|
|
236
|
+
"https://https://whitepaper.carrot.eco/"
|
|
351
237
|
],
|
|
352
238
|
"type": "string",
|
|
353
239
|
"format": "uri"
|
|
@@ -381,9 +267,7 @@
|
|
|
381
267
|
"title": "Audit Date",
|
|
382
268
|
"description": "Date when the audit was completed",
|
|
383
269
|
"examples": [
|
|
384
|
-
"2024-12-05"
|
|
385
|
-
"2025-02-22",
|
|
386
|
-
"2024-02-10"
|
|
270
|
+
"2024-12-05"
|
|
387
271
|
],
|
|
388
272
|
"type": "string",
|
|
389
273
|
"format": "date",
|
|
@@ -393,8 +277,7 @@
|
|
|
393
277
|
"title": "Audit External ID",
|
|
394
278
|
"description": "Unique identifier for the audit",
|
|
395
279
|
"examples": [
|
|
396
|
-
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
397
|
-
"b2c4e6f8-a1b3-4c5d-9e8f-123456789abc"
|
|
280
|
+
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
398
281
|
],
|
|
399
282
|
"type": "string",
|
|
400
283
|
"format": "uuid",
|
|
@@ -404,8 +287,8 @@
|
|
|
404
287
|
"title": "Audit External URL",
|
|
405
288
|
"description": "URL to view the audit on Carrot Explorer",
|
|
406
289
|
"examples": [
|
|
407
|
-
"https://explore.carrot.eco/
|
|
408
|
-
"https://carrot.eco/
|
|
290
|
+
"https://explore.carrot.eco/",
|
|
291
|
+
"https://https://whitepaper.carrot.eco/"
|
|
409
292
|
],
|
|
410
293
|
"type": "string",
|
|
411
294
|
"format": "uri"
|
|
@@ -466,8 +349,7 @@
|
|
|
466
349
|
"title": "MassID External ID",
|
|
467
350
|
"description": "Unique identifier for the MassID",
|
|
468
351
|
"examples": [
|
|
469
|
-
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
470
|
-
"b2c4e6f8-a1b3-4c5d-9e8f-123456789abc"
|
|
352
|
+
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
471
353
|
],
|
|
472
354
|
"type": "string",
|
|
473
355
|
"format": "uuid",
|
|
@@ -477,7 +359,6 @@
|
|
|
477
359
|
"title": "MassID Token ID",
|
|
478
360
|
"description": "NFT token ID of the MassID",
|
|
479
361
|
"examples": [
|
|
480
|
-
"123",
|
|
481
362
|
"456789",
|
|
482
363
|
"1000000"
|
|
483
364
|
],
|
|
@@ -489,8 +370,8 @@
|
|
|
489
370
|
"title": "MassID External URL",
|
|
490
371
|
"description": "URL to view the MassID on Carrot Explorer",
|
|
491
372
|
"examples": [
|
|
492
|
-
"https://explore.carrot.eco/
|
|
493
|
-
"https://carrot.eco/
|
|
373
|
+
"https://explore.carrot.eco/",
|
|
374
|
+
"https://https://whitepaper.carrot.eco/"
|
|
494
375
|
],
|
|
495
376
|
"type": "string",
|
|
496
377
|
"format": "uri"
|
|
@@ -537,8 +418,7 @@
|
|
|
537
418
|
"description": "Subtype of the source waste",
|
|
538
419
|
"examples": [
|
|
539
420
|
"Food, Food Waste and Beverages",
|
|
540
|
-
"
|
|
541
|
-
"Aluminum Cans"
|
|
421
|
+
"Domestic Sludge"
|
|
542
422
|
],
|
|
543
423
|
"type": "string",
|
|
544
424
|
"minLength": 1,
|
|
@@ -572,8 +452,7 @@
|
|
|
572
452
|
"title": "Location ID Hash",
|
|
573
453
|
"description": "Anonymized identifier for the location",
|
|
574
454
|
"examples": [
|
|
575
|
-
"87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
576
|
-
"6e83b8e6373847bbdc056549bedda38dc88854ce41ba4fca11e0fc6ce3e07ef6"
|
|
455
|
+
"87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
577
456
|
],
|
|
578
457
|
"type": "string",
|
|
579
458
|
"pattern": "^[0-9a-fA-F]{64}$"
|
|
@@ -643,8 +522,7 @@
|
|
|
643
522
|
"title": "Responsible Participant ID Hash",
|
|
644
523
|
"description": "Anonymized ID of the participant responsible for this location",
|
|
645
524
|
"examples": [
|
|
646
|
-
"87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
647
|
-
"6e83b8e6373847bbdc056549bedda38dc88854ce41ba4fca11e0fc6ce3e07ef6"
|
|
525
|
+
"87f633634cc4b02f628685651f0a29b7bfa22a0bd841f725c6772dd00a58d489"
|
|
648
526
|
],
|
|
649
527
|
"type": "string",
|
|
650
528
|
"pattern": "^[0-9a-fA-F]{64}$"
|
|
@@ -656,7 +534,7 @@
|
|
|
656
534
|
"properties": {
|
|
657
535
|
"latitude": {
|
|
658
536
|
"title": "Latitude",
|
|
659
|
-
"description": "Geographic latitude coordinate in decimal degrees with maximum 3 decimal places precision (~100m-1km accuracy for city-level
|
|
537
|
+
"description": "Geographic latitude coordinate in decimal degrees with maximum 3 decimal places precision (~100m-1km accuracy for city-level)",
|
|
660
538
|
"examples": [
|
|
661
539
|
-0.02,
|
|
662
540
|
-20.38,
|
|
@@ -669,7 +547,7 @@
|
|
|
669
547
|
},
|
|
670
548
|
"longitude": {
|
|
671
549
|
"title": "Longitude",
|
|
672
|
-
"description": "Geographic longitude coordinate in decimal degrees with maximum 3 decimal places precision (~100m-1km accuracy for city-level
|
|
550
|
+
"description": "Geographic longitude coordinate in decimal degrees with maximum 3 decimal places precision (~100m-1km accuracy for city-level)",
|
|
673
551
|
"examples": [
|
|
674
552
|
-51.06,
|
|
675
553
|
-40.34,
|
|
@@ -684,14 +562,10 @@
|
|
|
684
562
|
"title": "Coordinate Precision Level",
|
|
685
563
|
"description": "Level of coordinate precision",
|
|
686
564
|
"examples": [
|
|
687
|
-
"city"
|
|
688
|
-
"exact",
|
|
689
|
-
"neighborhood"
|
|
565
|
+
"city"
|
|
690
566
|
],
|
|
691
567
|
"type": "string",
|
|
692
568
|
"enum": [
|
|
693
|
-
"exact",
|
|
694
|
-
"neighborhood",
|
|
695
569
|
"city",
|
|
696
570
|
"region",
|
|
697
571
|
"country"
|
|
@@ -704,22 +578,6 @@
|
|
|
704
578
|
"precision_level"
|
|
705
579
|
],
|
|
706
580
|
"additionalProperties": false
|
|
707
|
-
},
|
|
708
|
-
"facility_type": {
|
|
709
|
-
"title": "Facility Type",
|
|
710
|
-
"description": "Type of facility in the waste management chain",
|
|
711
|
-
"examples": [
|
|
712
|
-
"Collection Point",
|
|
713
|
-
"Recycling Facility",
|
|
714
|
-
"Administrative Office"
|
|
715
|
-
],
|
|
716
|
-
"type": "string",
|
|
717
|
-
"enum": [
|
|
718
|
-
"Collection Point",
|
|
719
|
-
"Recycling Facility",
|
|
720
|
-
"Administrative Office",
|
|
721
|
-
"Other"
|
|
722
|
-
]
|
|
723
581
|
}
|
|
724
582
|
},
|
|
725
583
|
"required": [
|
|
@@ -747,9 +605,7 @@
|
|
|
747
605
|
"title": "Participant ID",
|
|
748
606
|
"description": "Unique identifier for the participant",
|
|
749
607
|
"examples": [
|
|
750
|
-
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
751
|
-
"6f520d88-864d-432d-bf9f-5c3166c4818f",
|
|
752
|
-
"f77afa89-1c58-40fd-9bf5-8a86703a8af4"
|
|
608
|
+
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
753
609
|
],
|
|
754
610
|
"type": "string",
|
|
755
611
|
"format": "uuid",
|
|
@@ -783,9 +639,7 @@
|
|
|
783
639
|
"title": "Accreditation ID",
|
|
784
640
|
"description": "Unique identifier for the participant accreditation",
|
|
785
641
|
"examples": [
|
|
786
|
-
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
787
|
-
"6f520d88-864d-432d-bf9f-5c3166c4818f",
|
|
788
|
-
"f77afa89-1c58-40fd-9bf5-8a86703a8af4"
|
|
642
|
+
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
789
643
|
],
|
|
790
644
|
"type": "string",
|
|
791
645
|
"format": "uuid",
|
|
@@ -795,8 +649,8 @@
|
|
|
795
649
|
"title": "Participant Accreditation External URL",
|
|
796
650
|
"description": "URL to view the participant accreditation on Carrot Explorer",
|
|
797
651
|
"examples": [
|
|
798
|
-
"https://explore.carrot.eco/
|
|
799
|
-
"https://carrot.eco/
|
|
652
|
+
"https://explore.carrot.eco/",
|
|
653
|
+
"https://https://whitepaper.carrot.eco/"
|
|
800
654
|
],
|
|
801
655
|
"type": "string",
|
|
802
656
|
"format": "uri"
|
|
@@ -838,9 +692,7 @@
|
|
|
838
692
|
"title": "Participant ID",
|
|
839
693
|
"description": "Unique identifier for the participant receiving the reward",
|
|
840
694
|
"examples": [
|
|
841
|
-
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
842
|
-
"6f520d88-864d-432d-bf9f-5c3166c4818f",
|
|
843
|
-
"f77afa89-1c58-40fd-9bf5-8a86703a8af4"
|
|
695
|
+
"ad44dd3f-f176-4b98-bf78-5ee6e77d0530"
|
|
844
696
|
],
|
|
845
697
|
"type": "string",
|
|
846
698
|
"format": "uuid",
|
|
@@ -964,8 +816,7 @@
|
|
|
964
816
|
"title": "Smart Contract Address",
|
|
965
817
|
"description": "A valid Ethereum address in hexadecimal format",
|
|
966
818
|
"examples": [
|
|
967
|
-
"0x1234567890abcdef1234567890abcdef12345678"
|
|
968
|
-
"0xabcdef1234567890abcdef1234567890abcdef12"
|
|
819
|
+
"0x1234567890abcdef1234567890abcdef12345678"
|
|
969
820
|
],
|
|
970
821
|
"type": "string",
|
|
971
822
|
"pattern": "^0x[a-f0-9]{40}$"
|
|
@@ -974,26 +825,37 @@
|
|
|
974
825
|
"title": "Chain ID",
|
|
975
826
|
"description": "Blockchain chain ID",
|
|
976
827
|
"examples": [
|
|
977
|
-
1,
|
|
978
828
|
137,
|
|
979
|
-
|
|
829
|
+
80002
|
|
980
830
|
],
|
|
981
|
-
"
|
|
982
|
-
|
|
983
|
-
|
|
831
|
+
"anyOf": [
|
|
832
|
+
{
|
|
833
|
+
"type": "number",
|
|
834
|
+
"const": 137
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"type": "number",
|
|
838
|
+
"const": 80002
|
|
839
|
+
}
|
|
840
|
+
]
|
|
984
841
|
},
|
|
985
842
|
"network_name": {
|
|
986
|
-
"title": "Network Name",
|
|
987
|
-
"description": "
|
|
843
|
+
"title": "Blockchain Network Name",
|
|
844
|
+
"description": "Supported Polygon network names",
|
|
845
|
+
"examples": [
|
|
846
|
+
"Polygon",
|
|
847
|
+
"Amoy"
|
|
848
|
+
],
|
|
988
849
|
"type": "string",
|
|
989
|
-
"
|
|
990
|
-
|
|
850
|
+
"enum": [
|
|
851
|
+
"Polygon",
|
|
852
|
+
"Amoy"
|
|
853
|
+
]
|
|
991
854
|
},
|
|
992
855
|
"token_id": {
|
|
993
856
|
"title": "Token ID",
|
|
994
857
|
"description": "NFT token ID",
|
|
995
858
|
"examples": [
|
|
996
|
-
"123",
|
|
997
859
|
"456789",
|
|
998
860
|
"1000000"
|
|
999
861
|
],
|
|
@@ -1061,8 +923,7 @@
|
|
|
1061
923
|
"description": "Hex color code for marketplace background display",
|
|
1062
924
|
"examples": [
|
|
1063
925
|
"#2D5A27",
|
|
1064
|
-
"#FF5733"
|
|
1065
|
-
"#1E90FF"
|
|
926
|
+
"#FF5733"
|
|
1066
927
|
],
|
|
1067
928
|
"type": "string",
|
|
1068
929
|
"minLength": 1,
|
|
@@ -1621,9 +1482,7 @@
|
|
|
1621
1482
|
"title": "MassID Recycling Date",
|
|
1622
1483
|
"description": "Unix timestamp in milliseconds when the source waste was recycled",
|
|
1623
1484
|
"examples": [
|
|
1624
|
-
1704067200000
|
|
1625
|
-
1735689600000,
|
|
1626
|
-
1762371245149
|
|
1485
|
+
1704067200000
|
|
1627
1486
|
],
|
|
1628
1487
|
"type": "integer",
|
|
1629
1488
|
"exclusiveMinimum": 0,
|