Microsoft Graph · Schema

microsoft.graph.microsoftCustomTrainingSetting

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphmicrosoftcustomtrainingsetting-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.microsoftCustomTrainingSetting",
  "title": "microsoft.graph.microsoftCustomTrainingSetting",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.trainingSetting"
    },
    {
      "title": "microsoftCustomTrainingSetting",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "completionDateTime": {
          "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 completion date and time of the training. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.",
          "format": "date-time",
          "nullable": true
        },
        "trainingAssignmentMappings": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.microsoftTrainingAssignmentMapping"
          },
          "description": "The mapping details of the associated training."
        },
        "trainingCompletionDuration": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.trainingCompletionDuration"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The training completion duration that needs to be provided before scheduling the training. The possible values are: week, fortnite, month, unknownFutureValue."
        },
        "@odata.type": {
          "type": "string",
          "default": "#microsoft.graph.microsoftCustomTrainingSetting"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.microsoftCustomTrainingSetting"
}