Microsoft Graph · Schema

microsoft.graph.educationClass

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgrapheducationclass-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.educationClass",
  "title": "microsoft.graph.educationClass",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "educationClass",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "classCode": {
          "type": "string",
          "description": "Class code used by the school to identify the class.",
          "nullable": true
        },
        "course": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.educationCourse"
            },
            {
              "type": "object",
              "nullable": true
            }
          ]
        },
        "createdBy": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.identitySet"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Entity who created the class"
        },
        "description": {
          "type": "string",
          "description": "Description of the class.",
          "nullable": true
        },
        "displayName": {
          "type": "string",
          "description": "Name of the class."
        },
        "externalId": {
          "type": "string",
          "description": "ID of the class from the syncing system.",
          "nullable": true
        },
        "externalName": {
          "type": "string",
          "description": "Name of the class in the syncing system.",
          "nullable": true
        },
        "externalSource": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.educationExternalSource"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "How this class was created. The possible values are: sis, manual."
        },
        "externalSourceDetail": {
          "type": "string",
          "description": "The name of the external source this resource was generated from.",
          "nullable": true
        },
        "grade": {
          "type": "string",
          "description": "Grade level of the class.",
          "nullable": true
        },
        "mailNickname": {
          "type": "string",
          "description": "Mail name for sending email to all members, if this is enabled."
        },
        "term": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.educationTerm"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Term for this class."
        },
        "assignmentCategories": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.educationCategory"
          },
          "description": "All categories associated with this class. Nullable.",
          "x-ms-navigationProperty": true
        },
        "assignmentDefaults": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.educationAssignmentDefaults"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Specifies class-level defaults respected by new assignments created in the class.",
          "x-ms-navigationProperty": true
        },
        "assignments": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.educationAssignment"
          },
          "description": "All assignments associated with this class. Nullable.",
          "x-ms-navigationProperty": true
        },
        "assignmentSettings": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.educationAssignmentSettings"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Specifies class-level assignments settings.",
          "x-ms-navigationProperty": true
        },
        "group": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.group"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The underlying Microsoft 365 group object.",
          "x-ms-navigationProperty": true
        },
        "members": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.educationUser"
          },
          "description": "All users in the class. Nullable.",
          "x-ms-navigationProperty": true
        },
        "modules": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.educationModule"
          },
          "description": "All modules in the class. Nullable.",
          "x-ms-navigationProperty": true
        },
        "schools": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.educationSchool"
          },
          "description": "All schools that this class is associated with. Nullable.",
          "x-ms-navigationProperty": true
        },
        "teachers": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.educationUser"
          },
          "description": "All teachers in the class. Nullable.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.educationClass"
}