Skip to content
HALOWERK

Klimawerk

ghg inventory unit dimension audit

Return valid factor-unit conversions and incompatible emissions-inventory rows.

POST https://klima.halowerk.com/v1/ghg-inventory-unit-dimension-audit

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
rowsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "quantity": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000000
          },
          "unit": {
            "enum": [
              "kWh",
              "MWh",
              "kg",
              "t",
              "km",
              "passenger_km"
            ]
          },
          "factor": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000000
          },
          "factor_per": {
            "enum": [
              "kWh",
              "MWh",
              "kg",
              "t",
              "km",
              "passenger_km"
            ]
          }
        },
        "required": [
          "quantity",
          "unit",
          "factor",
          "factor_per"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "rows"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "rows": [
    {
      "quantity": 1,
      "unit": "MWh",
      "factor": 0.4,
      "factor_per": "kWh"
    },
    {
      "quantity": 1,
      "unit": "kg",
      "factor": 2,
      "factor_per": "km"
    }
  ]
}

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 โ†’