Skip to content
HALOWERK

Klimawerk

ghg factor vintage mismatches

Return activity records outside declared factor validity years or geography.

POST https://klima.halowerk.com/v1/ghg-factor-vintage-mismatches

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
recordsarrayYes
factorsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "records": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "activity": {
            "$ref": "#/$defs/s0"
          },
          "year": {
            "$ref": "#/$defs/s1"
          },
          "region": {
            "$ref": "#/$defs/s0"
          },
          "factor": {
            "$ref": "#/$defs/s0"
          }
        },
        "required": [
          "activity",
          "year",
          "region",
          "factor"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 0
    },
    "factors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/$defs/s0"
          },
          "from_year": {
            "$ref": "#/$defs/s1"
          },
          "to_year": {
            "$ref": "#/$defs/s1"
          },
          "region": {
            "$ref": "#/$defs/s0"
          }
        },
        "required": [
          "id",
          "from_year",
          "to_year",
          "region"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 0
    }
  },
  "required": [
    "records",
    "factors"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w3:G3:input",
  "$defs": {
    "s0": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1
    },
    "s1": {
      "type": "integer",
      "minimum": 1900,
      "maximum": 2200
    }
  }
}

Open original schema

Published input example

{
  "records": [
    {
      "activity": "grid-purchase",
      "year": 2024,
      "region": "DE",
      "factor": "grid-DE-2023"
    }
  ],
  "factors": [
    {
      "id": "grid-DE-2023",
      "from_year": 2023,
      "to_year": 2023,
      "region": "DE"
    }
  ]
}

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