Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/SerialInterface.v1_1_5.json", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 3 | "$ref": "#/definitions/SerialInterface", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 4 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 5 | "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 6 | "definitions": { |
| 7 | "Actions": { |
| 8 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 9 | "description": "The available actions for this Resource.", |
| 10 | "longDescription": "This type shall contain the available actions for this Resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 11 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 12 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 13 | "description": "This property shall specify a valid odata or Redfish property.", |
| 14 | "type": [ |
| 15 | "array", |
| 16 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 17 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 18 | "number", |
| 19 | "null", |
| 20 | "object", |
| 21 | "string" |
| 22 | ] |
| 23 | } |
| 24 | }, |
| 25 | "properties": { |
| 26 | "Oem": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 27 | "$ref": "#/definitions/OemActions", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 28 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 31 | } |
| 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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 93 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 97 | }, |
| 98 | "type": "string" |
| 99 | }, |
| 100 | "FlowControl": { |
| 101 | "enum": [ |
| 102 | "None", |
| 103 | "Software", |
| 104 | "Hardware" |
| 105 | ], |
| 106 | "enumDescriptions": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 107 | "Hardware": "Out-of-band flow control imposed.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 108 | "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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 115 | "description": "The available OEM-specific actions for this Resource.", |
| 116 | "longDescription": "This type shall contain the available OEM-specific actions for this Resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 117 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 118 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 119 | "description": "This property shall specify a valid odata or Redfish property.", |
| 120 | "type": [ |
| 121 | "array", |
| 122 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 123 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 124 | "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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 158 | "Cisco": "The Cisco pinout configuration.", |
| 159 | "Cyclades": "The Cyclades pinout configuration.", |
| 160 | "Digi": "The Digi pinout configuration." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 161 | }, |
| 162 | "type": "string" |
| 163 | }, |
| 164 | "SerialInterface": { |
| 165 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 166 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 168 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 169 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 170 | "description": "This property shall specify a valid odata or Redfish property.", |
| 171 | "type": [ |
| 172 | "array", |
| 173 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 174 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 175 | "number", |
| 176 | "null", |
| 177 | "object", |
| 178 | "string" |
| 179 | ] |
| 180 | } |
| 181 | }, |
| 182 | "properties": { |
| 183 | "@odata.context": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 184 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 185 | }, |
| 186 | "@odata.etag": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 187 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 188 | }, |
| 189 | "@odata.id": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 190 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 191 | }, |
| 192 | "@odata.type": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 193 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 194 | }, |
| 195 | "Actions": { |
| 196 | "$ref": "#/definitions/Actions", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 197 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 200 | }, |
| 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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 210 | "longDescription": "This property shall indicate the type of physical connector used for this serial connection.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 211 | "readonly": true |
| 212 | }, |
| 213 | "DataBits": { |
| 214 | "$ref": "#/definitions/DataBits", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 215 | "description": "The number of data bits that follow the start bit over the serial connection.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 216 | "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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 232 | "description": "The type of flow control, if any, that is imposed on the serial connection.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 233 | "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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 241 | "description": "An indication of whether this interface is enabled.", |
| 242 | "longDescription": "This property shall indicate whether this interface is enabled.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 243 | "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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 255 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 257 | }, |
| 258 | "Parity": { |
| 259 | "$ref": "#/definitions/Parity", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 260 | "description": "The type of parity used by the sender and receiver to detect errors over the serial connection.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 261 | "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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 273 | "description": "The physical pinout configuration for a serial connector.", |
| 274 | "longDescription": "This property shall indicate the physical pinout for the serial connector.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 275 | "readonly": true |
| 276 | }, |
| 277 | "SignalType": { |
| 278 | "$ref": "#/definitions/SignalType", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 279 | "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 Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 281 | "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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 291 | "@odata.id", |
| 292 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 293 | "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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 315 | "1": "One stop bit following the data bits.", |
| 316 | "2": "Two stop bits following the data bits." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 317 | }, |
| 318 | "type": "string" |
| 319 | } |
| 320 | }, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 321 | "owningEntity": "DMTF", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 322 | "release": "2017.1", |
| 323 | "title": "#SerialInterface.v1_1_5.SerialInterface" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 324 | } |