-
Notifications
You must be signed in to change notification settings - Fork 1
/
OMF-Types.json
75 lines (75 loc) · 1.93 KB
/
OMF-Types.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[
{
"id": "FirstDynamicType",
"name": "First dynamic type",
"classification": "dynamic",
"type": "object",
"description": "This is the first dynamic type",
"properties": {
"Timestamp": {
"format": "date-time",
"type": "string",
"isindex": true,
"description": "Timestamp property as index"
},
"IntegerProperty": {
"type": "integer",
"description": "PI point data referenced integer attribute",
"uom": "count"
}
}
},
{
"id": "SecondDynamicType",
"name": "Second dynamic type",
"classification": "dynamic",
"type": "object",
"description": "This is the second dynamic type",
"properties": {
"Timestamp": {
"format": "date-time",
"type": "string",
"isindex": true,
"description": "Timestamp property as index"
},
"NumberProperty1": {
"type": "number",
"description": "PI point data referenced number attribute 1",
"format": "float64",
"uom": "%"
},
"NumberProperty2": {
"type": "number",
"description": "PI point data referenced number attribute 2",
"format": "float64",
"uom": "V"
},
"StringEnum": {
"type": "string",
"enum": [ "False", "True" ],
"description": "String enumeration to replace boolean type"
}
}
},
{
"id": "ThirdDynamicType",
"name": "Third dynamic type",
"classification": "dynamic",
"type": "object",
"description": "This is the third dynamic type",
"properties": {
"Timestamp": {
"format": "date-time",
"type": "string",
"isindex": true,
"description": "Timestamp property as index"
},
"IntegerEnum": {
"type": "integer",
"format": "int16",
"enum": [ 0, 1 ],
"description": "Integer enumeration to replace boolean type"
}
}
}
]