blob: 84cab6d37ab2d10f2377ec29f3d80bd0b0889a26 [file] [log] [blame]
Ed Tanous530520e2019-01-02 13:41:37 -08001{
Ed Tanouscb103132019-10-08 11:34:22 -07002 "$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 Tanous530520e2019-01-02 13:41:37 -08005 "properties": {
6 "@Redfish.ActionInfo": {
Ed Tanouscb103132019-10-08 11:34:22 -07007 "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 Tanous530520e2019-01-02 13:41:37 -08008 "type": "string",
Ed Tanouscb103132019-10-08 11:34:22 -07009 "format": "uri-reference",
Ed Tanous530520e2019-01-02 13:41:37 -080010 "readonly": true
11 },
12 "@Redfish.Settings": {
Ed Tanouscb103132019-10-08 11:34:22 -070013 "description": "The link to the Settings Resource that represents the settings to apply to this Resource.",
Ed Tanous530520e2019-01-02 13:41:37 -080014 "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/Settings"
15 },
16 "@Redfish.SettingsApplyTime": {
Ed Tanouscb103132019-10-08 11:34:22 -070017 "description": "The configuration settings for when the values in the settings object are applied to a Resource.",
Ed Tanous530520e2019-01-02 13:41:37 -080018 "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/PreferredApplyTime"
19 },
20 "@Redfish.OperationApplyTime": {
Ed Tanouscb103132019-10-08 11:34:22 -070021 "description": "The requested apply time from a client when performing a create, delete, or action operation.",
Ed Tanous530520e2019-01-02 13:41:37 -080022 "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/OperationApplyTime"
23 },
24 "@Redfish.OperationApplyTimeSupport": {
Ed Tanouscb103132019-10-08 11:34:22 -070025 "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 Tanous530520e2019-01-02 13:41:37 -080026 "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/OperationApplyTimeSupport"
27 },
28 "@Redfish.MaintenanceWindow": {
Ed Tanouscb103132019-10-08 11:34:22 -070029 "description": "The maintenance window configuration for a Resource for when to apply settings or operations.",
Ed Tanous530520e2019-01-02 13:41:37 -080030 "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/MaintenanceWindow"
31 },
32 "@Redfish.CollectionCapabilities": {
Ed Tanouscb103132019-10-08 11:34:22 -070033 "description": "The link to the Resource that represents the POST capabilities of a collection.",
Ed Tanous530520e2019-01-02 13:41:37 -080034 "$ref": "http://redfish.dmtf.org/schemas/v1/CollectionCapabilities.json#/definitions/CollectionCapabilities"
35 },
36 "@odata.context": {
37 "type": "string",
Ed Tanouscb103132019-10-08 11:34:22 -070038 "format": "uri-reference",
Ed Tanous530520e2019-01-02 13:41:37 -080039 "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 Tanouscb103132019-10-08 11:34:22 -070045 "format": "uri-reference",
Ed Tanous530520e2019-01-02 13:41:37 -080046 "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 Tanouscb103132019-10-08 11:34:22 -070065 "description": "The set of allowable values for a parameter.",
Ed Tanous530520e2019-01-02 13:41:37 -080066 "type": "array",
67 "items": {
68 "type": "string"
69 },
70 "readonly": true
71 },
72 "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.RequiredOnCreate$": {
Ed Tanouscb103132019-10-08 11:34:22 -070073 "description": "The term specifies that a property is required to be specified in the body of a POST request to create the Resource.",
Ed Tanous530520e2019-01-02 13:41:37 -080074 "type": "boolean",
75 "readonly": true
76 },
77 "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.SetOnlyOnCreate$": {
Ed Tanouscb103132019-10-08 11:34:22 -070078 "description": "The term specifies that a property can only be set when a client creates an instance of a Resource through POST.",
Ed Tanous530520e2019-01-02 13:41:37 -080079 "type": "boolean",
80 "readonly": true
81 },
82 "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.OptionalOnCreate$": {
Ed Tanouscb103132019-10-08 11:34:22 -070083 "description": "The term specifies that a property may be set when a client creates an instance of a Resource through POST.",
Ed Tanous530520e2019-01-02 13:41:37 -080084 "type": "boolean",
85 "readonly": true
86 },
87 "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.UpdatableAfterCreate$": {
Ed Tanouscb103132019-10-08 11:34:22 -070088 "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 Tanous530520e2019-01-02 13:41:37 -080089 "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 Tanouscb103132019-10-08 11:34:22 -0700107 "format": "uri-reference",
Ed Tanous530520e2019-01-02 13:41:37 -0800108 "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}