forked from valueflows/valueflows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUnit.js
46 lines (45 loc) · 1.24 KB
/
Unit.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
module.exports = {
id: "Unit",
type: 'object',
prefixes: {
"": "http://schema.org/",
"qudt": "http://qudt.org/1.1/schema/qudt",
},
context: "qudt:Unit",
description: "An unit is a particular quantity of a given kind that has been chosen as a scale for measuring other quantities of the same kind.",
properties: {
description: {
description: "A description of the unit.",
context: "qudt:description",
type: "string",
},
abbreviation: {
description: "An abbreviation of the unit.",
context: "qudt:abbreviation",
type: "string",
},
symbol: {
description: "An abbreviation of the unit.",
context: "qudt:symbol",
type: "string",
},
kind: {
description: "The kind of the unit.",
context: "qudt:quantityKind",
$ref: "Kind",
},
conversionMultiplier: {
description: "A multiplier for this unit in relation to the given kind.",
context: "qudt:conversionMultiplier",
type: "number",
},
conversionOffset: {
description: "An offset for this unit in relation to the given kind.",
context: "qudt:conversionOffset",
type: "number",
},
},
};
module.exports.dependencies = {
Kind: require('./Kind'),
};