2.2.2.14 OperationModeErrorReply

OperationModeErrorReply structure defines the error reply due to incorrect operation mode specified by the client.

 {
     "id": "OperationModeErrorReply",
     "description": "Error reply from server for Operation mode",
     "allOf": [{
         "type": "object",
         "properties": {
             "__type": {
                 "enum": ["OperationModeErrorReply:#Microsoft.Windows.RemoteAttestation.Core"]
                 "required": true
                 }, 
             "ExpectedOperationMode": {
                 "type": {
                     "$ref": "[MS-HGSA]#/AttestationOperationMode"
                     "required": true
                 }
             }
         }
     },{
         "$ref": "[MS-HGSA]#/ErrorReply"
     }]    
 }

ExpectedOperationMode: Expected mode of operation from the server; possible modes of operation are specified in section 2.2.1.1.