---
title: "ValueWithUnit"
url: "https://developer.migros.ch/apis/quality-data-8/versions/a330cc6d-f33b-4507-8cf4-5670df44909b/schemas/ValueWithUnit"
---

> Full API specification: https://developer.migros.ch/apis/quality-data-8/versions/a330cc6d-f33b-4507-8cf4-5670df44909b.md

# ValueWithUnit

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Quality Data
  version: "8"
servers:
  - description: Public Kong Gateway URL
    url: https://api.migros.ch
components:
  schemas:
    ValueWithUnit:
      properties:
        numeric_value:
          description: Value as number for calculation or custom display.
          format: float
          nullable: true
          type: number
        unit:
          description: Unit of the value.
          nullable: true
          type: string
        value:
          description: Value as a string for display.
          nullable: true
          type: string
      type: object
```
