---
title: "MCheck"
url: "https://developer-qual.migros.ch/apis/products-8/versions/00c884ba-74fc-4f15-85ef-be7612933198/schemas/MCheck"
---

> Full API specification: https://developer-qual.migros.ch/apis/products-8/versions/00c884ba-74fc-4f15-85ef-be7612933198.md

# MCheck

MCheck 2.0 information on the product. MCheck has been introduced by Migros to show the sustainability of products regarding re-traceability, biodiversity etc. to the consumers.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Products
  version: "8"
servers:
  - description: Public Kong Gateway URL
    url: https://api-qual.migros.ch
components:
  schemas:
    MCheckAnimalWelfare:
      properties:
        image:
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/Image"
        label:
          description: Translated label to use for this rating.
          example: Tierwohl
          nullable: true
          type: string
        rating:
          description: A star rating between 1 to 5.
          example: 2
          maximum: 5
          minimum: 1
          type: integer
      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
    MCheckFish:
      properties:
        image:
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/Image"
        rating:
          description: A star rating between 1 to 5.
          example: 2
          maximum: 5
          minimum: 1
          type: integer
      type: object
    MCheckPackaging:
      properties:
        rating:
          description: A star rating between 1 to 5.
          example: 2
          maximum: 5
          minimum: 1
          type: integer
      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
    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
    MCheck:
      description: >-
        MCheck 2.0 information on the product.


        MCheck has been introduced by Migros to show the sustainability of
        products regarding re-traceability, biodiversity

        etc. to the consumers.
      properties:
        air_cargo_relevant:
          nullable: true
          type: boolean
        animal_welfare:
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/MCheckAnimalWelfare"
        animal_welfare_relevant:
          nullable: true
          type: boolean
        carbon_footprint:
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/MCheckCarbonFootprint"
        fish:
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/MCheckFish"
        m_check_relevant:
          nullable: true
          type: boolean
        packaging:
          nullable: true
          oneOf:
            - $ref: "#/components/schemas/MCheckPackaging"
      type: object
```
