/
unit-value-1.0.json
31 lines (29 loc) · 1 KB
/
unit-value-1.0.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"$schema": "http://json-schema.org/draft-04/schema#",
"deprecation": {
"reason": "This schema is now deprecated, in favor of the IEEE 1752.1 schema of the same name.",
"supersededBy": "https://w3id.org/ieee/ieee-1752-schema/unit-value.json",
"date": "2024-01-30"
},
"description": "This schema represents a numerical value with a unit of measure.",
"type": "object",
"properties": {
"value": {
"description": "The numeric value of the element.",
"type": "number"
},
"unit": {
"references": [
{
"description": "The unit of measure of the element. Allowed values are drawn from the Common synonyms (non-UCUM) column of [subset of] UCUM, SI and English units. ",
"url": "http://download.hl7.de/documents/ucum/ucumdata.html"
}
],
"type": "string"
}
},
"required": [
"value",
"unit"
]
}