summaryrefslogtreecommitdiffstats
path: root/static/redfish/v1/JsonSchemas/SessionService
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2019-01-02 13:41:37 -0800
committerEd Tanous <ed.tanous@intel.com>2019-01-07 19:44:11 +0000
commit530520eae687a10f2fb03d2ce23ca4188b0e2440 (patch)
tree7ddd31fc5a534f724b08a33df8c3ddacaf754b79 /static/redfish/v1/JsonSchemas/SessionService
parentbc0bd6e0039a839576a0a674239528335be1d3aa (diff)
downloadbmcweb-530520eae687a10f2fb03d2ce23ca4188b0e2440.tar.gz
bmcweb-530520eae687a10f2fb03d2ce23ca4188b0e2440.zip
Update schema files to 2018.2
Redfish schema 2018.2 was released on September 20th, 2018. While there aren't any plans to utilize any of the new services, it makes sense to keep up to date with the latest static data. This commit was largely done automatically using the update_schemas.py script. Change-Id: Ieaa9f1ab2a47244ef201cfe9a064744d7d156745 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Diffstat (limited to 'static/redfish/v1/JsonSchemas/SessionService')
-rw-r--r--static/redfish/v1/JsonSchemas/SessionService/SessionService.json187
1 files changed, 108 insertions, 79 deletions
diff --git a/static/redfish/v1/JsonSchemas/SessionService/SessionService.json b/static/redfish/v1/JsonSchemas/SessionService/SessionService.json
index c0b20dc..488092c 100644
--- a/static/redfish/v1/JsonSchemas/SessionService/SessionService.json
+++ b/static/redfish/v1/JsonSchemas/SessionService/SessionService.json
@@ -1,133 +1,162 @@
{
- "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_2_0.json",
- "title": "#SessionService.v1_1_3.SessionService",
"$ref": "#/definitions/SessionService",
+ "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
+ "copyright": "Copyright 2014-2018 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
"definitions": {
- "SessionService": {
- "type": "object",
+ "Actions": {
+ "additionalProperties": false,
+ "description": "The available actions for this resource.",
+ "longDescription": "This type shall contain the available actions for this resource.",
"patternProperties": {
- "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
"type": [
"array",
"boolean",
+ "integer",
"number",
"null",
"object",
"string"
+ ]
+ }
+ },
+ "properties": {
+ "Oem": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/OemActions"
+ },
+ {
+ "type": "null"
+ }
],
- "description": "This property shall specify a valid odata or Redfish property."
+ "description": "This property contains the available OEM specific actions for this resource.",
+ "longDescription": "This property shall contain any additional OEM actions for this resource."
+ }
+ },
+ "type": "object"
+ },
+ "OemActions": {
+ "additionalProperties": true,
+ "description": "The available OEM specific actions for this resource.",
+ "longDescription": "This type shall contain any additional OEM actions for this resource.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
}
},
+ "properties": {},
+ "type": "object"
+ },
+ "SessionService": {
"additionalProperties": false,
+ "description": "This is the schema definition for the Session Service. It represents the properties for the service itself and has links to the actual list of sessions.",
+ "longDescription": "This resource shall be used to represent the Session Service Properties for a Redfish implementation.",
+ "patternProperties": {
+ "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
+ "description": "This property shall specify a valid odata or Redfish property.",
+ "type": [
+ "array",
+ "boolean",
+ "integer",
+ "number",
+ "null",
+ "object",
+ "string"
+ ]
+ }
+ },
"properties": {
"@odata.context": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/context"
+ },
+ "@odata.etag": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/etag"
},
"@odata.id": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/id"
},
"@odata.type": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/type"
},
- "Oem": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
- "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
- "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
- },
- "Id": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
- "readonly": true
+ "Actions": {
+ "$ref": "#/definitions/Actions",
+ "description": "The available actions for this resource.",
+ "longDescription": "The Actions property shall contain the available actions for this resource."
},
"Description": {
"anyOf": [
- {"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"},
- {"type": "null"}
+ {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
+ },
+ {
+ "type": "null"
+ }
],
"readonly": true
},
+ "Id": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
+ "readonly": true
+ },
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
"readonly": true
},
- "Status": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
+ "Oem": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
+ "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
+ "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
},
"ServiceEnabled": {
+ "description": "This indicates whether this service is enabled. If set to false, the Session Service is disabled, and new sessions cannot be created, old sessions cannot be deleted, and established sessions may continue operating.",
+ "longDescription": "The value of this property shall be a boolean indicating whether this service is enabled. If disabled, new sessions shall not be created, old sessions shall not be deleted, and established sessions may continue operating.",
+ "readonly": false,
"type": [
"boolean",
"null"
- ],
- "readonly": false,
- "description": "This indicates whether this service is enabled. If set to false, the Session Service is disabled and any attempt to access it will fail. This means new sessions cannot be created, old sessions cannot be deleted though established sessions may continue operating.",
- "longDescription": "The value of this property shall be a boolean indicating whether this service is enabled. This means new sessions cannot be created, old sessions cannot be deleted though established sessions may continue operating."
+ ]
},
"SessionTimeout": {
- "type": "number",
- "minimum": 30,
+ "description": "This is the number of seconds of inactivity that a session may have before the session service closes the session due to inactivity.",
+ "longDescription": "This property shall reference the threshold of time in seconds between requests on a specific session at which point the session service shall close the session due to inactivity. The session service shall support any value between the Validation.Minimum and Validation.Maximum.",
"maximum": 86400,
- "units": "s",
+ "minimum": 30,
"readonly": false,
- "description": "This is the number of seconds of inactivity that a session may have before the session service closes the session due to inactivity.",
- "longDescription": "This property shall reference the threshold of time in seconds between requests on a specific session at which point the session service shall close the session due to inactivity. The session service shall support any value between the Validation.Minimum and Validation.Maximum."
+ "type": "integer",
+ "units": "s"
},
"Sessions": {
"$ref": "http://redfish.dmtf.org/schemas/v1/SessionCollection.json#/definitions/SessionCollection",
- "readonly": true,
"description": "Link to a collection of Sessions.",
- "longDescription": "This property shall contain the link to a collection of Sessions."
+ "longDescription": "This property shall contain the link to a collection of Sessions.",
+ "readonly": true
},
- "Actions": {
- "type": "object",
- "patternProperties": {
- "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
- "type": [
- "array",
- "boolean",
- "number",
- "null",
- "object",
- "string"
- ],
- "description": "This property shall specify a valid odata or Redfish property."
- }
- },
- "additionalProperties": false,
- "properties": {
- "Oem": {
- "type": [
- "object",
- "null"
- ],
- "patternProperties": {
- "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
- "type": [
- "array",
- "boolean",
- "number",
- "null",
- "object",
- "string"
- ],
- "description": "This property shall specify a valid odata or Redfish property."
- }
- },
- "additionalProperties": true,
- "properties": {},
- "description": "The available OEM specific actions for this resource.",
- "longDescription": "This type shall contain any additional OEM actions for this resource."
- }
- },
- "longDescription": "This type shall contain the available actions for this resource.",
- "description": "The Actions object contains the available custom actions on this resource."
+ "Status": {
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
+ "description": "This property describes the status and health of the resource and its children.",
+ "longDescription": "This property shall contain any status or health properties of the resource."
}
},
"required": [
+ "@odata.id",
+ "@odata.type",
"Id",
"Name"
],
- "description": "This is the schema definition for the Session Service. It represents the properties for the service itself and has links to the actual list of sessions.",
- "longDescription": "This resource shall be used to represent the Session Service Properties for a Redfish implementation."
+ "type": "object"
}
},
- "copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright"
-}
+ "owningEntity": "DMTF",
+ "title": "#SessionService.v1_1_4.SessionService"
+} \ No newline at end of file
OpenPOWER on IntegriCloud