The UnitValue describes a combination of value and the related unit. These kind of representation helps to compare different values with the same unit or to convert different units.


– For every numeric value belonging to a concrete unit.

Not use

– For not numeric values.
– For values without unit.

Data Model

Name Type M M2 Description Example
value Number X A value belonging to a concrete unit and a special record.
unit String X The unit for the recorded value.
valueText String X X In case of inseparability of value and unit and for representation.


If a value is not recorded in a structured way, only the valueText is used. Else the value and unit is recorded and the combination of both is recorded in the valueText.


“id”: “/core/UnitValue”,
“$schema”: “http://json-schema.org/draft-04/schema#”,
“type”: “object”,
“properties”: {
“value”: {
“type”: “number”
“unit”: {
“type”: “string”
“valueText”: {
“type”: “string”
“required”: [
“additionalProperties”: false