{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-runtime-environment-update-parameters-schema.json",
  "title": "RuntimeEnvironmentUpdateParameters",
  "description": "The parameters supplied to the update automation account operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-runtimeenvironment-api-openapi.yml#/components/schemas/RuntimeEnvironmentUpdateParameters",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/RuntimeEnvironmentUpdateProperties",
      "description": "Gets or sets Runtime update properties.",
      "x-ms-client-flatten": true
    },
    "systemData": {
      "$ref": "#/$defs/systemData",
      "description": "Metadata pertaining to creation and last modification of the resource."
    }
  },
  "$defs": {
    "RuntimeEnvironmentUpdateProperties": {
      "type": "object",
      "description": "Gets or sets Runtime update properties.",
      "properties": {
        "defaultPackages": {
          "type": "object",
          "description": "List of Default packages for Environment",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    },
    "systemData": {
      "type": "object",
      "description": "Metadata pertaining to creation and last modification of the resource.",
      "properties": {
        "createdBy": {
          "type": "string",
          "description": "The identity that created the resource."
        },
        "createdByType": {
          "type": "string",
          "description": "The type of identity that created the resource.",
          "enum": [
            "User",
            "Application",
            "ManagedIdentity",
            "Key"
          ],
          "x-ms-enum": {
            "name": "createdByType",
            "modelAsString": true
          }
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of resource creation (UTC)."
        },
        "lastModifiedBy": {
          "type": "string",
          "description": "The identity that last modified the resource."
        },
        "lastModifiedByType": {
          "type": "string",
          "description": "The type of identity that last modified the resource.",
          "enum": [
            "User",
            "Application",
            "ManagedIdentity",
            "Key"
          ],
          "x-ms-enum": {
            "name": "createdByType",
            "modelAsString": true
          }
        },
        "lastModifiedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp of resource last modification (UTC)"
        }
      },
      "readOnly": true
    }
  }
}