forked from valueflows/valueflows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Quantity.js
51 lines (50 loc) · 1.36 KB
/
Quantity.js
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
module.exports = {
id: "Quantity",
type: 'object',
prefixes: {
"": "http://schema.org/",
"qudt": "http://qudt.org/1.1/schema/qudt",
},
context: "qudt:QuantityValue",
description: "A quantity expresses magnitude and kind and is given by the product of a numerical value n and a unit of measure U.",
properties: {
description: {
description: "A description of the quantity.",
context: "qudt:description",
type: "string",
},
abbreviation: {
description: "An abbreviation of the quantity.",
context: "qudt:abbreviation",
type: "string",
},
symbol: {
description: "A symbol of the quantity.",
context: "qudt:symbol",
type: "string",
},
value: {
description: "The magnitude of the quantity.",
context: "qudt:numericValue",
type: "number",
},
relativeStandardUncertainty: {
description: "The relative standard uncertainty of the value.",
context: "qudt:relativeStandardUncertainty",
type: "number",
},
standardUncertainty: {
description: "The standard uncertainty of the value.",
context: "qudt:standardUncertainty",
type: "number",
},
unit: {
description: "The unit of the quantity.",
context: "qudt:unit",
$ref: "Unit",
},
},
};
module.exports.dependencies = {
Unit: require('./Unit'),
};