Microsoft Graph · Schema

microsoft.graph.learningContent

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphlearningcontent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.learningContent",
  "title": "microsoft.graph.learningContent",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "learningContent",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "additionalTags": {
          "type": "array",
          "items": {
            "type": "string",
            "nullable": true
          },
          "description": "Keywords, topics, and other tags associated with the learning content. Optional."
        },
        "contentWebUrl": {
          "type": "string",
          "description": "The content web URL for the learning content. Required."
        },
        "contributors": {
          "type": "array",
          "items": {
            "type": "string",
            "nullable": true
          },
          "description": "The authors, creators, or contributors of the learning content. Optional."
        },
        "createdDateTime": {
          "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 date and time when the learning content was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.",
          "format": "date-time",
          "nullable": true
        },
        "description": {
          "type": "string",
          "description": "The description or summary for the learning content. Optional.",
          "nullable": true
        },
        "duration": {
          "pattern": "^-?P([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+([.][0-9]+)?S)?)?$",
          "type": "string",
          "description": "The duration of the learning content in seconds. The value is represented in ISO 8601 format for durations. Optional.",
          "format": "duration",
          "nullable": true
        },
        "externalId": {
          "type": "string",
          "description": "Unique external content ID for the learning content. Required."
        },
        "format": {
          "type": "string",
          "description": "The format of the learning content. For example, Course, Video, Book, Book Summary, Audiobook Summary. Optional.",
          "nullable": true
        },
        "isActive": {
          "type": "boolean",
          "description": "Indicates whether the content is active or not. Inactive content doesn't show up in the UI. The default value is true. Optional.",
          "nullable": true
        },
        "isPremium": {
          "type": "boolean",
          "description": "Indicates whether the learning content requires the user to sign-in on the learning provider platform or not. The default value is false. Optional.",
          "nullable": true
        },
        "isSearchable": {
          "type": "boolean",
          "description": "Indicates whether the learning content is searchable or not. The default value is true. Optional.",
          "nullable": true
        },
        "languageTag": {
          "type": "string",
          "description": "The language of the learning content, for example, en-us or fr-fr. Required."
        },
        "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": "The date and time when the learning content was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.",
          "format": "date-time",
          "nullable": true
        },
        "level": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.level"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The difficulty level of the learning content. The possible values are: Beginner, Intermediate, Advanced, unknownFutureValue. Optional."
        },
        "numberOfPages": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The number of pages of the learning content, for example, 9. Optional.",
          "format": "int32",
          "nullable": true
        },
        "skillTags": {
          "type": "array",
          "items": {
            "type": "string",
            "nullable": true
          },
          "description": "The skills tags associated with the learning content. Optional."
        },
        "sourceName": {
          "type": "string",
          "description": "The source name of the learning content, such as LinkedIn Learning or Coursera. Optional.",
          "nullable": true
        },
        "thumbnailWebUrl": {
          "type": "string",
          "description": "The URL of learning content thumbnail image. Optional.",
          "nullable": true
        },
        "title": {
          "type": "string",
          "description": "The title of the learning content. Required."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.learningContent"
}