{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-module-update-parameters-schema.json",
  "title": "ModuleUpdateParameters",
  "description": "The parameters supplied to the update module operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-module-api-openapi.yml#/components/schemas/ModuleUpdateParameters",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/ModuleUpdateProperties",
      "description": "Gets or sets the module update properties.",
      "x-ms-client-flatten": true
    },
    "name": {
      "type": "string",
      "description": "Gets or sets name of the resource.",
      "readOnly": true
    },
    "location": {
      "type": "string",
      "description": "Gets or sets the location of the resource.",
      "readOnly": true
    },
    "tags": {
      "type": "object",
      "description": "Gets or sets the tags attached to the resource.",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "ContentHash": {
      "type": "object",
      "description": "Definition of the runbook property type.",
      "properties": {
        "algorithm": {
          "type": "string",
          "description": "Gets or sets the content hash algorithm used to hash the content."
        },
        "value": {
          "type": "string",
          "description": "Gets or sets expected hash value of the content."
        }
      },
      "required": [
        "algorithm",
        "value"
      ]
    },
    "ContentLink": {
      "type": "object",
      "description": "Definition of the content link.",
      "properties": {
        "uri": {
          "type": "string",
          "description": "Gets or sets the uri of content."
        },
        "contentHash": {
          "$ref": "#/$defs/ContentHash",
          "description": "Gets or sets the hash."
        },
        "version": {
          "type": "string",
          "description": "Gets or sets the version of the content."
        }
      }
    },
    "ModuleUpdateProperties": {
      "type": "object",
      "description": "The parameters supplied to the update properties.",
      "properties": {
        "contentLink": {
          "$ref": "#/$defs/ContentLink",
          "description": "Gets or sets the module content link."
        }
      }
    }
  }
}