Microsoft Graph · Schema

microsoft.graph.printJob

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphprintjob-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.printJob",
  "title": "microsoft.graph.printJob",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "printJob",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "acknowledgedDateTime": {
          "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 dateTimeOffset when the job was acknowledged. Read-only.",
          "format": "date-time",
          "nullable": true
        },
        "configuration": {
          "$ref": "#/components/schemas/microsoft.graph.printJobConfiguration"
        },
        "createdBy": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.userIdentity"
            },
            {
              "type": "object",
              "nullable": true
            }
          ]
        },
        "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 DateTimeOffset when the job was created. Read-only.",
          "format": "date-time"
        },
        "errorCode": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The error code of the print job. Read-only.",
          "format": "int32",
          "nullable": true
        },
        "isFetchable": {
          "type": "boolean",
          "description": "If true, document can be fetched by printer."
        },
        "redirectedFrom": {
          "type": "string",
          "description": "Contains the source job URL, if the job has been redirected from another printer.",
          "nullable": true
        },
        "redirectedTo": {
          "type": "string",
          "description": "Contains the destination job URL, if the job has been redirected to another printer.",
          "nullable": true
        },
        "status": {
          "$ref": "#/components/schemas/microsoft.graph.printJobStatus"
        },
        "documents": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.printDocument"
          },
          "x-ms-navigationProperty": true
        },
        "tasks": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.printTask"
          },
          "description": "A list of printTasks that were triggered by this print job.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.printJob"
}