Microsoft Graph · Schema

microsoft.graph.timeCard

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphtimecard-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.timeCard",
  "title": "microsoft.graph.timeCard",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.changeTrackedEntity"
    },
    {
      "title": "timeCard",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "breaks": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.timeCardBreak"
          },
          "description": "The list of breaks associated with the timeCard."
        },
        "clockInEvent": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.timeCardEvent"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The clock-in event of the timeCard."
        },
        "clockOutEvent": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.timeCardEvent"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The clock-out event of the timeCard."
        },
        "confirmedBy": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.confirmedBy"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Indicates whether this timeCard entry is confirmed. The possible values are: none, user, manager, unknownFutureValue."
        },
        "notes": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.itemBody"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Notes about the timeCard."
        },
        "originalEntry": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.timeCardEntry"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The original timeCardEntry of the timeCard before it was edited."
        },
        "state": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.timeCardState"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The current state of the timeCard during its life cycle. The possible values are: clockedIn, onBreak, clockedOut, unknownFutureValue."
        },
        "userId": {
          "type": "string",
          "description": "User ID to which the timeCard belongs.",
          "nullable": true
        },
        "@odata.type": {
          "type": "string",
          "default": "#microsoft.graph.timeCard"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.timeCard"
}