{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-kubernetes-service/json-schema/microsoft-azure-kubernetes-service-gate-patch-schema.json",
  "title": "GatePatch",
  "description": "Patch a Gate resource.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-kubernetes-service-gates-api-openapi.yml#/components/schemas/GatePatch",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/GatePatchProperties",
      "description": "Properties of a Gate that can be patched."
    }
  },
  "$defs": {
    "GatePatchProperties": {
      "type": "object",
      "description": "Properties of a Gate that can be patched.",
      "properties": {
        "state": {
          "$ref": "#/$defs/GateState",
          "description": "The state of the Gate."
        }
      }
    },
    "GateState": {
      "type": "string",
      "description": "The state of the Gate.",
      "enum": [
        "Pending",
        "Skipped",
        "Completed"
      ],
      "x-ms-enum": {
        "name": "GateState",
        "modelAsString": true,
        "values": [
          {
            "name": "Pending",
            "value": "Pending",
            "description": "A Pending Gate will continue to block the staged rollout process it is controlling."
          },
          {
            "name": "Skipped",
            "value": "Skipped",
            "description": "A Skipped Gate means that the staged rollout process it is controlling was skipped."
          },
          {
            "name": "Completed",
            "value": "Completed",
            "description": "An Completed Gate allows the staged rollout process to continue."
          }
        ]
      }
    }
  }
}