/ aeplugin_carbon / priv / aeplugin_carbon_config_schema.json
aeplugin_carbon_config_schema.json
 1  {
 2    "$schema": "http://json-schema.org/draft-04/schema#",
 3    "type": "object",
 4    "properties": {
 5      "workspace_path": {
 6        "description": "Where to store plugin-specific data",
 7        "type": "string"
 8      },
 9      "workspace_name": {
10        "description": "Name for separating different configurations. Default: ''",
11        "type": "string",
12        "default": ""
13      },
14      "attribution": {
15        "description": "Reference to the carbon attribution source",
16        "type": "object",
17        "properties": {
18          "tx_hash": {
19            "description": "Blockchain transaction hash identifying the attribution source",
20            "type": "string"
21          },
22          "network_id": {
23            "description": "Identifier of the blockchain network",
24            "type": "string"
25          },
26          "cut_kg": {
27            "description": "Amount of Carbon Units Transferred (CUT) in kilograms",
28            "type": "number",
29            "minimum": 0
30          }
31        },
32        "required": ["tx_hash", "network_id", "cut_kg"]
33      }
34    }
35  }