{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-cdn/json-schema/microsoft-azure-cdn-security-policy-update-parameters-schema.json",
  "title": "SecurityPolicyUpdateParameters",
  "description": "The JSON object containing security policy update parameters.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-cdn-security-policies-api-openapi.yml#/components/schemas/SecurityPolicyUpdateParameters",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/SecurityPolicyUpdateProperties",
      "description": "The json object that contains properties required to update a security policy",
      "x-ms-client-flatten": true
    }
  },
  "$defs": {
    "SecurityPolicyPropertiesParameters": {
      "type": "object",
      "description": "The json object containing security policy parameters",
      "properties": {
        "type": {
          "$ref": "#/$defs/SecurityPolicyType",
          "description": "The type of the Security policy to create."
        }
      },
      "required": [
        "type"
      ]
    },
    "SecurityPolicyType": {
      "type": "string",
      "description": "The type of the Security policy to create.",
      "enum": [
        "WebApplicationFirewall"
      ],
      "x-ms-enum": {
        "name": "SecurityPolicyType",
        "modelAsString": true,
        "values": [
          {
            "name": "WebApplicationFirewall",
            "value": "WebApplicationFirewall"
          }
        ]
      }
    },
    "SecurityPolicyUpdateProperties": {
      "type": "object",
      "description": "The json object that contains properties required to update a security policy",
      "properties": {
        "parameters": {
          "$ref": "#/$defs/SecurityPolicyPropertiesParameters",
          "description": "object which contains security policy parameters"
        }
      }
    }
  }
}