1{
2    "$id": "http://redfish.dmtf.org/schemas/v1/redfish-payload-annotations.v1_2_2.json",
3    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
4    "copyright": "Copyright 2014-2023 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
5    "properties": {
6        "@Redfish.ActionInfo": {
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.",
8            "type": "string",
9            "format": "uri-reference",
10            "readonly": true
11        },
12        "@Redfish.Settings": {
13            "description": "The link to the settings resource that represents the settings to apply to this resource.",
14            "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/Settings"
15        },
16        "@Redfish.SettingsApplyTime": {
17            "description": "The configuration settings for when the values in the settings object are applied to a resource.",
18            "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/PreferredApplyTime"
19        },
20        "@Redfish.OperationApplyTime": {
21            "description": "The requested apply time from a client when performing a create, delete, or action operation.",
22            "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/OperationApplyTime"
23        },
24        "@Redfish.OperationApplyTimeSupport": {
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.",
26            "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/OperationApplyTimeSupport"
27        },
28        "@Redfish.MaintenanceWindow": {
29            "description": "The maintenance window configuration for a resource for when to apply settings or operations.",
30            "$ref": "http://redfish.dmtf.org/schemas/v1/Settings.json#/definitions/MaintenanceWindow"
31        },
32        "@Redfish.CollectionCapabilities": {
33            "description": "The link to the resource that represents the POST capabilities of a collection.",
34            "$ref": "http://redfish.dmtf.org/schemas/v1/CollectionCapabilities.json#/definitions/CollectionCapabilities"
35        },
36        "@Redfish.RequestedCount": {
37            "type": "integer",
38            "description": "The term is used by a client to specify a request for a quantity of items."
39        },
40        "@Redfish.RequestedCountRequired": {
41            "type": "boolean",
42            "readonly": true,
43            "description": "The term specifies that a client is required to provide the @Redfish.RequestedCount term as part of the payload to specify a quantity of items."
44        },
45        "@Redfish.AllowOverprovisioning": {
46            "type": "boolean",
47            "description": "The term specifies that a client allows the service to provide more resources than requested, which includes, but is not limited to, a larger quantity of items, larger capacity, and faster devices.",
48            "longDescription": "The term shall specify that a client allows the service to provide more resources than requested, which includes, but is not limited to, a larger quantity of items, larger capacity, and faster devices.  If not specified by the client, the service shall treat this as `false`."
49        },
50        "@Redfish.ZoneAffinity": {
51            "type": "string",
52            "description": "The term specifies that a client requests that the service fulfills a request with resources available within a specific zone resource.  The term value is the Id property of the zone resource.",
53            "longDescription": "The term shall specify that a client requests that the service fulfills a request with resources available in a specific zone resource.  The term value shall contain the Id property of the zone resource.  This term shall only be at the root level of the request payload."
54        },
55        "@Redfish.ResourceBlockLimits": {
56            "description": "The term specifies the allowable quantities of types of resource blocks for a composition request.",
57            "$ref": "http://redfish.dmtf.org/schemas/v1/ResourceBlock.json#/definitions/ResourceBlockLimits"
58        },
59        "@Redfish.SupportedCertificates": {
60            "description": "The term specifies the supported certificate formats for a given certificate collection.",
61            "type": "array",
62            "items": {
63                "$ref": "http://redfish.dmtf.org/schemas/v1/Certificate.json#/definitions/CertificateType"
64            },
65            "readonly": true
66        },
67        "@Redfish.WriteableProperties": {
68            "description": "The term specifies the properties supported as read-write.  The values contained are the names of the writable properties as defined in the Redfish schema that are available as read-write given the implementation, current configuration, and state of the resource.  This term might appear at the root level of a resource, or within an object.  For arrays of objects, the term might only appear in the first element of the array to indicate identical capabilities for every element in the array.",
69            "type": "array",
70            "items": {
71                "type": "string"
72            },
73            "readonly": true
74        },
75        "@odata.context": {
76            "type": "string",
77            "format": "uri-reference",
78            "readonly": true,
79            "description": "The OData description of a payload.",
80            "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."
81        },
82        "@odata.id": {
83            "type": "string",
84            "format": "uri-reference",
85            "readonly": true,
86            "description": "The unique identifier for a resource.",
87            "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."
88        },
89        "@odata.type": {
90            "type": "string",
91            "readonly": true,
92            "description": "The type of a resource.",
93            "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."
94        },
95        "@odata.etag": {
96            "type": "string",
97            "readonly": true,
98            "description": "The current ETag of the resource.",
99            "longDescription": "The value of this property shall be a string that is defined by the ETag HTTP header definition in RFC7232."
100        }
101    },
102    "patternProperties": {
103        "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.AllowableValues$": {
104            "description": "The set of allowable values for an action parameter or read-write property.",
105            "type": "array",
106            "items": {
107                "type": "string"
108            },
109            "readonly": true
110        },
111        "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.RequiredOnCreate$": {
112            "description": "The term specifies that a property is required to be specified in the body of a POST request to create the resource.",
113            "type": "boolean",
114            "readonly": true
115        },
116        "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.SetOnlyOnCreate$": {
117            "description": "The term specifies that a property can only be set when a client creates an instance of a resource through POST.",
118            "type": "boolean",
119            "readonly": true
120        },
121        "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.OptionalOnCreate$": {
122            "description": "The term specifies that a property can be set when a client creates an instance of a resource through POST.",
123            "type": "boolean",
124            "readonly": true
125        },
126        "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.UpdatableAfterCreate$": {
127            "description": "The term specifies that a property can be set by a client that uses PATCH after it creates an instance of a resource through POST.",
128            "type": "boolean",
129            "readonly": true
130        },
131        "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.Deprecated$": {
132            "description": "The term shall be applied to a property or value to specify that the property or value is deprecated.  The string value should explain the deprecation, including new property or properties or value to use.  The property or value can be supported in new and existing implementations, but usage in new implementations is discouraged.  Deprecated properties and values are likely to be removed in a future major version of the schema.",
133            "type": "string",
134            "readonly": true
135        },
136        "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.AllowableNumbers$": {
137            "description": "The term specifies the numeric values or duration values, inclusive ranges of values, and incremental step values for a read-write property that are supported by the service, as defined in the 'Allowable values for numbers and durations' clause of the Redfish Specification.",
138            "type": "array",
139            "items": {
140                "type": "string"
141            },
142            "readonly": true
143        },
144        "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.AllowablePattern$": {
145            "description": "The term specifies a regular expression that describes the allowable values for a read-write property as supported by the service.",
146            "type": "string",
147            "readonly": true
148        },
149        "^([a-zA-Z_][a-zA-Z0-9_]*)?@Message.ExtendedInfo$": {
150            "description": "The ExtendedInfo annotation can be applied to any object or property to provide additional information about the item.",
151            "type": "array",
152            "items": {
153                "$ref": "http://redfish.dmtf.org/schemas/v1/Message.json#/definitions/Message"
154            }
155        },
156        "^([a-zA-Z_][a-zA-Z0-9_]*)?@odata.count$": {
157            "type": "integer",
158            "readonly": true,
159            "description": "The number of items in a collection.",
160            "longDescription": "The value of this property shall be an integer representing the number of items in a collection."
161        },
162        "^([a-zA-Z_][a-zA-Z0-9_]*)?@odata.nextLink$": {
163            "type": "string",
164            "format": "uri-reference",
165            "readonly": true,
166            "description": "The URI to the resource containing the next set of partial members.",
167            "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."
168        }
169    }
170}
171