{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-entra/json-schema/microsoft-entra-microsoft-graph-print-usage-by-printer-schema.json",
  "title": "microsoft.graph.printUsageByPrinter",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-entra-reports-printusagebyprinter-api-openapi.yml#/components/schemas/microsoft.graph.printUsageByPrinter",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.printUsage"
    },
    {
      "title": "printUsageByPrinter",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "printerId": {
          "type": "string",
          "description": "The ID of the printer represented by these statistics."
        },
        "printerName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the printer represented by these statistics."
        },
        "@odata.type": {
          "type": "string",
          "default": "#microsoft.graph.printUsageByPrinter"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.printUsageByPrinter",
  "$defs": {
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.printUsage": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "printUsage",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "blackAndWhitePageCount": {
              "type": [
                "number",
                "null"
              ],
              "format": "int64"
            },
            "colorPageCount": {
              "type": [
                "number",
                "null"
              ],
              "format": "int64"
            },
            "completedBlackAndWhiteJobCount": {
              "type": "number",
              "format": "int64"
            },
            "completedColorJobCount": {
              "type": "number",
              "format": "int64"
            },
            "completedJobCount": {
              "type": [
                "number",
                "null"
              ],
              "format": "int64"
            },
            "doubleSidedSheetCount": {
              "type": [
                "number",
                "null"
              ],
              "format": "int64"
            },
            "incompleteJobCount": {
              "type": "number",
              "format": "int64"
            },
            "mediaSheetCount": {
              "type": [
                "number",
                "null"
              ],
              "format": "int64"
            },
            "pageCount": {
              "type": [
                "number",
                "null"
              ],
              "format": "int64"
            },
            "singleSidedSheetCount": {
              "type": [
                "number",
                "null"
              ],
              "format": "int64"
            },
            "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"
            }
          }
        }
      ]
    }
  }
}