-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathonem2m.m.3Dprinter.json
More file actions
96 lines (96 loc) · 2.82 KB
/
onem2m.m.3Dprinter.json
File metadata and controls
96 lines (96 loc) · 2.82 KB
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
{
"id": "http://openinterconnect.org/onem2mmapping/schemas/onem2m.m.3Dprinter.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description" : "Copyright (c) 2018 Open Connectivity Foundation, Inc. All rights reserved.",
"title": "3D Printer",
"definitions": {
"onem2m.m.3Dprinter": {
"type": "object",
"properties": {
"printType": {
"type": "string",
"description": "3D Printer Type",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.3dprinter",
"x-to-ocf": [
"oic.r.3dprinter.3dprinttype = printType"
],
"x-from-ocf": [
"printType = oic.r.3dprinter.3dprintype"
]
}
},
"printSizeX": {
"type": "number",
"description": "Print Size X",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.3dprinter",
"x-to-ocf": [
"oic.r.3dprinter.printsizex = printSizeX"
],
"x-from-ocf": [
"printSizeX = oic.r.3dprinter.printsizex"
]
}
},
"printSizeY": {
"type": "number",
"description": "Print Size Y",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.3dprinter",
"x-to-ocf": [
"oic.r.3dprinter.printsizey = printSizeY"
],
"x-from-ocf": [
"printSizeY = oic.r.3dprinter.printsizey"
]
}
},
"printSizeZ": {
"type": "number",
"description": "Print Size Z",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.3dprinter",
"x-to-ocf": [
"oic.r.3dprinter.printsizez = printSizeZ"
],
"x-from-ocf": [
"printSizeZ = oic.r.3dprinter.printsizez"
]
}
},
"network": {
"type": "boolean",
"description": "WAN Connected",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.3dprinter",
"x-to-ocf": [
"oic.r.3dprinter.wanconnected = network"
],
"x-from-ocf": [
"network = oic.r.3dprinter.wanconnected"
]
}
},
"memorySize": {
"type": "number",
"description": "Memory Size",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.3dprinter",
"x-to-ocf": [
"oic.r.3dprinter.memorysize = memorySize"
],
"x-from-ocf": [
"memorySize = oic.r.3dprinter.memorysize"
]
}
}
}
}
},
"type": "object",
"allOf": [
{"$ref": "#/definitions/onem2m.m.3Dprinter"}
],
"required": [ "printType", "printSizeX", "printSizeY", "printSizeZ", "network", "memorySize" ]
}