Microsoft Graph · Schema

microsoft.graph.printUsage

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphprintusage-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.printUsage",
  "title": "microsoft.graph.printUsage",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "printUsage",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "blackAndWhitePageCount": {
          "type": "number",
          "format": "int64",
          "nullable": true
        },
        "colorPageCount": {
          "type": "number",
          "format": "int64",
          "nullable": true
        },
        "completedBlackAndWhiteJobCount": {
          "type": "number",
          "format": "int64"
        },
        "completedColorJobCount": {
          "type": "number",
          "format": "int64"
        },
        "completedJobCount": {
          "type": "number",
          "format": "int64",
          "nullable": true
        },
        "doubleSidedSheetCount": {
          "type": "number",
          "format": "int64",
          "nullable": true
        },
        "incompleteJobCount": {
          "type": "number",
          "format": "int64"
        },
        "mediaSheetCount": {
          "type": "number",
          "format": "int64",
          "nullable": true
        },
        "pageCount": {
          "type": "number",
          "format": "int64",
          "nullable": true
        },
        "singleSidedSheetCount": {
          "type": "number",
          "format": "int64",
          "nullable": true
        },
        "usageDate": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$",
          "type": "string",
          "format": "date"
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "discriminator": {
        "propertyName": "@odata.type",
        "mapping": {
          "#microsoft.graph.printUsageByPrinter": "#/components/schemas/microsoft.graph.printUsageByPrinter",
          "#microsoft.graph.printUsageByUser": "#/components/schemas/microsoft.graph.printUsageByUser"
        }
      }
    }
  ]
}