---
title: "MCheckCarbonFootprint"
url: "https://developer.migros.ch/apis/products-related-8/versions/605be1d6-ffb8-4b27-8cd0-286a81eaec29/schemas/MCheckCarbonFootprint"
---

> Full API specification: https://developer.migros.ch/apis/products-related-8/versions/605be1d6-ffb8-4b27-8cd0-286a81eaec29.md

# MCheckCarbonFootprint

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Products Related
  version: "8"
servers:
  - description: Public Kong Gateway URL
    url: https://api.migros.ch
components:
  schemas:
    MCheckCargoCarbonFootprint:
      properties:
        co2_in_car_km:
          description: |-
            Calculated value to illustrate the CO2 consumption.
            Value is expressed in kilometers.
          example: 42
          nullable: true
          type: integer
        kg_co2:
          example: 7.6
          format: float
          type: number
        kg_co2_range:
          description: The CO2 value is just an approximation. Customers should only be
            shown the range, not the "exact" value.
          example: 6.0 - 14.8 kg CO2/kg
          nullable: true
          type: string
        packaging_in_percent:
          format: float
          nullable: true
          type: number
        production_in_percent:
          format: float
          nullable: true
          type: number
        rating:
          description: A star rating between 1 to 5 based on the kg CO2.
          example: 3
          maximum: 5
          minimum: 1
          type: integer
        transport_in_percent:
          format: float
          nullable: true
          type: number
      required:
        - kg_co2
        - rating
      type: object
    Image:
      description: An image and its properties.
      properties:
        code:
          deprecated: true
          description: Code for the image, useful for pictograms.
          nullable: true
          type: string
        custom:
          deprecated: true
          description: Image URL with placeholders for {width} and {height}.
          type: string
        description:
          deprecated: true
          description: Image description, useful for example as alt attribute.
          nullable: true
          type: string
        end_date:
          deprecated: true
          description: End date of the validity.
          format: date-time
          nullable: true
          type: string
        hash:
          deprecated: true
          description: Sha1 hash of original image.
          nullable: true
          type: string
        original:
          deprecated: true
          description: Full size image.
          type: string
        source:
          deprecated: true
          description: Source where the image comes from originally.
          nullable: true
          type: string
        stack:
          deprecated: true
          description: Image URL with a placeholder for a Rokka {stack}.
          type: string
        start_date:
          deprecated: true
          description: Start date of the validity.
          format: date-time
          nullable: true
          type: string
        tags:
          deprecated: true
          items:
            type: string
          type: array
      type: object
    MCheckCarbonFootprint:
      properties:
        air_cargo:
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/MCheckCargoCarbonFootprint"
        ground_and_sea_cargo:
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/MCheckCargoCarbonFootprint"
        image:
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/Image"
      type: object
```
