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/PCIeDevice/PCIeDevice.json b/static/redfish/v1/JsonSchemas/PCIeDevice/PCIeDevice.json
index 7dc3275..cfd48e3 100644
--- a/static/redfish/v1/JsonSchemas/PCIeDevice/PCIeDevice.json
+++ b/static/redfish/v1/JsonSchemas/PCIeDevice/PCIeDevice.json
@@ -1,8 +1,8 @@
 {
-    "$id": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.v1_9_0.json",
+    "$id": "http://redfish.dmtf.org/schemas/v1/PCIeDevice.v1_10_0.json",
     "$ref": "#/definitions/PCIeDevice",
     "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
-    "copyright": "Copyright 2014-2021 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",
     "definitions": {
         "Actions": {
             "additionalProperties": false,
@@ -36,13 +36,18 @@
             "enum": [
                 "SingleFunction",
                 "MultiFunction",
-                "Simulated"
+                "Simulated",
+                "Retimer"
             ],
             "enumDescriptions": {
                 "MultiFunction": "A multi-function PCIe device.",
+                "Retimer": "A PCIe retimer device.",
                 "Simulated": "A PCIe device that is not currently physically present, but is being simulated by the PCIe infrastructure.",
                 "SingleFunction": "A single-function PCIe device."
             },
+            "enumVersionAdded": {
+                "Retimer": "v1_10_0"
+            },
             "type": "string"
         },
         "LaneSplittingType": {
@@ -107,6 +112,20 @@
                 },
                 "PCIeFunctions@odata.count": {
                     "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
+                },
+                "Switch": {
+                    "anyOf": [
+                        {
+                            "$ref": "http://redfish.dmtf.org/schemas/v1/Switch.json#/definitions/Switch"
+                        },
+                        {
+                            "type": "null"
+                        }
+                    ],
+                    "description": "The link to a switch that is associated with this PCIe device.",
+                    "longDescription": "This property shall contain a link to a resource of type Switch that is associated with this PCIe device.",
+                    "readonly": true,
+                    "versionAdded": "v1_10_0"
                 }
             },
             "type": "object"
@@ -257,7 +276,7 @@
                 "PCIeFunctions": {
                     "$ref": "http://redfish.dmtf.org/schemas/v1/PCIeFunctionCollection.json#/definitions/PCIeFunctionCollection",
                     "description": "The link to the collection of PCIe functions associated with this PCIe device.",
-                    "longDescription": "This property shall contain a link to a Resource Collection of type PCIeFunctionCollection.",
+                    "longDescription": "This property shall contain a link to a Resource Collection of type PCIeFunctionCollection.  This property should not be present if DeviceType contains `Retimer`.",
                     "readonly": true,
                     "versionAdded": "v1_4_0"
                 },
@@ -643,6 +662,6 @@
         }
     },
     "owningEntity": "DMTF",
-    "release": "2021.4",
-    "title": "#PCIeDevice.v1_9_0.PCIeDevice"
+    "release": "2022.2",
+    "title": "#PCIeDevice.v1_10_0.PCIeDevice"
 }
\ No newline at end of file