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

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

# SensoryData

## 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:
    ProductFeature:
      allOf:
        - $ref: "#/components/schemas/Feature"
    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
    Feature:
      properties:
        category_code:
          type: string
        facet_pictogram_flag:
          nullable: true
          type: boolean
        label:
          nullable: true
          type: string
        label_code:
          description: >-
            A language-independent code to represent the feature, useful for
            programs to find specific features.


            This field has undetermined lower or uppercase. When checking for a
            specific code, ignore lower/upper case differences.
          type: string
        pop_blacklist:
          deprecated: true
          description: This feature should not be output on the POP template
          type: boolean
        pop_order:
          deprecated: true
          description: >-
            Order in which this feature should show up on POP labels, only
            present if popWhitelist is true.


            The sort order is ascending, low number means the feature should
            come early.
          nullable: true
          type: integer
        pop_pictogram:
          deprecated: true
          description: If the image for this feature should be output on the POP template
          type: boolean
        pop_whitelist:
          deprecated: true
          description: This feature should be output on the POP template, if we only print
            whitelisted ones.
          nullable: true
          type: boolean
        top_fact:
          description: >-
            Top fact flag.


            Top facts are features that are used to highlight the attached
            object (example, different screen or RAM sizes).
          type: boolean
        unit:
          nullable: true
          type: string
        unit_code:
          nullable: true
          type: string
        unit_symbol:
          nullable: true
          type: string
        values:
          items:
            $ref: "#/components/schemas/FeatureValue"
          nullable: true
          type: array
      required:
        - label_code
      type: object
    FeatureValue:
      properties:
        boolean_value:
          description: Value as boolean if applicable.
          nullable: true
          type: boolean
        image:
          $ref: "#/components/schemas/Image"
        numeric_value:
          description: Value as a number if applicable.
          format: float
          nullable: true
          type: number
        value:
          description: Readable and language-specific value of the feature.
          nullable: true
          type: string
        value_code:
          description: Not language-specific and better machine-processable code for lookup.
          nullable: true
          type: string
      type: object
    SensoryData:
      properties:
        features:
          items:
            $ref: "#/components/schemas/ProductFeature"
          type: array
        images:
          description: A list of images for sensory data
          items:
            $ref: "#/components/schemas/Image"
          nullable: true
          type: array
        product_id:
          type: string
      required:
        - product_id
        - features
      type: object
```
