// Represents the scanner state.

message ScannerStateSection {

// Supported device states.
enum StateType {

  // Device is ready to accept jobs. Self-testing, low power and all other
  // states in which the device can start processing newly submitted jobs
  // without user intervention should be mapped into this state.
  IDLE = 0;

  // Processing jobs (e.g. printing).
  PROCESSING = 1;

  // Device cannot process jobs. User should fix the problem to resume the
  // processing (e.g. printer is out of paper).
  STOPPED = 2;
}

// Current scanner state (required).
optional StateType state = 1;

}