{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.serviceStatus",
  "title": "serviceStatus",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "backupServiceConsumer": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.backupServiceConsumer"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "The type of consumer. The possible values are: unknown, firstparty, thirdparty, unknownFutureValue."
    },
    "disableReason": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.disableReason"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "The reason the service is disabled. The possible values are: none, controllerServiceAppDeleted, invalidBillingProfile, userRequested, unknownFutureValue."
    },
    "gracePeriodDateTime": {
      "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
      "type": "string",
      "description": "The expiration time of the grace period.",
      "format": "date-time",
      "nullable": true
    },
    "lastModifiedBy": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.identitySet"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "Identity of the person who last modified the entity."
    },
    "lastModifiedDateTime": {
      "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
      "type": "string",
      "description": "Timestamp of the last modification of the entity.",
      "format": "date-time",
      "nullable": true
    },
    "restoreAllowedTillDateTime": {
      "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
      "type": "string",
      "description": "The expiration time of the restoration allowed period.",
      "format": "date-time",
      "nullable": true
    },
    "status": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.backupServiceStatus"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "Status of the service. This value indicates what capabilities can be used. The possible values are: disabled, enabled, protectionChangeLocked, restoreLocked, unknownFutureValue."
    },
    "@odata.type": {
      "type": "string"
    }
  }
}