{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rockwell-automation/json-schema/rockwell-automation-process-steps-report-response-dto-schema.json",
  "title": "ProcessStepsReportResponseDto",
  "description": "A response object containing the data that defines a row in a process step report.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rockwell-automation-digital-work-instructions-api-api-openapi.yml#/components/schemas/ProcessStepsReportResponseDto",
  "type": "object",
  "properties": {
    "jobNo": {
      "type": "string",
      "description": "The job number."
    },
    "partNo": {
      "type": "string",
      "description": "The part number."
    },
    "operationNo": {
      "type": "string",
      "description": "The operation number."
    },
    "operation": {
      "type": "string",
      "description": "The operation code."
    },
    "workcenter": {
      "type": "string",
      "description": "The workcenter where the process step is performed."
    },
    "serialNo": {
      "type": "string",
      "description": "The container serial number."
    },
    "processGroup": {
      "type": "string",
      "description": "The process group name."
    },
    "processStep": {
      "type": "string",
      "description": "The process step name."
    },
    "processGroupStepStatus": {
      "type": "string",
      "description": "The status of the process group or process step."
    },
    "action": {
      "type": "string",
      "description": "The action assigned to the process step. Possible values: &quot;Informational&quot;, &quot;Checksheet&quot;, &quot;InstallBOM&quot;, &quot;ToolComponent&quot;, &quot;ValidateComponent&quot;."
    },
    "startedDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time when the process step was started."
    },
    "startedBy": {
      "type": "string",
      "description": "The user that started the process step."
    },
    "completedDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time when the process step was completed."
    },
    "completedBy": {
      "type": "string",
      "description": "The user that completed the process step."
    },
    "plannedDuration": {
      "type": "string",
      "format": "date-span",
      "description": "The planned duration for the process step."
    },
    "actualDuration": {
      "type": "string",
      "format": "date-span",
      "description": "The actual duration of the process step."
    },
    "deviation": {
      "type": "string",
      "description": "The deviation for the process step's duration."
    },
    "timeRemaining": {
      "type": "string",
      "format": "date-span",
      "description": "The remaining time for in-use jobs. This value is only present when filtering by jobs in use on the Control Panel."
    },
    "toolDeviceProcessStepReport": {
      "$ref": "#/$defs/ToolDeviceProcessStepReportDto"
    },
    "scannedValues": {
      "$ref": "#/$defs/ScannedValuesDto"
    }
  },
  "$defs": {
    "ScannedValuesDto": {
      "type": "object",
      "description": "A model containing the data that defines the scanned values captured by a Validate Component process step.",
      "properties": {
        "scannedPart": {
          "type": "string",
          "description": "The scanned part number."
        },
        "scannedSerial": {
          "type": "string",
          "description": "The scanned container serial number."
        },
        "scannedLot": {
          "type": "string",
          "description": "The scanned lot number."
        },
        "scannedPiece": {
          "type": "string",
          "description": "The scanned piece."
        }
      }
    },
    "ToolDeviceProcessStepReportDto": {
      "type": "object",
      "description": "A model containing the data that defines tool-device details for a Tool Component process step.",
      "properties": {
        "timingDetails": {
          "type": "array",
          "description": "One or more sets of timing details for the tool-device.",
          "items": {
            "type": "object",
            "description": "The timing and audit details for the execution of a process step using tool-devices.",
            "properties": {}
          }
        },
        "inputParameters": {
          "type": "array",
          "description": "One or more input parameters for the tool-device.",
          "items": {
            "type": "object",
            "description": "A model containing the data that defines a tool-device's input parameter.",
            "properties": {}
          }
        },
        "outputDetails": {
          "type": "array",
          "description": "One or more sets of output details for the tool-device.",
          "items": {
            "type": "object",
            "description": "A model containing the data that defines tool-device output details.",
            "properties": {}
          }
        }
      }
    }
  }
}