/
Profile-Schema.json
53 lines (53 loc) · 1.99 KB
/
Profile-Schema.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
{
"title": "Trend and profile data",
"required": ["Valve", "Instrument"],
"type": "object",
"properties": {
"Valve": {
"required": [ "BrowsePath", "Description", "Command"],
"type": "object",
"properties": {
"BrowsePath": { "type": "string" },
"TagId": {"type":"string"},
"Description": { "type": "string" },
"Command": {
"description": "Device move command",
"enum": ["open", "close", "partial-stroke"],
"TriggerTimer": {
"type":"number",
"description": "Time stamp in OPC-UA DateTime"
}
}
}
},
"Instrument": {
"required": ["InstrumentId", "InstrumentDescription", "EngineeringUnits", "Samples"],
"type": "object",
"properties": {
"InstrumentDescription": { "type": "string" },
"InstrumentId": { "type": "string" },
"EURangeHigh": {"type" : "number"},
"EURangeLow": {"type" : "number"},
"EngineeringUnits": { "type": "string" },
"Samples": {
"type": "array",
"required": ["T", "V"],
"properties": {
"T": {
"description":" Time stamp in OPC-UA DateTime ",
"type":"number", "minimum": 0.0
},
"V": {
"description":"Value",
"type":"number"
},
"F": {
"description":"Fault code, fault identifier",
"type": "number"
}
}
}
}
}
}
}