{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-variable-create-or-update-parameters-schema.json",
  "title": "VariableCreateOrUpdateParameters",
  "description": "The parameters supplied to the create or update variable operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-variable-api-openapi.yml#/components/schemas/VariableCreateOrUpdateParameters",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Gets or sets the name of the variable."
    },
    "properties": {
      "$ref": "#/$defs/VariableCreateOrUpdateProperties",
      "description": "Gets or sets the properties of the variable.",
      "x-ms-client-flatten": true
    }
  },
  "required": [
    "name",
    "properties"
  ],
  "$defs": {
    "VariableCreateOrUpdateProperties": {
      "type": "object",
      "description": "The properties of the create variable operation.",
      "properties": {
        "value": {
          "type": "string",
          "description": "Gets or sets the value of the variable."
        },
        "description": {
          "type": "string",
          "description": "Gets or sets the description of the variable."
        },
        "isEncrypted": {
          "type": "boolean",
          "description": "Gets or sets the encrypted flag of the variable."
        }
      }
    }
  }
}