Sunitha Harish | 9dc5074 | 2020-05-11 00:10:20 -0500 | [diff] [blame^] | 1 | { |
| 2 | "$id": "http://redfish.dmtf.org/schemas/v1/OemSession.v1_0_0.json", |
| 3 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
| 4 | "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
| 5 | "definitions": { |
| 6 | "Session": { |
| 7 | "additionalProperties": false, |
| 8 | "description": "OEM Extension for Session", |
| 9 | "longDescription": "OEM Extension for Session to provide the Client details.", |
| 10 | "patternProperties": { |
| 11 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 12 | "description": "This property shall specify a valid odata or Redfish property.", |
| 13 | "type": [ |
| 14 | "array", |
| 15 | "boolean", |
| 16 | "integer", |
| 17 | "number", |
| 18 | "null", |
| 19 | "object", |
| 20 | "string" |
| 21 | ] |
| 22 | } |
| 23 | }, |
| 24 | "properties": { |
| 25 | "ClientID" : { |
| 26 | "description" : "The Id of the client creating this session.", |
| 27 | "longDescription": "This will be the unique identifier set by the client.", |
| 28 | "readonly": true, |
| 29 | "type" : "string" |
| 30 | }, |
| 31 | "ClientOriginIP" : { |
| 32 | "description": "The IP address where the Session was created from.", |
| 33 | "longDescription": "This property shall contain the IP address where the client created the session from.", |
| 34 | "readonly": true, |
| 35 | "type": "string" |
| 36 | }, |
| 37 | "type": "object" |
| 38 | } |
| 39 | } |
| 40 | }, |
| 41 | "owningEntity": "OpenBMC", |
| 42 | "release": "1.0", |
| 43 | "title": "#OemSession.v1_0_0" |
| 44 | } |
| 45 | |