Move to 2022.2

Run the script update_schemas.py by pointing it to 2022.2

An overview of 2022.2 release can be found at:
[1] https://www.dmtf.org/sites/default/files/Redfish_Release_2022.2_Overview.pdf

Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com>
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ic729af6848badd1c81121e61a22a7115e553358a
diff --git a/static/redfish/v1/JsonSchemas/redfish-payload-annotations/redfish-payload-annotations.json b/static/redfish/v1/JsonSchemas/redfish-payload-annotations/redfish-payload-annotations.json
index b31defb..6eeb604 100644
--- a/static/redfish/v1/JsonSchemas/redfish-payload-annotations/redfish-payload-annotations.json
+++ b/static/redfish/v1/JsonSchemas/redfish-payload-annotations/redfish-payload-annotations.json
@@ -1,7 +1,7 @@
 {
-    "$id": "http://redfish.dmtf.org/schemas/v1/redfish-payload-annotations.v1_1_1.json",
+    "$id": "http://redfish.dmtf.org/schemas/v1/redfish-payload-annotations.v1_2_0.json",
     "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
-    "copyright": "Copyright 2014-2020 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
+    "copyright": "Copyright 2014-2022 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
     "properties": {
         "@Redfish.ActionInfo": {
             "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.",
@@ -64,25 +64,33 @@
             },
             "readonly": true
         },
+        "@Redfish.WriteableProperties": {
+            "description": "The term specifies the properties supported as read-write.  The values contained shall be the names of the writeable 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 may appear at the root level of a resource, or within an object.  For arrays of objects, the term may only appear in the first element of the array to indicate identical capabilities for every element in the array.",
+            "type": "array",
+            "items": {
+                "type": "string"
+            },
+            "readonly": true
+        },
         "@odata.context": {
             "type": "string",
             "format": "uri-reference",
             "readonly": true,
             "description": "The OData description of a payload.",
-            "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."
+            "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."
         },
         "@odata.id": {
             "type": "string",
             "format": "uri-reference",
             "readonly": true,
             "description": "The unique identifier for a resource.",
-            "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."
+            "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."
         },
         "@odata.type": {
             "type": "string",
             "readonly": true,
             "description": "The type of a resource.",
-            "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."
+            "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."
         },
         "@odata.etag": {
             "type": "string",
@@ -125,6 +133,19 @@
             "type": "string",
             "readonly": true
         },
+        "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.AllowableNumbers$": {
+            "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.",
+            "type": "array",
+            "items": {
+                "type": "string"
+            },
+            "readonly": true
+        },
+        "^([a-zA-Z_][a-zA-Z0-9_]*)?@Redfish.AllowablePattern$": {
+            "description": "The term specifies a regular expression that describes the allowable values for a read-write property as supported by the service.",
+            "type": "string",
+            "readonly": true
+        },
         "^([a-zA-Z_][a-zA-Z0-9_]*)?@Message.ExtendedInfo$": {
             "description": "The ExtendedInfo annotation can be applied to any object or property to provide additional information about the item.",
             "type": "array",