blob: 6a9607070e751bee4f7449b49566d883f54713c0 [file] [log] [blame]
Ed Tanous118b1c72018-09-13 13:45:51 -07001{
Ed Tanouscb103132019-10-08 11:34:22 -07002 "$id": "http://redfish.dmtf.org/schemas/v1/SerialInterface.v1_1_5.json",
Ed Tanous118b1c72018-09-13 13:45:51 -07003 "$ref": "#/definitions/SerialInterface",
Ed Tanous530520e2019-01-02 13:41:37 -08004 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
Ed Tanouscb103132019-10-08 11:34:22 -07005 "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
Ed Tanous118b1c72018-09-13 13:45:51 -07006 "definitions": {
7 "Actions": {
8 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -07009 "description": "The available actions for this Resource.",
10 "longDescription": "This type shall contain the available actions for this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -070011 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -070012 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -070013 "description": "This property shall specify a valid odata or Redfish property.",
14 "type": [
15 "array",
16 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -080017 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -070018 "number",
19 "null",
20 "object",
21 "string"
22 ]
23 }
24 },
25 "properties": {
26 "Oem": {
Ed Tanous530520e2019-01-02 13:41:37 -080027 "$ref": "#/definitions/OemActions",
Ed Tanouscb103132019-10-08 11:34:22 -070028 "description": "The available OEM-specific actions for this Resource.",
29 "longDescription": "This property shall contain the available OEM-specific actions for this Resource.",
30 "versionAdded": "v1_1_0"
Ed Tanous118b1c72018-09-13 13:45:51 -070031 }
32 },
33 "type": "object"
34 },
35 "BitRate": {
36 "enum": [
37 "1200",
38 "2400",
39 "4800",
40 "9600",
41 "19200",
42 "38400",
43 "57600",
44 "115200",
45 "230400"
46 ],
47 "enumDescriptions": {
48 "115200": "A bit rate of 115200bps.",
49 "1200": "A bit rate of 1200bps.",
50 "19200": "A bit rate of 19200bps.",
51 "230400": "A bit rate of 230400bps.",
52 "2400": "A bit rate of 2400bps.",
53 "38400": "A bit rate of 38400bps.",
54 "4800": "A bit rate of 4800bps.",
55 "57600": "A bit rate of 57600bps.",
56 "9600": "A bit rate of 9600bps."
57 },
58 "type": "string"
59 },
60 "ConnectorType": {
61 "enum": [
62 "RJ45",
63 "RJ11",
64 "DB9 Female",
65 "DB9 Male",
66 "DB25 Female",
67 "DB25 Male",
68 "USB",
69 "mUSB",
70 "uUSB"
71 ],
72 "enumDescriptions": {
73 "DB25 Female": "A DB25 Female connector.",
74 "DB25 Male": "A DB25 Male connector.",
75 "DB9 Female": "A DB9 Female connector.",
76 "DB9 Male": "A DB9 Male connector.",
77 "RJ11": "An RJ11 connector.",
78 "RJ45": "An RJ45 connector.",
79 "USB": "A USB connector.",
80 "mUSB": "A mUSB connector.",
81 "uUSB": "A uUSB connector."
82 },
83 "type": "string"
84 },
85 "DataBits": {
86 "enum": [
87 "5",
88 "6",
89 "7",
90 "8"
91 ],
92 "enumDescriptions": {
Ed Tanouscb103132019-10-08 11:34:22 -070093 "5": "Five bits of data following the start bit.",
94 "6": "Six bits of data following the start bit.",
95 "7": "Seven bits of data following the start bit.",
96 "8": "Eight bits of data following the start bit."
Ed Tanous118b1c72018-09-13 13:45:51 -070097 },
98 "type": "string"
99 },
100 "FlowControl": {
101 "enum": [
102 "None",
103 "Software",
104 "Hardware"
105 ],
106 "enumDescriptions": {
Ed Tanouscb103132019-10-08 11:34:22 -0700107 "Hardware": "Out-of-band flow control imposed.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700108 "None": "No flow control imposed.",
109 "Software": "XON/XOFF in-band flow control imposed."
110 },
111 "type": "string"
112 },
113 "OemActions": {
114 "additionalProperties": true,
Ed Tanouscb103132019-10-08 11:34:22 -0700115 "description": "The available OEM-specific actions for this Resource.",
116 "longDescription": "This type shall contain the available OEM-specific actions for this Resource.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700117 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700118 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700119 "description": "This property shall specify a valid odata or Redfish property.",
120 "type": [
121 "array",
122 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800123 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700124 "number",
125 "null",
126 "object",
127 "string"
128 ]
129 }
130 },
131 "properties": {},
132 "type": "object"
133 },
134 "Parity": {
135 "enum": [
136 "None",
137 "Even",
138 "Odd",
139 "Mark",
140 "Space"
141 ],
142 "enumDescriptions": {
143 "Even": "An even parity bit.",
144 "Mark": "A mark parity bit.",
145 "None": "No parity bit.",
146 "Odd": "An odd parity bit.",
147 "Space": "A space parity bit."
148 },
149 "type": "string"
150 },
151 "PinOut": {
152 "enum": [
153 "Cisco",
154 "Cyclades",
155 "Digi"
156 ],
157 "enumDescriptions": {
Ed Tanouscb103132019-10-08 11:34:22 -0700158 "Cisco": "The Cisco pinout configuration.",
159 "Cyclades": "The Cyclades pinout configuration.",
160 "Digi": "The Digi pinout configuration."
Ed Tanous118b1c72018-09-13 13:45:51 -0700161 },
162 "type": "string"
163 },
164 "SerialInterface": {
165 "additionalProperties": false,
Ed Tanouscb103132019-10-08 11:34:22 -0700166 "description": "The SerialInterface schema describes an asynchronous serial interface, such as an RS-232 interface, available to a system or device.",
167 "longDescription": "This Resource contains SerialInterface Resources as part of the Redfish Specification.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700168 "patternProperties": {
Ed Tanouscb103132019-10-08 11:34:22 -0700169 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
Ed Tanous118b1c72018-09-13 13:45:51 -0700170 "description": "This property shall specify a valid odata or Redfish property.",
171 "type": [
172 "array",
173 "boolean",
Ed Tanous530520e2019-01-02 13:41:37 -0800174 "integer",
Ed Tanous118b1c72018-09-13 13:45:51 -0700175 "number",
176 "null",
177 "object",
178 "string"
179 ]
180 }
181 },
182 "properties": {
183 "@odata.context": {
Ed Tanouscb103132019-10-08 11:34:22 -0700184 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
Ed Tanous530520e2019-01-02 13:41:37 -0800185 },
186 "@odata.etag": {
Ed Tanouscb103132019-10-08 11:34:22 -0700187 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
Ed Tanous118b1c72018-09-13 13:45:51 -0700188 },
189 "@odata.id": {
Ed Tanouscb103132019-10-08 11:34:22 -0700190 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
Ed Tanous118b1c72018-09-13 13:45:51 -0700191 },
192 "@odata.type": {
Ed Tanouscb103132019-10-08 11:34:22 -0700193 "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
Ed Tanous118b1c72018-09-13 13:45:51 -0700194 },
195 "Actions": {
196 "$ref": "#/definitions/Actions",
Ed Tanouscb103132019-10-08 11:34:22 -0700197 "description": "The available actions for this Resource.",
198 "longDescription": "This property shall contain the available actions for this Resource.",
199 "versionAdded": "v1_1_0"
Ed Tanous118b1c72018-09-13 13:45:51 -0700200 },
201 "BitRate": {
202 "$ref": "#/definitions/BitRate",
203 "description": "The receive and transmit rate of data flow, typically in bits-per-second (bps), over the serial connection.",
204 "longDescription": "This property shall indicate the transmit and receive speed of the serial connection.",
205 "readonly": false
206 },
207 "ConnectorType": {
208 "$ref": "#/definitions/ConnectorType",
209 "description": "The type of connector used for this interface.",
Ed Tanouscb103132019-10-08 11:34:22 -0700210 "longDescription": "This property shall indicate the type of physical connector used for this serial connection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700211 "readonly": true
212 },
213 "DataBits": {
214 "$ref": "#/definitions/DataBits",
Ed Tanouscb103132019-10-08 11:34:22 -0700215 "description": "The number of data bits that follow the start bit over the serial connection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700216 "longDescription": "This property shall indicate number of data bits for the serial connection.",
217 "readonly": false
218 },
219 "Description": {
220 "anyOf": [
221 {
222 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
223 },
224 {
225 "type": "null"
226 }
227 ],
228 "readonly": true
229 },
230 "FlowControl": {
231 "$ref": "#/definitions/FlowControl",
Ed Tanouscb103132019-10-08 11:34:22 -0700232 "description": "The type of flow control, if any, that is imposed on the serial connection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700233 "longDescription": "This property shall indicate the flow control mechanism for the serial connection.",
234 "readonly": false
235 },
236 "Id": {
237 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
238 "readonly": true
239 },
240 "InterfaceEnabled": {
Ed Tanouscb103132019-10-08 11:34:22 -0700241 "description": "An indication of whether this interface is enabled.",
242 "longDescription": "This property shall indicate whether this interface is enabled.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700243 "readonly": false,
244 "type": [
245 "boolean",
246 "null"
247 ]
248 },
249 "Name": {
250 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
251 "readonly": true
252 },
253 "Oem": {
254 "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
Ed Tanouscb103132019-10-08 11:34:22 -0700255 "description": "The OEM extension property.",
256 "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
Ed Tanous118b1c72018-09-13 13:45:51 -0700257 },
258 "Parity": {
259 "$ref": "#/definitions/Parity",
Ed Tanouscb103132019-10-08 11:34:22 -0700260 "description": "The type of parity used by the sender and receiver to detect errors over the serial connection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700261 "longDescription": "This property shall indicate parity information for a serial connection.",
262 "readonly": false
263 },
264 "PinOut": {
265 "anyOf": [
266 {
267 "$ref": "#/definitions/PinOut"
268 },
269 {
270 "type": "null"
271 }
272 ],
Ed Tanouscb103132019-10-08 11:34:22 -0700273 "description": "The physical pinout configuration for a serial connector.",
274 "longDescription": "This property shall indicate the physical pinout for the serial connector.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700275 "readonly": true
276 },
277 "SignalType": {
278 "$ref": "#/definitions/SignalType",
Ed Tanouscb103132019-10-08 11:34:22 -0700279 "description": "The type of signal used for the communication connection.",
280 "longDescription": "This property shall contain the type of serial signalling in use for the serial connection.",
Ed Tanous118b1c72018-09-13 13:45:51 -0700281 "readonly": true
282 },
283 "StopBits": {
284 "$ref": "#/definitions/StopBits",
285 "description": "The period of time before the next start bit is transmitted.",
286 "longDescription": "This property shall indicate the stop bits for the serial connection.",
287 "readonly": false
288 }
289 },
290 "required": [
Ed Tanous530520e2019-01-02 13:41:37 -0800291 "@odata.id",
292 "@odata.type",
Ed Tanous118b1c72018-09-13 13:45:51 -0700293 "Id",
294 "Name"
295 ],
296 "type": "object"
297 },
298 "SignalType": {
299 "enum": [
300 "Rs232",
301 "Rs485"
302 ],
303 "enumDescriptions": {
304 "Rs232": "The serial interface follows RS232.",
305 "Rs485": "The serial interface follows RS485."
306 },
307 "type": "string"
308 },
309 "StopBits": {
310 "enum": [
311 "1",
312 "2"
313 ],
314 "enumDescriptions": {
Ed Tanouscb103132019-10-08 11:34:22 -0700315 "1": "One stop bit following the data bits.",
316 "2": "Two stop bits following the data bits."
Ed Tanous118b1c72018-09-13 13:45:51 -0700317 },
318 "type": "string"
319 }
320 },
Ed Tanous530520e2019-01-02 13:41:37 -0800321 "owningEntity": "DMTF",
Ed Tanouscb103132019-10-08 11:34:22 -0700322 "release": "2017.1",
323 "title": "#SerialInterface.v1_1_5.SerialInterface"
Ed Tanous118b1c72018-09-13 13:45:51 -0700324}