| { |
| "id": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_4_0", |
| "type": "object", |
| "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_4_0", |
| "title": "Redfish Schema Extension", |
| "description": "The properties defined in this schema shall adhere to the requirements of the Redfish Specification and the semantics of the descriptions in this file.", |
| "allOf": [ |
| { |
| "$ref": "http://json-schema.org/draft-04/schema" |
| } |
| ], |
| "definitions": { |
| "readonly": { |
| "type": "boolean", |
| "description": "This property shall designate a property to be readonly when set to true." |
| }, |
| "requiredOnCreate": { |
| "type": "array", |
| "items": { |
| "type": "boolean" |
| }, |
| "description": "This property is required to be specified in the body of a POST request to create the resource." |
| }, |
| "requiredParameter": { |
| "type": "boolean", |
| "description": "This property specifies that an action parameter is required to be provided by the client as part of the action request when set to true. Parameters not containing this property with the value of true can be left out of the client's action request." |
| }, |
| "longDescription": { |
| "type": "string", |
| "description": "This attribute shall contain normative language relating to the Redfish Specification and documentation." |
| }, |
| "copyright": { |
| "type": "string", |
| "description": "This attribute shall contain the copyright notice for the schema." |
| }, |
| "deprecated": { |
| "type": "string", |
| "description": "The term shall be applied to a property in order to specify that the property is deprecated. The value of the string should explain the deprecation, including new property or properties to be used. The property can be supported in new and existing implementations, but usage in new implementations is discouraged. Deprecated properties are likely to be removed in a future major version of the schema." |
| }, |
| "enumDescriptions": { |
| "type": "object", |
| "description": "This attribute shall contain informative language related to the enumeration values of the property." |
| }, |
| "enumLongDescriptions": { |
| "type": "object", |
| "description": "This attribute shall contain normative language relating to the enumeration values of the property." |
| }, |
| "enumDeprecated": { |
| "type": "object", |
| "description": "The term shall be applied to a value in order to specify that the value is deprecated. The value of the string should explain the deprecation, including new value to be used. The value can be supported in new and existing implementations, but usage in new implementations is discouraged. Deprecated values are likely to be removed in a future major version of the schema." |
| }, |
| "units": { |
| "type": "string", |
| "description": "This attribute shall contain the units of measure used by the value of the property." |
| }, |
| "owningEntity": { |
| "type": "string", |
| "description": "Indicates the name of the entity responsible for development, publication and maintenance of a given schema. Possible values include DMTF, SNIA or an OEM label such as is used in a Redfish OEM extension section." |
| } |
| }, |
| "properties": { |
| "readonly": { |
| "$ref": "#/definitions/readonly" |
| }, |
| "requiredOnCreate": { |
| "$ref": "#/definitions/requiredOnCreate" |
| }, |
| "requiredParameter": { |
| "$ref": "#/definitions/requiredParameter" |
| }, |
| "longDescription": { |
| "$ref": "#/definitions/longDescription" |
| }, |
| "copyright": { |
| "$ref": "#/definitions/copyright" |
| }, |
| "deprecated": { |
| "$ref": "#/definitions/deprecated" |
| }, |
| "enumDescriptions": { |
| "$ref": "#/definitions/enumDescriptions" |
| }, |
| "enumLongDescriptions": { |
| "$ref": "#/definitions/enumLongDescriptions" |
| }, |
| "enumDeprecated": { |
| "$ref": "#/definitions/enumDeprecated" |
| }, |
| "units": { |
| "$ref": "#/definitions/units" |
| }, |
| "parameters": { |
| "type": "object", |
| "description": "This term shall contain parameter definitions for a given action.", |
| "additionalProperties": { "$ref": "#" } |
| }, |
| "owningEntity": { |
| "$ref": "#/definitions/owningEntity" |
| } |
| } |
| } |