Microsoft Graph · Schema

microsoft.graph.security.dataSource

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphsecuritydatasource-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.security.dataSource",
  "title": "microsoft.graph.security.dataSource",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "dataSource",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "createdBy": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.identitySet"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The user who created the dataSource."
        },
        "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 the dataSource was created.",
          "format": "date-time",
          "nullable": true
        },
        "displayName": {
          "type": "string",
          "description": "The display name of the dataSource and is the name of the SharePoint site.",
          "nullable": true
        },
        "holdStatus": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.security.dataSourceHoldStatus"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The hold status of the dataSource.The possible values are: notApplied, applied, applying, removing, partial"
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "discriminator": {
        "propertyName": "@odata.type",
        "mapping": {
          "#microsoft.graph.security.siteSource": "#/components/schemas/microsoft.graph.security.siteSource",
          "#microsoft.graph.security.unifiedGroupSource": "#/components/schemas/microsoft.graph.security.unifiedGroupSource",
          "#microsoft.graph.security.userSource": "#/components/schemas/microsoft.graph.security.userSource"
        }
      }
    }
  ]
}