Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 1 | { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/redfish-payload-annotations.v1_0_1.json", |
| 3 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
| 4 | "copyright": "Copyright 2014-2019 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 5 | "properties": { |
| 6 | "@Redfish.ActionInfo": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 7 | "description": "The term can be applied to an action to specify a URI to an ActionInfo Resource that describes the parameters supported by this instance of the action.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 8 | "type": "string", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 9 | "format": "uri-reference", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 10 | "readonly": true |
| 11 | }, |
| 12 | "@Redfish.Settings": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 13 | "description": "The link to the Settings Resource that represents the settings to apply to this Resource.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 14 | "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/Settings" |
| 15 | }, |
| 16 | "@Redfish.SettingsApplyTime": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 17 | "description": "The configuration settings for when the values in the settings object are applied to a Resource.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 18 | "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/PreferredApplyTime" |
| 19 | }, |
| 20 | "@Redfish.OperationApplyTime": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 21 | "description": "The requested apply time from a client when performing a create, delete, or action operation.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 22 | "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/OperationApplyTime" |
| 23 | }, |
| 24 | "@Redfish.OperationApplyTimeSupport": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 25 | "description": "An indication of whether a client can request an apply time for a create, delete, or action operation of a Resource through the OperationApplyTime term.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 26 | "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/OperationApplyTimeSupport" |
| 27 | }, |
| 28 | "@Redfish.MaintenanceWindow": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 29 | "description": "The maintenance window configuration for a Resource for when to apply settings or operations.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 30 | "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/MaintenanceWindow" |
| 31 | }, |
| 32 | "@Redfish.CollectionCapabilities": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 33 | "description": "The link to the Resource that represents the POST capabilities of a collection.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 34 | "$ref": "http://redfish.dmtf.org/schemas/v1/CollectionCapabilities.json#/definitions/CollectionCapabilities" |
| 35 | }, |
| 36 | "@odata.context": { |
| 37 | "type": "string", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 38 | "format": "uri-reference", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 39 | "readonly": true, |
| 40 | "description": "The OData description of a payload.", |
| 41 | "longDescription": "The value of this property shall be the context URL that describes the resource according to OData-Protocol and shall be of the form defined in the Redfish specification." |
| 42 | }, |
| 43 | "@odata.id": { |
| 44 | "type": "string", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 45 | "format": "uri-reference", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 46 | "readonly": true, |
| 47 | "description": "The unique identifier for a resource.", |
| 48 | "longDescription": "The value of this property shall be the unique identifier for the resource and it shall be of the form defined in the Redfish specification." |
| 49 | }, |
| 50 | "@odata.type": { |
| 51 | "type": "string", |
| 52 | "readonly": true, |
| 53 | "description": "The type of a resource.", |
| 54 | "longDescription": "The value of this property shall be a URI fragment that specifies the type of the resource and it shall be of the form defined in the Redfish specification." |
| 55 | }, |
| 56 | "@odata.etag": { |
| 57 | "type": "string", |
| 58 | "readonly": true, |
| 59 | "description": "The current ETag of the resource.", |
| 60 | "longDescription": "The value of this property shall be a string that is defined by the ETag HTTP header definition in RFC7232." |
| 61 | } |
| 62 | }, |
| 63 | "patternProperties": { |
| 64 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.AllowableValues$": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 65 | "description": "The set of allowable values for a parameter.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 66 | "type": "array", |
| 67 | "items": { |
| 68 | "type": "string" |
| 69 | }, |
| 70 | "readonly": true |
| 71 | }, |
| 72 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.RequiredOnCreate$": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 73 | "description": "The term specifies that a property is required to be specified in the body of a POST request to create the Resource.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 74 | "type": "boolean", |
| 75 | "readonly": true |
| 76 | }, |
| 77 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.SetOnlyOnCreate$": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 78 | "description": "The term specifies that a property can only be set when a client creates an instance of a Resource through POST.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 79 | "type": "boolean", |
| 80 | "readonly": true |
| 81 | }, |
| 82 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.OptionalOnCreate$": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 83 | "description": "The term specifies that a property may be set when a client creates an instance of a Resource through POST.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 84 | "type": "boolean", |
| 85 | "readonly": true |
| 86 | }, |
| 87 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.UpdatableAfterCreate$": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 88 | "description": "The term specifies that a property may be set by a client that uses PATCH after it creates an instance of a Resource through POST.", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 89 | "type": "boolean", |
| 90 | "readonly": true |
| 91 | }, |
| 92 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@Message.ExtendedInfo$": { |
| 93 | "description": "The ExtendedInfo annotation can be applied to any object or property to provide additional information about the item.", |
| 94 | "type": "array", |
| 95 | "items": { |
| 96 | "$ref": "http://redfish.dmtf.org/schemas/v1/Message.json#/definitions/Message" |
| 97 | } |
| 98 | }, |
| 99 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@odata.count$": { |
| 100 | "type": "integer", |
| 101 | "readonly": true, |
| 102 | "description": "The number of items in a collection.", |
| 103 | "longDescription": "The value of this property shall be an integer representing the number of items in a collection." |
| 104 | }, |
| 105 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@odata.nextLink$": { |
| 106 | "type": "string", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 107 | "format": "uri-reference", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 108 | "readonly": true, |
| 109 | "description": "The URI to the resource containing the next set of partial members.", |
| 110 | "longDescription": "The value of this property shall be a URI to a resource, with the same @odata.type, containing the next set of partial members." |
| 111 | } |
| 112 | } |
| 113 | } |