@carrot-foundation/schemas 0.1.34 → 0.1.36
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/README.md +1 -1
- package/dist/index.cjs +1128 -1048
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +737 -81
- package/dist/index.d.ts +737 -81
- package/dist/index.js +1108 -1049
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/schemas/ipfs/gas-id/gas-id.example.json +1 -1
- package/schemas/ipfs/gas-id/gas-id.schema.json +82 -70
- package/schemas/ipfs/mass-id/mass-id.schema.json +56 -45
- package/schemas/ipfs/recycled-id/recycled-id.example.json +9 -8
- package/schemas/ipfs/recycled-id/recycled-id.schema.json +1650 -15
- package/schemas/ipfs/shared/definitions/definitions.schema.json +10 -0
- package/schemas/ipfs/shared/entities/location/location.schema.json +10 -10
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "GasID NFT IPFS Record",
|
|
4
4
|
"description": "Complete GasID NFT IPFS record including fixed attributes and detailed carbon emissions prevention 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.36/schemas/ipfs/gas-id/gas-id.schema.json",
|
|
6
|
+
"version": "0.1.36",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
9
|
"$schema": {
|
|
@@ -21,10 +21,24 @@
|
|
|
21
21
|
"description": "Keccak256 hash of the JSON Schema this record was validated against",
|
|
22
22
|
"examples": [
|
|
23
23
|
"ac08c3cf2e175e55961d6affdb38bc24591b84ceef7f3707c69ae3d52c148b2f",
|
|
24
|
-
"
|
|
24
|
+
"0xac08c3cf2e175e55961d6affdb38bc24591b84ceef7f3707c69ae3d52c148b2f"
|
|
25
25
|
],
|
|
26
|
-
"
|
|
27
|
-
|
|
26
|
+
"anyOf": [
|
|
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
|
+
]
|
|
28
42
|
},
|
|
29
43
|
"type": {
|
|
30
44
|
"title": "GasID Schema Type",
|
|
@@ -261,11 +275,12 @@
|
|
|
261
275
|
"title": "Credit Type",
|
|
262
276
|
"description": "Type of credit issued",
|
|
263
277
|
"examples": [
|
|
264
|
-
"
|
|
265
|
-
"Carbon
|
|
278
|
+
"Organic",
|
|
279
|
+
"Carbon (CH₄)"
|
|
266
280
|
],
|
|
267
281
|
"type": "string",
|
|
268
|
-
"minLength": 1
|
|
282
|
+
"minLength": 1,
|
|
283
|
+
"maxLength": 100
|
|
269
284
|
},
|
|
270
285
|
"credit_amount": {
|
|
271
286
|
"title": "Credit Amount",
|
|
@@ -577,9 +592,10 @@
|
|
|
577
592
|
"title": "Municipality",
|
|
578
593
|
"description": "Municipality or city name",
|
|
579
594
|
"examples": [
|
|
580
|
-
"
|
|
595
|
+
"Macapá",
|
|
581
596
|
"São Paulo",
|
|
582
|
-
"
|
|
597
|
+
"New York",
|
|
598
|
+
"Berlin",
|
|
583
599
|
"Tokyo"
|
|
584
600
|
],
|
|
585
601
|
"type": "string",
|
|
@@ -588,20 +604,19 @@
|
|
|
588
604
|
},
|
|
589
605
|
"administrative_division": {
|
|
590
606
|
"title": "Administrative Division",
|
|
591
|
-
"description": "State, province, or administrative region",
|
|
607
|
+
"description": "State, province, or administrative region name",
|
|
592
608
|
"examples": [
|
|
609
|
+
"Amapá",
|
|
593
610
|
"California",
|
|
594
|
-
"
|
|
595
|
-
"Bavaria",
|
|
596
|
-
"Queensland"
|
|
611
|
+
"Bavaria"
|
|
597
612
|
],
|
|
598
613
|
"type": "string",
|
|
599
614
|
"minLength": 1,
|
|
600
615
|
"maxLength": 50
|
|
601
616
|
},
|
|
602
617
|
"administrative_division_code": {
|
|
603
|
-
"title": "Administrative Division Code",
|
|
604
|
-
"description": "ISO 3166-2
|
|
618
|
+
"title": "ISO Administrative Division Code",
|
|
619
|
+
"description": "Administrative division code following ISO 3166-2 standard",
|
|
605
620
|
"examples": [
|
|
606
621
|
"BR-AP",
|
|
607
622
|
"BR-ES",
|
|
@@ -614,18 +629,18 @@
|
|
|
614
629
|
"title": "Country",
|
|
615
630
|
"description": "Full country name in English",
|
|
616
631
|
"examples": [
|
|
632
|
+
"Brazil",
|
|
617
633
|
"United States",
|
|
618
|
-
"Canada",
|
|
619
634
|
"Germany",
|
|
620
|
-
"
|
|
635
|
+
"Japan"
|
|
621
636
|
],
|
|
622
637
|
"type": "string",
|
|
623
638
|
"minLength": 1,
|
|
624
639
|
"maxLength": 50
|
|
625
640
|
},
|
|
626
641
|
"country_code": {
|
|
627
|
-
"title": "Country Code",
|
|
628
|
-
"description": "ISO 3166-1 alpha-2
|
|
642
|
+
"title": "ISO Country Code",
|
|
643
|
+
"description": "Two-letter country code following ISO 3166-1 alpha-2 standard",
|
|
629
644
|
"examples": [
|
|
630
645
|
"BR",
|
|
631
646
|
"US",
|
|
@@ -651,7 +666,7 @@
|
|
|
651
666
|
"properties": {
|
|
652
667
|
"latitude": {
|
|
653
668
|
"title": "Latitude",
|
|
654
|
-
"description": "
|
|
669
|
+
"description": "Geographic latitude coordinate in decimal degrees with maximum 3 decimal places precision (~100m-1km accuracy for city-level, non-PII compliance)",
|
|
655
670
|
"examples": [
|
|
656
671
|
-0.02,
|
|
657
672
|
-20.38,
|
|
@@ -664,7 +679,7 @@
|
|
|
664
679
|
},
|
|
665
680
|
"longitude": {
|
|
666
681
|
"title": "Longitude",
|
|
667
|
-
"description": "
|
|
682
|
+
"description": "Geographic longitude coordinate in decimal degrees with maximum 3 decimal places precision (~100m-1km accuracy for city-level, non-PII compliance)",
|
|
668
683
|
"examples": [
|
|
669
684
|
-51.06,
|
|
670
685
|
-40.34,
|
|
@@ -676,7 +691,7 @@
|
|
|
676
691
|
"multipleOf": 0.001
|
|
677
692
|
},
|
|
678
693
|
"precision_level": {
|
|
679
|
-
"title": "Precision Level",
|
|
694
|
+
"title": "Coordinate Precision Level",
|
|
680
695
|
"description": "Level of coordinate precision",
|
|
681
696
|
"examples": [
|
|
682
697
|
"city",
|
|
@@ -702,7 +717,7 @@
|
|
|
702
717
|
},
|
|
703
718
|
"facility_type": {
|
|
704
719
|
"title": "Facility Type",
|
|
705
|
-
"description": "Type of facility
|
|
720
|
+
"description": "Type of facility in the waste management chain",
|
|
706
721
|
"examples": [
|
|
707
722
|
"Collection Point",
|
|
708
723
|
"Recycling Facility",
|
|
@@ -1236,7 +1251,7 @@
|
|
|
1236
1251
|
"prefixItems": [
|
|
1237
1252
|
{
|
|
1238
1253
|
"title": "Methodology Attribute",
|
|
1239
|
-
"description": "Methodology
|
|
1254
|
+
"description": "Methodology used for certification",
|
|
1240
1255
|
"type": "object",
|
|
1241
1256
|
"properties": {
|
|
1242
1257
|
"trait_type": {
|
|
@@ -1244,9 +1259,10 @@
|
|
|
1244
1259
|
"const": "Methodology"
|
|
1245
1260
|
},
|
|
1246
1261
|
"value": {
|
|
1247
|
-
"title": "Methodology
|
|
1248
|
-
"description": "Name of the
|
|
1262
|
+
"title": "Methodology Name",
|
|
1263
|
+
"description": "Name of the methodology used for certification",
|
|
1249
1264
|
"examples": [
|
|
1265
|
+
"BOLD Recycling",
|
|
1250
1266
|
"BOLD Carbon (CH₄)"
|
|
1251
1267
|
],
|
|
1252
1268
|
"type": "string",
|
|
@@ -1292,7 +1308,7 @@
|
|
|
1292
1308
|
"const": "Gas Type"
|
|
1293
1309
|
},
|
|
1294
1310
|
"value": {
|
|
1295
|
-
"title": "Gas Type
|
|
1311
|
+
"title": "Gas Type",
|
|
1296
1312
|
"description": "Type of gas prevented",
|
|
1297
1313
|
"examples": [
|
|
1298
1314
|
"Methane (CH₄)",
|
|
@@ -1341,7 +1357,7 @@
|
|
|
1341
1357
|
"const": "CO₂e Prevented (kg)"
|
|
1342
1358
|
},
|
|
1343
1359
|
"value": {
|
|
1344
|
-
"title": "CO₂e Prevented
|
|
1360
|
+
"title": "CO₂e Prevented",
|
|
1345
1361
|
"description": "Total CO₂ equivalent emissions prevented in kilograms",
|
|
1346
1362
|
"examples": [
|
|
1347
1363
|
0,
|
|
@@ -1384,7 +1400,7 @@
|
|
|
1384
1400
|
"const": "Credit Amount"
|
|
1385
1401
|
},
|
|
1386
1402
|
"value": {
|
|
1387
|
-
"title": "Credit Amount
|
|
1403
|
+
"title": "Credit Amount",
|
|
1388
1404
|
"description": "Amount of credits issued",
|
|
1389
1405
|
"examples": [
|
|
1390
1406
|
0,
|
|
@@ -1427,10 +1443,11 @@
|
|
|
1427
1443
|
"const": "Credit Type"
|
|
1428
1444
|
},
|
|
1429
1445
|
"value": {
|
|
1430
|
-
"title": "Credit Type
|
|
1446
|
+
"title": "Credit Type",
|
|
1431
1447
|
"description": "Type of credit issued",
|
|
1432
1448
|
"examples": [
|
|
1433
|
-
"
|
|
1449
|
+
"Organic",
|
|
1450
|
+
"Carbon (CH₄)"
|
|
1434
1451
|
],
|
|
1435
1452
|
"type": "string",
|
|
1436
1453
|
"minLength": 1,
|
|
@@ -1525,8 +1542,8 @@
|
|
|
1525
1542
|
"const": "Source Weight (kg)"
|
|
1526
1543
|
},
|
|
1527
1544
|
"value": {
|
|
1528
|
-
"title": "Weight
|
|
1529
|
-
"description": "Weight
|
|
1545
|
+
"title": "Source Weight",
|
|
1546
|
+
"description": "Weight of the source waste in kilograms",
|
|
1530
1547
|
"examples": [
|
|
1531
1548
|
3000,
|
|
1532
1549
|
1500,
|
|
@@ -1568,14 +1585,17 @@
|
|
|
1568
1585
|
"const": "Origin Country"
|
|
1569
1586
|
},
|
|
1570
1587
|
"value": {
|
|
1571
|
-
"title": "
|
|
1572
|
-
"description": "
|
|
1588
|
+
"title": "Country",
|
|
1589
|
+
"description": "Full country name in English",
|
|
1573
1590
|
"examples": [
|
|
1574
|
-
"Brazil"
|
|
1591
|
+
"Brazil",
|
|
1592
|
+
"United States",
|
|
1593
|
+
"Germany",
|
|
1594
|
+
"Japan"
|
|
1575
1595
|
],
|
|
1576
1596
|
"type": "string",
|
|
1577
1597
|
"minLength": 1,
|
|
1578
|
-
"maxLength":
|
|
1598
|
+
"maxLength": 50
|
|
1579
1599
|
},
|
|
1580
1600
|
"display_type": {
|
|
1581
1601
|
"title": "Display Type",
|
|
@@ -1616,14 +1636,18 @@
|
|
|
1616
1636
|
"const": "Origin Municipality"
|
|
1617
1637
|
},
|
|
1618
1638
|
"value": {
|
|
1619
|
-
"title": "
|
|
1620
|
-
"description": "Municipality
|
|
1639
|
+
"title": "Municipality",
|
|
1640
|
+
"description": "Municipality or city name",
|
|
1621
1641
|
"examples": [
|
|
1622
|
-
"Macapá"
|
|
1642
|
+
"Macapá",
|
|
1643
|
+
"São Paulo",
|
|
1644
|
+
"New York",
|
|
1645
|
+
"Berlin",
|
|
1646
|
+
"Tokyo"
|
|
1623
1647
|
],
|
|
1624
1648
|
"type": "string",
|
|
1625
1649
|
"minLength": 1,
|
|
1626
|
-
"maxLength":
|
|
1650
|
+
"maxLength": 50
|
|
1627
1651
|
},
|
|
1628
1652
|
"display_type": {
|
|
1629
1653
|
"title": "Display Type",
|
|
@@ -1664,11 +1688,9 @@
|
|
|
1664
1688
|
"const": "Recycler"
|
|
1665
1689
|
},
|
|
1666
1690
|
"value": {
|
|
1667
|
-
"title": "Recycler
|
|
1691
|
+
"title": "Recycler",
|
|
1668
1692
|
"description": "Organization that processed the waste",
|
|
1669
|
-
"
|
|
1670
|
-
"Eco Reciclagem"
|
|
1671
|
-
],
|
|
1693
|
+
"example": "Eco Reciclagem",
|
|
1672
1694
|
"type": "string",
|
|
1673
1695
|
"minLength": 1,
|
|
1674
1696
|
"maxLength": 100
|
|
@@ -1712,11 +1734,9 @@
|
|
|
1712
1734
|
"const": "MassID"
|
|
1713
1735
|
},
|
|
1714
1736
|
"value": {
|
|
1715
|
-
"title": "MassID Token ID
|
|
1716
|
-
"description": "Token ID of the source MassID NFT",
|
|
1717
|
-
"
|
|
1718
|
-
"#123"
|
|
1719
|
-
],
|
|
1737
|
+
"title": "MassID Token ID",
|
|
1738
|
+
"description": "Token ID of the source MassID NFT as #<token_id>",
|
|
1739
|
+
"example": "#123",
|
|
1720
1740
|
"type": "string",
|
|
1721
1741
|
"minLength": 1,
|
|
1722
1742
|
"pattern": "^#\\d+$"
|
|
@@ -1752,7 +1772,7 @@
|
|
|
1752
1772
|
},
|
|
1753
1773
|
{
|
|
1754
1774
|
"title": "MassID Recycling Date Attribute",
|
|
1755
|
-
"description": "MassID recycling date attribute
|
|
1775
|
+
"description": "MassID recycling date attribute using Unix timestamp in milliseconds",
|
|
1756
1776
|
"type": "object",
|
|
1757
1777
|
"properties": {
|
|
1758
1778
|
"trait_type": {
|
|
@@ -1760,29 +1780,20 @@
|
|
|
1760
1780
|
"const": "MassID Recycling Date"
|
|
1761
1781
|
},
|
|
1762
1782
|
"value": {
|
|
1763
|
-
"title": "MassID Recycling Date
|
|
1764
|
-
"description": "
|
|
1783
|
+
"title": "MassID Recycling Date",
|
|
1784
|
+
"description": "Unix timestamp in milliseconds when the source waste was recycled",
|
|
1765
1785
|
"examples": [
|
|
1766
|
-
|
|
1786
|
+
1704067200000,
|
|
1787
|
+
1735689600000,
|
|
1788
|
+
1762371245149
|
|
1767
1789
|
],
|
|
1768
|
-
"type": "
|
|
1769
|
-
"
|
|
1770
|
-
"
|
|
1790
|
+
"type": "integer",
|
|
1791
|
+
"exclusiveMinimum": 0,
|
|
1792
|
+
"maximum": 9007199254740991
|
|
1771
1793
|
},
|
|
1772
1794
|
"display_type": {
|
|
1773
1795
|
"type": "string",
|
|
1774
1796
|
"const": "date"
|
|
1775
|
-
},
|
|
1776
|
-
"max_value": {
|
|
1777
|
-
"title": "Max Value",
|
|
1778
|
-
"description": "Maximum possible value for numeric traits",
|
|
1779
|
-
"examples": [
|
|
1780
|
-
0,
|
|
1781
|
-
45.2,
|
|
1782
|
-
72.5
|
|
1783
|
-
],
|
|
1784
|
-
"type": "number",
|
|
1785
|
-
"minimum": 0
|
|
1786
1797
|
}
|
|
1787
1798
|
},
|
|
1788
1799
|
"required": [
|
|
@@ -1792,7 +1803,8 @@
|
|
|
1792
1803
|
],
|
|
1793
1804
|
"additionalProperties": false
|
|
1794
1805
|
}
|
|
1795
|
-
]
|
|
1806
|
+
],
|
|
1807
|
+
"items": false
|
|
1796
1808
|
}
|
|
1797
1809
|
},
|
|
1798
1810
|
"required": [
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "MassID NFT IPFS Record",
|
|
4
4
|
"description": "Complete MassID NFT IPFS record including fixed attributes and detailed waste tracking 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.36/schemas/ipfs/mass-id/mass-id.schema.json",
|
|
6
|
+
"version": "0.1.36",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"properties": {
|
|
9
9
|
"$schema": {
|
|
@@ -21,10 +21,24 @@
|
|
|
21
21
|
"description": "Keccak256 hash of the JSON Schema this record was validated against",
|
|
22
22
|
"examples": [
|
|
23
23
|
"ac08c3cf2e175e55961d6affdb38bc24591b84ceef7f3707c69ae3d52c148b2f",
|
|
24
|
-
"
|
|
24
|
+
"0xac08c3cf2e175e55961d6affdb38bc24591b84ceef7f3707c69ae3d52c148b2f"
|
|
25
25
|
],
|
|
26
|
-
"
|
|
27
|
-
|
|
26
|
+
"anyOf": [
|
|
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
|
+
]
|
|
28
42
|
},
|
|
29
43
|
"type": {
|
|
30
44
|
"title": "MassID Schema Type",
|
|
@@ -378,9 +392,10 @@
|
|
|
378
392
|
"title": "Municipality",
|
|
379
393
|
"description": "Municipality or city name",
|
|
380
394
|
"examples": [
|
|
381
|
-
"
|
|
395
|
+
"Macapá",
|
|
382
396
|
"São Paulo",
|
|
383
|
-
"
|
|
397
|
+
"New York",
|
|
398
|
+
"Berlin",
|
|
384
399
|
"Tokyo"
|
|
385
400
|
],
|
|
386
401
|
"type": "string",
|
|
@@ -389,20 +404,19 @@
|
|
|
389
404
|
},
|
|
390
405
|
"administrative_division": {
|
|
391
406
|
"title": "Administrative Division",
|
|
392
|
-
"description": "State, province, or administrative region",
|
|
407
|
+
"description": "State, province, or administrative region name",
|
|
393
408
|
"examples": [
|
|
409
|
+
"Amapá",
|
|
394
410
|
"California",
|
|
395
|
-
"
|
|
396
|
-
"Bavaria",
|
|
397
|
-
"Queensland"
|
|
411
|
+
"Bavaria"
|
|
398
412
|
],
|
|
399
413
|
"type": "string",
|
|
400
414
|
"minLength": 1,
|
|
401
415
|
"maxLength": 50
|
|
402
416
|
},
|
|
403
417
|
"administrative_division_code": {
|
|
404
|
-
"title": "Administrative Division Code",
|
|
405
|
-
"description": "ISO 3166-2
|
|
418
|
+
"title": "ISO Administrative Division Code",
|
|
419
|
+
"description": "Administrative division code following ISO 3166-2 standard",
|
|
406
420
|
"examples": [
|
|
407
421
|
"BR-AP",
|
|
408
422
|
"BR-ES",
|
|
@@ -415,18 +429,18 @@
|
|
|
415
429
|
"title": "Country",
|
|
416
430
|
"description": "Full country name in English",
|
|
417
431
|
"examples": [
|
|
432
|
+
"Brazil",
|
|
418
433
|
"United States",
|
|
419
|
-
"Canada",
|
|
420
434
|
"Germany",
|
|
421
|
-
"
|
|
435
|
+
"Japan"
|
|
422
436
|
],
|
|
423
437
|
"type": "string",
|
|
424
438
|
"minLength": 1,
|
|
425
439
|
"maxLength": 50
|
|
426
440
|
},
|
|
427
441
|
"country_code": {
|
|
428
|
-
"title": "Country Code",
|
|
429
|
-
"description": "ISO 3166-1 alpha-2
|
|
442
|
+
"title": "ISO Country Code",
|
|
443
|
+
"description": "Two-letter country code following ISO 3166-1 alpha-2 standard",
|
|
430
444
|
"examples": [
|
|
431
445
|
"BR",
|
|
432
446
|
"US",
|
|
@@ -452,7 +466,7 @@
|
|
|
452
466
|
"properties": {
|
|
453
467
|
"latitude": {
|
|
454
468
|
"title": "Latitude",
|
|
455
|
-
"description": "
|
|
469
|
+
"description": "Geographic latitude coordinate in decimal degrees with maximum 3 decimal places precision (~100m-1km accuracy for city-level, non-PII compliance)",
|
|
456
470
|
"examples": [
|
|
457
471
|
-0.02,
|
|
458
472
|
-20.38,
|
|
@@ -465,7 +479,7 @@
|
|
|
465
479
|
},
|
|
466
480
|
"longitude": {
|
|
467
481
|
"title": "Longitude",
|
|
468
|
-
"description": "
|
|
482
|
+
"description": "Geographic longitude coordinate in decimal degrees with maximum 3 decimal places precision (~100m-1km accuracy for city-level, non-PII compliance)",
|
|
469
483
|
"examples": [
|
|
470
484
|
-51.06,
|
|
471
485
|
-40.34,
|
|
@@ -477,7 +491,7 @@
|
|
|
477
491
|
"multipleOf": 0.001
|
|
478
492
|
},
|
|
479
493
|
"precision_level": {
|
|
480
|
-
"title": "Precision Level",
|
|
494
|
+
"title": "Coordinate Precision Level",
|
|
481
495
|
"description": "Level of coordinate precision",
|
|
482
496
|
"examples": [
|
|
483
497
|
"city",
|
|
@@ -503,7 +517,7 @@
|
|
|
503
517
|
},
|
|
504
518
|
"facility_type": {
|
|
505
519
|
"title": "Facility Type",
|
|
506
|
-
"description": "Type of facility
|
|
520
|
+
"description": "Type of facility in the waste management chain",
|
|
507
521
|
"examples": [
|
|
508
522
|
"Collection Point",
|
|
509
523
|
"Recycling Facility",
|
|
@@ -1281,8 +1295,6 @@
|
|
|
1281
1295
|
"additionalProperties": false
|
|
1282
1296
|
},
|
|
1283
1297
|
{
|
|
1284
|
-
"title": "Origin Country Attribute",
|
|
1285
|
-
"description": "Origin country attribute",
|
|
1286
1298
|
"type": "object",
|
|
1287
1299
|
"properties": {
|
|
1288
1300
|
"trait_type": {
|
|
@@ -1290,8 +1302,8 @@
|
|
|
1290
1302
|
"const": "Origin Country"
|
|
1291
1303
|
},
|
|
1292
1304
|
"value": {
|
|
1293
|
-
"title": "
|
|
1294
|
-
"description": "
|
|
1305
|
+
"title": "Country",
|
|
1306
|
+
"description": "Full country name in English",
|
|
1295
1307
|
"examples": [
|
|
1296
1308
|
"Brazil",
|
|
1297
1309
|
"United States",
|
|
@@ -1300,7 +1312,7 @@
|
|
|
1300
1312
|
],
|
|
1301
1313
|
"type": "string",
|
|
1302
1314
|
"minLength": 1,
|
|
1303
|
-
"maxLength":
|
|
1315
|
+
"maxLength": 50
|
|
1304
1316
|
},
|
|
1305
1317
|
"display_type": {
|
|
1306
1318
|
"title": "Display Type",
|
|
@@ -1332,8 +1344,6 @@
|
|
|
1332
1344
|
"additionalProperties": false
|
|
1333
1345
|
},
|
|
1334
1346
|
{
|
|
1335
|
-
"title": "Origin Municipality Attribute",
|
|
1336
|
-
"description": "Origin municipality attribute",
|
|
1337
1347
|
"type": "object",
|
|
1338
1348
|
"properties": {
|
|
1339
1349
|
"trait_type": {
|
|
@@ -1341,9 +1351,10 @@
|
|
|
1341
1351
|
"const": "Origin Municipality"
|
|
1342
1352
|
},
|
|
1343
1353
|
"value": {
|
|
1344
|
-
"title": "
|
|
1345
|
-
"description": "Municipality
|
|
1354
|
+
"title": "Municipality",
|
|
1355
|
+
"description": "Municipality or city name",
|
|
1346
1356
|
"examples": [
|
|
1357
|
+
"Macapá",
|
|
1347
1358
|
"São Paulo",
|
|
1348
1359
|
"New York",
|
|
1349
1360
|
"Berlin",
|
|
@@ -1351,7 +1362,7 @@
|
|
|
1351
1362
|
],
|
|
1352
1363
|
"type": "string",
|
|
1353
1364
|
"minLength": 1,
|
|
1354
|
-
"maxLength":
|
|
1365
|
+
"maxLength": 50
|
|
1355
1366
|
},
|
|
1356
1367
|
"display_type": {
|
|
1357
1368
|
"title": "Display Type",
|
|
@@ -1392,16 +1403,16 @@
|
|
|
1392
1403
|
"const": "Origin Administrative Division"
|
|
1393
1404
|
},
|
|
1394
1405
|
"value": {
|
|
1395
|
-
"title": "
|
|
1396
|
-
"description": "
|
|
1406
|
+
"title": "Administrative Division",
|
|
1407
|
+
"description": "State, province, or administrative region name",
|
|
1397
1408
|
"examples": [
|
|
1398
|
-
"
|
|
1409
|
+
"Amapá",
|
|
1399
1410
|
"California",
|
|
1400
1411
|
"Bavaria"
|
|
1401
1412
|
],
|
|
1402
1413
|
"type": "string",
|
|
1403
1414
|
"minLength": 1,
|
|
1404
|
-
"maxLength":
|
|
1415
|
+
"maxLength": 50
|
|
1405
1416
|
},
|
|
1406
1417
|
"display_type": {
|
|
1407
1418
|
"title": "Display Type",
|
|
@@ -1442,7 +1453,7 @@
|
|
|
1442
1453
|
"const": "Vehicle Type"
|
|
1443
1454
|
},
|
|
1444
1455
|
"value": {
|
|
1445
|
-
"title": "Vehicle Type
|
|
1456
|
+
"title": "Vehicle Type",
|
|
1446
1457
|
"description": "Type of vehicle used for waste transportation",
|
|
1447
1458
|
"examples": [
|
|
1448
1459
|
"Garbage Truck",
|
|
@@ -1493,7 +1504,7 @@
|
|
|
1493
1504
|
"const": "Recycling Method"
|
|
1494
1505
|
},
|
|
1495
1506
|
"value": {
|
|
1496
|
-
"title": "Recycling Method
|
|
1507
|
+
"title": "Recycling Method",
|
|
1497
1508
|
"description": "Method used for recycling or processing the waste",
|
|
1498
1509
|
"examples": [
|
|
1499
1510
|
"Composting",
|
|
@@ -1600,7 +1611,7 @@
|
|
|
1600
1611
|
"const": "Local Waste Classification ID"
|
|
1601
1612
|
},
|
|
1602
1613
|
"value": {
|
|
1603
|
-
"title": "Local Waste Classification ID
|
|
1614
|
+
"title": "Local Waste Classification ID",
|
|
1604
1615
|
"description": "Local or regional waste classification identifier",
|
|
1605
1616
|
"examples": [
|
|
1606
1617
|
"04 02 20",
|
|
@@ -1650,7 +1661,7 @@
|
|
|
1650
1661
|
"const": "Recycling Manifest Code"
|
|
1651
1662
|
},
|
|
1652
1663
|
"value": {
|
|
1653
|
-
"title": "Recycling Manifest Code
|
|
1664
|
+
"title": "Recycling Manifest Code",
|
|
1654
1665
|
"description": "Concatenated recycling manifest code (Document Type + Document Number)",
|
|
1655
1666
|
"examples": [
|
|
1656
1667
|
"CDF-2353",
|
|
@@ -1700,7 +1711,7 @@
|
|
|
1700
1711
|
"const": "Transport Manifest Code"
|
|
1701
1712
|
},
|
|
1702
1713
|
"value": {
|
|
1703
|
-
"title": "Transport Manifest Code
|
|
1714
|
+
"title": "Transport Manifest Code",
|
|
1704
1715
|
"description": "Concatenated transport manifest code (Document Type + Document Number)",
|
|
1705
1716
|
"examples": [
|
|
1706
1717
|
"MTR-4126",
|
|
@@ -1750,7 +1761,7 @@
|
|
|
1750
1761
|
"const": "Weighing Capture Method"
|
|
1751
1762
|
},
|
|
1752
1763
|
"value": {
|
|
1753
|
-
"title": "Weighing Capture Method
|
|
1764
|
+
"title": "Weighing Capture Method",
|
|
1754
1765
|
"description": "Method used to capture weight data",
|
|
1755
1766
|
"examples": [
|
|
1756
1767
|
"Digital",
|
|
@@ -1801,7 +1812,7 @@
|
|
|
1801
1812
|
"const": "Scale Type"
|
|
1802
1813
|
},
|
|
1803
1814
|
"value": {
|
|
1804
|
-
"title": "Scale Type
|
|
1815
|
+
"title": "Scale Type",
|
|
1805
1816
|
"description": "Type of scale used for weighing",
|
|
1806
1817
|
"examples": [
|
|
1807
1818
|
"Weighbridge (Truck Scale)",
|
|
@@ -1852,7 +1863,7 @@
|
|
|
1852
1863
|
"const": "Container Type"
|
|
1853
1864
|
},
|
|
1854
1865
|
"value": {
|
|
1855
|
-
"title": "Container Type
|
|
1866
|
+
"title": "Container Type",
|
|
1856
1867
|
"description": "Type of container used for waste storage or transport",
|
|
1857
1868
|
"examples": [
|
|
1858
1869
|
"Truck",
|
|
@@ -1904,7 +1915,7 @@
|
|
|
1904
1915
|
"const": "Pick-up Date"
|
|
1905
1916
|
},
|
|
1906
1917
|
"value": {
|
|
1907
|
-
"title": "Pick-up Date
|
|
1918
|
+
"title": "Pick-up Date",
|
|
1908
1919
|
"description": "Unix timestamp in milliseconds when the waste was picked up from the source",
|
|
1909
1920
|
"examples": [
|
|
1910
1921
|
1710518400000,
|
|
@@ -1948,7 +1959,7 @@
|
|
|
1948
1959
|
"const": "Recycling Date"
|
|
1949
1960
|
},
|
|
1950
1961
|
"value": {
|
|
1951
|
-
"title": "Recycling Date
|
|
1962
|
+
"title": "Recycling Date",
|
|
1952
1963
|
"description": "Unix timestamp in milliseconds when the waste was recycled/processed",
|
|
1953
1964
|
"examples": [
|
|
1954
1965
|
1710604800000,
|