{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-automation/json-schema/microsoft-azure-automation-runbook-draft-undo-edit-result-schema.json",
  "title": "RunbookDraftUndoEditResult",
  "description": "The response model for the undo edit runbook operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-automation-runbookdraft-api-openapi.yml#/components/schemas/RunbookDraftUndoEditResult",
  "type": "object",
  "properties": {
    "statusCode": {
      "$ref": "#/$defs/HttpStatusCode"
    },
    "requestId": {
      "type": "string"
    }
  },
  "$defs": {
    "HttpStatusCode": {
      "type": "string",
      "enum": [
        "Continue",
        "SwitchingProtocols",
        "OK",
        "Created",
        "Accepted",
        "NonAuthoritativeInformation",
        "NoContent",
        "ResetContent",
        "PartialContent",
        "MultipleChoices",
        "Ambiguous",
        "MovedPermanently",
        "Moved",
        "Found",
        "Redirect",
        "SeeOther",
        "RedirectMethod",
        "NotModified",
        "UseProxy",
        "Unused",
        "TemporaryRedirect",
        "RedirectKeepVerb",
        "BadRequest",
        "Unauthorized",
        "PaymentRequired",
        "Forbidden",
        "NotFound",
        "MethodNotAllowed",
        "NotAcceptable",
        "ProxyAuthenticationRequired",
        "RequestTimeout",
        "Conflict",
        "Gone",
        "LengthRequired",
        "PreconditionFailed",
        "RequestEntityTooLarge",
        "RequestUriTooLong",
        "UnsupportedMediaType",
        "RequestedRangeNotSatisfiable",
        "ExpectationFailed",
        "UpgradeRequired",
        "InternalServerError",
        "NotImplemented",
        "BadGateway",
        "ServiceUnavailable",
        "GatewayTimeout",
        "HttpVersionNotSupported"
      ],
      "x-ms-enum": {
        "name": "HttpStatusCode",
        "modelAsString": true,
        "values": [
          {
            "name": "Continue",
            "value": "Continue",
            "description": "Continue"
          },
          {
            "name": "SwitchingProtocols",
            "value": "SwitchingProtocols",
            "description": "SwitchingProtocols"
          },
          {
            "name": "OK",
            "value": "OK",
            "description": "OK"
          },
          {
            "name": "Created",
            "value": "Created",
            "description": "Created"
          },
          {
            "name": "Accepted",
            "value": "Accepted",
            "description": "Accepted"
          },
          {
            "name": "NonAuthoritativeInformation",
            "value": "NonAuthoritativeInformation",
            "description": "NonAuthoritativeInformation"
          },
          {
            "name": "NoContent",
            "value": "NoContent",
            "description": "NoContent"
          },
          {
            "name": "ResetContent",
            "value": "ResetContent",
            "description": "ResetContent"
          },
          {
            "name": "PartialContent",
            "value": "PartialContent",
            "description": "PartialContent"
          },
          {
            "name": "MultipleChoices",
            "value": "MultipleChoices",
            "description": "MultipleChoices"
          },
          {
            "name": "Ambiguous",
            "value": "Ambiguous",
            "description": "Ambiguous"
          },
          {
            "name": "MovedPermanently",
            "value": "MovedPermanently",
            "description": "MovedPermanently"
          },
          {
            "name": "Moved",
            "value": "Moved",
            "description": "Moved"
          },
          {
            "name": "Found",
            "value": "Found",
            "description": "Found"
          },
          {
            "name": "Redirect",
            "value": "Redirect",
            "description": "Redirect"
          },
          {
            "name": "SeeOther",
            "value": "SeeOther",
            "description": "SeeOther"
          },
          {
            "name": "RedirectMethod",
            "value": "RedirectMethod",
            "description": "RedirectMethod"
          },
          {
            "name": "NotModified",
            "value": "NotModified",
            "description": "NotModified"
          },
          {
            "name": "UseProxy",
            "value": "UseProxy",
            "description": "UseProxy"
          },
          {
            "name": "Unused",
            "value": "Unused",
            "description": "Unused"
          },
          {
            "name": "TemporaryRedirect",
            "value": "TemporaryRedirect",
            "description": "TemporaryRedirect"
          },
          {
            "name": "RedirectKeepVerb",
            "value": "RedirectKeepVerb",
            "description": "RedirectKeepVerb"
          },
          {
            "name": "BadRequest",
            "value": "BadRequest",
            "description": "BadRequest"
          },
          {
            "name": "Unauthorized",
            "value": "Unauthorized",
            "description": "Unauthorized"
          },
          {
            "name": "PaymentRequired",
            "value": "PaymentRequired",
            "description": "PaymentRequired"
          },
          {
            "name": "Forbidden",
            "value": "Forbidden",
            "description": "Forbidden"
          },
          {
            "name": "NotFound",
            "value": "NotFound",
            "description": "NotFound"
          },
          {
            "name": "MethodNotAllowed",
            "value": "MethodNotAllowed",
            "description": "MethodNotAllowed"
          },
          {
            "name": "NotAcceptable",
            "value": "NotAcceptable",
            "description": "NotAcceptable"
          },
          {
            "name": "ProxyAuthenticationRequired",
            "value": "ProxyAuthenticationRequired",
            "description": "ProxyAuthenticationRequired"
          },
          {
            "name": "RequestTimeout",
            "value": "RequestTimeout",
            "description": "RequestTimeout"
          },
          {
            "name": "Conflict",
            "value": "Conflict",
            "description": "Conflict"
          },
          {
            "name": "Gone",
            "value": "Gone",
            "description": "Gone"
          },
          {
            "name": "LengthRequired",
            "value": "LengthRequired",
            "description": "LengthRequired"
          },
          {
            "name": "PreconditionFailed",
            "value": "PreconditionFailed",
            "description": "PreconditionFailed"
          },
          {
            "name": "RequestEntityTooLarge",
            "value": "RequestEntityTooLarge",
            "description": "RequestEntityTooLarge"
          },
          {
            "name": "RequestUriTooLong",
            "value": "RequestUriTooLong",
            "description": "RequestUriTooLong"
          },
          {
            "name": "UnsupportedMediaType",
            "value": "UnsupportedMediaType",
            "description": "UnsupportedMediaType"
          },
          {
            "name": "RequestedRangeNotSatisfiable",
            "value": "RequestedRangeNotSatisfiable",
            "description": "RequestedRangeNotSatisfiable"
          },
          {
            "name": "ExpectationFailed",
            "value": "ExpectationFailed",
            "description": "ExpectationFailed"
          },
          {
            "name": "UpgradeRequired",
            "value": "UpgradeRequired",
            "description": "UpgradeRequired"
          },
          {
            "name": "InternalServerError",
            "value": "InternalServerError",
            "description": "InternalServerError"
          },
          {
            "name": "NotImplemented",
            "value": "NotImplemented",
            "description": "NotImplemented"
          },
          {
            "name": "BadGateway",
            "value": "BadGateway",
            "description": "BadGateway"
          },
          {
            "name": "ServiceUnavailable",
            "value": "ServiceUnavailable",
            "description": "ServiceUnavailable"
          },
          {
            "name": "GatewayTimeout",
            "value": "GatewayTimeout",
            "description": "GatewayTimeout"
          },
          {
            "name": "HttpVersionNotSupported",
            "value": "HttpVersionNotSupported",
            "description": "HttpVersionNotSupported"
          }
        ]
      }
    }
  }
}