-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.json
118 lines (118 loc) · 4.2 KB
/
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://industry-fusion.org/eclass#0173-1#01-AKJ975#017",
"title": "Cutter",
"description": "Cutter template for IFF",
"type": "object",
"properties": {
"type": {
"const": "eclass:0173-1#01-AKJ975#017"
}
},
"required": ["type"],
"allOf": [
{
"$ref": "https://industry-fusion.org/base-objects/v0.1/operation-conditions-runtime"
},
{
"$ref": "https://industry-fusion.org/base-objects/v0.1/cutter/relationships"
}
]
},
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://industry-fusion.org/base-objects/v0.1/cutter/relationships",
"title": "IFF template for cutter relationship",
"description": "Cutter template for IFF",
"type": "object",
"properties": {
"hasFilter": {
"relationship": "iffb:filter",
"$ref": "https://industry-fusion.org/base-objects/v0.1/link"
}
}
},
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://industry-fusion.org/base-objects/v0.1/link",
"title": "IFF template for cutter relationship",
"description": "Cutter template for IFF",
"type": "object",
"properties": {
"object": {
"type": "string",
"pattern": "^urn:[a-zA-Z0-9][a-zA-Z0-9-]{0,31}:[a-zA-Z0-9()+,\\-.:=@;$_!*']*[a-zA-Z0-9()+,\\-.:=@;$_!*']$"
}
},
"required": ["object"]
},
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://industry-fusion.org/base-objects/v0.1/operation-conditions-runtime",
"title": "Operations Conditions",
"description": "Operations Conditions Runtime",
"type": "object",
"properties": {
"machine_state": {
"type": "string",
"title": "Machine Status",
"description": "Current status of the machine (Online_Idle, Run, Online_Error, Online_Maintenance, Setup, Testing)",
"enum": [
"Online_Idle",
"Run",
"Online_Error",
"Online_Maintenance",
"Setup",
"Testing"
]
},
"machine_state_from_smartbox": {
"type": "string",
"title": "Machine Status from Smartbox",
"description": "Current status of the machine according to smartbox (Offline_Idle, Offline_Error, Offline_Maintenance)",
"enum": [
"Offline_Idle",
"Offline_Error",
"Offline_Maintenance"
]
},
"ambient_operating_temperature": {
"type": "number",
"title": "Ambient operating temperature",
"description": "Temperature in °C",
"unit": "°C"
},
"relative_humidity": {
"type": "number",
"title": "Relative humidity",
"description": "Humidity in percentage",
"unit": "%"
},
"atmospheric_pressure": {
"type": "number",
"title": "Atmospheric pressure",
"description": "Pressure in mbar",
"unit": "mbar"
},
"dustiness": {
"type": "number",
"title": "Dust Density",
"description": "Dust density in mg/m³",
"unit": "mg/m³"
},
"eclass:0173-1#02-AAH880#003": {
"type": "string",
"datatype": "xsd:double",
"title": "min. cutting current",
"description": "specification of the minimum cutting current",
"unit": "A"
}
},
"required": [
"machine_state",
"machine_state_from_smartbox",
"eclass:0173-1#02-AAH880#003"
]
}
]