Skip to content
HALOWERK

Klimawerk

ghg allocation mass economic split

Return co-product emissions allocated by supplied product mass and economic value.

POST https://klima.halowerk.com/v1/ghg-allocation-mass-economic-split

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
total_kg_co2eReferenceYes
productsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "total_kg_co2e": {
      "$ref": "#/$defs/s0"
    },
    "products": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "mass_kg": {
            "$ref": "#/$defs/s0"
          },
          "value": {
            "$ref": "#/$defs/s0"
          }
        },
        "required": [
          "id",
          "mass_kg",
          "value"
        ],
        "additionalProperties": false
      },
      "maxItems": 50,
      "minItems": 1
    }
  },
  "required": [
    "total_kg_co2e",
    "products"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w3:G1:input",
  "$defs": {
    "s0": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000000000
    }
  }
}

Open original schema

Published input example

{
  "total_kg_co2e": 100,
  "products": [
    {
      "id": "main-product",
      "mass_kg": 3,
      "value": 1
    },
    {
      "id": "co-product",
      "mass_kg": 1,
      "value": 3
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’