Microsoft Graph · Schema

microsoft.graph.termsAndConditionsAcceptanceStatus

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphtermsandconditionsacceptancestatus-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.termsAndConditionsAcceptanceStatus",
  "title": "microsoft.graph.termsAndConditionsAcceptanceStatus",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "termsAndConditionsAcceptanceStatus",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "acceptedDateTime": {
          "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": "DateTime when the terms were last accepted by the user.",
          "format": "date-time"
        },
        "acceptedVersion": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Most recent version number of the T&C accepted by the user.",
          "format": "int32"
        },
        "userDisplayName": {
          "type": "string",
          "description": "Display name of the user whose acceptance the entity represents.",
          "nullable": true
        },
        "userPrincipalName": {
          "type": "string",
          "description": "The userPrincipalName of the User that accepted the term.",
          "nullable": true
        },
        "termsAndConditions": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.termsAndConditions"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Navigation link to the terms and conditions that are assigned.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "A termsAndConditionsAcceptanceStatus entity represents the acceptance status of a given Terms and Conditions (T&C) policy by a given user. Users must accept the most up-to-date version of the terms in order to retain access to the Company Portal."
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.termsAndConditionsAcceptanceStatus"
}