{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-communication-services/json-schema/microsoft-azure-communication-services-update-domain-request-parameters-schema.json",
  "title": "UpdateDomainRequestParameters",
  "description": "A class that describes the PATCH request parameters of a Domains resource.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-communication-services-domains-api-openapi.yml#/components/schemas/UpdateDomainRequestParameters",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/UpdateDomainProperties",
      "description": "A class that describes the updatable properties of a Domains resource.",
      "x-ms-client-flatten": true
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/TaggedResource"
    }
  ],
  "$defs": {
    "TaggedResource": {
      "type": "object",
      "description": "An ARM resource with that can accept tags",
      "properties": {
        "tags": {
          "type": "object",
          "description": "Tags of the service which is a list of key value pairs that describe the resource.",
          "additionalProperties": {
            "type": "string"
          },
          "x-ms-mutability": [
            "read",
            "update",
            "create"
          ]
        }
      }
    },
    "UpdateDomainProperties": {
      "type": "object",
      "description": "A class that describes the updatable properties of a Domains resource.",
      "properties": {
        "userEngagementTracking": {
          "$ref": "#/$defs/UserEngagementTracking",
          "description": "Describes whether user engagement tracking is enabled or disabled."
        }
      }
    },
    "UserEngagementTracking": {
      "type": "string",
      "description": "Describes whether user engagement tracking is enabled or disabled.",
      "enum": [
        "Disabled",
        "Enabled"
      ],
      "x-ms-enum": {
        "name": "UserEngagementTracking",
        "modelAsString": true,
        "values": [
          {
            "name": "Disabled",
            "value": "Disabled",
            "description": "Disabled"
          },
          {
            "name": "Enabled",
            "value": "Enabled",
            "description": "Enabled"
          }
        ]
      }
    }
  }
}