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>
diff --git a/static/redfish/v1/JsonSchemas/AccountService/AccountService.json b/static/redfish/v1/JsonSchemas/AccountService/AccountService.json
index 72a708b..f41ca633 100644
--- a/static/redfish/v1/JsonSchemas/AccountService/AccountService.json
+++ b/static/redfish/v1/JsonSchemas/AccountService/AccountService.json
@@ -1,7 +1,7 @@
{
"$ref": "#/definitions/AccountService",
- "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_4_0.json",
- "copyright": "Copyright 2014-2018 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
+ "$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": {
"AccountProviderTypes": {
"enum": [
@@ -33,6 +33,7 @@
"type": [
"array",
"boolean",
+ "integer",
"number",
"null",
"object",
@@ -42,23 +43,23 @@
},
"properties": {
"@odata.context": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_2.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_2.json#/definitions/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.v4_0_2.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.v4_0_2.json#/definitions/type"
+ "$ref": "http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.json#/definitions/type"
},
"AccountLockoutCounterResetAfter": {
"description": "The interval of time in seconds between the last failed login attempt and reset of the lockout threshold counter. This value must be less than or equal to AccountLockoutDuration. Reset sets the counter to zero.",
"longDescription": "This property shall reference the threshold of time in seconds from the last failed login attempt at which point the AccountLockoutThreshold counter (that counts number of failed login attempts) is reset back to zero (at which point AccountLockoutThreshold failures would be required before the account is locked). This value shall be less than or equal to AccountLockoutDuration. The threshold counter also resets to zero after each successful login.",
"minimum": 0,
"readonly": false,
- "type": "number",
+ "type": "integer",
"units": "s"
},
"AccountLockoutDuration": {
@@ -67,7 +68,7 @@
"minimum": 0,
"readonly": false,
"type": [
- "number",
+ "integer",
"null"
],
"units": "s"
@@ -78,7 +79,7 @@
"minimum": 0,
"readonly": false,
"type": [
- "number",
+ "integer",
"null"
]
},
@@ -109,7 +110,7 @@
"longDescription": "This property shall reference the threshold for when an authorization failure is logged. This represents a modulo function value, thus the failure shall be logged every nth occurrence where n represents the value of this property.",
"minimum": 0,
"readonly": false,
- "type": "number"
+ "type": "integer"
},
"Description": {
"anyOf": [
@@ -142,14 +143,14 @@
"longDescription": "This property shall reference the maximum password length that the implementation will allow a password to be set to.",
"minimum": 0,
"readonly": true,
- "type": "number"
+ "type": "integer"
},
"MinPasswordLength": {
"description": "The minimum password length for this service.",
"longDescription": "This property shall reference the minimum password length that the implementation will allow a password to be set to.",
"minimum": 0,
"readonly": true,
- "type": "number"
+ "type": "integer"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
@@ -182,10 +183,14 @@
]
},
"Status": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/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"
],
@@ -201,6 +206,7 @@
"type": [
"array",
"boolean",
+ "integer",
"number",
"null",
"object",
@@ -210,7 +216,9 @@
},
"properties": {
"Oem": {
- "$ref": "#/definitions/OemActions"
+ "$ref": "#/definitions/OemActions",
+ "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"
@@ -225,6 +233,7 @@
"type": [
"array",
"boolean",
+ "integer",
"number",
"null",
"object",
@@ -256,7 +265,9 @@
]
},
"Oem": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem"
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
+ "description": "Oem extension object.",
+ "longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
},
"Password": {
"description": "This property is used with a PATCH or PUT to write the password for the account service. This property is null on a GET.",
@@ -310,6 +321,7 @@
"type": [
"array",
"boolean",
+ "integer",
"number",
"null",
"object",
@@ -404,6 +416,7 @@
"type": [
"array",
"boolean",
+ "integer",
"number",
"null",
"object",
@@ -464,6 +477,7 @@
"type": [
"array",
"boolean",
+ "integer",
"number",
"null",
"object",
@@ -473,7 +487,9 @@
},
"properties": {
"Oem": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem"
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
+ "description": "Oem extension object.",
+ "longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
},
"SearchSettings": {
"anyOf": [
@@ -518,6 +534,7 @@
"type": [
"array",
"boolean",
+ "integer",
"number",
"null",
"object",
@@ -538,6 +555,7 @@
"type": [
"array",
"boolean",
+ "integer",
"number",
"null",
"object",
@@ -556,7 +574,9 @@
]
},
"Oem": {
- "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem"
+ "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
+ "description": "Oem extension object.",
+ "longDescription": "This object represents the Oem property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."
},
"RemoteGroup": {
"description": "This property is the name of the remote group (or in the case of a Redfish Service, remote role) that will be mapped to the local role referenced by this entity.",
@@ -581,5 +601,5 @@
}
},
"owningEntity": "DMTF",
- "title": "#AccountService.v1_3_0.AccountService"
+ "title": "#AccountService.v1_3_1.AccountService"
}
\ No newline at end of file