{
"submitOrderRequest": {
"requestHeader": {
"companyCode": "MSD Code",
"accountNumber": "989898989",
"billingLanguage": "EN",
"operation": "NewActivation"
},
"requestBody": {
"device": [
{
"lineID": "4",
"parentLineID": "0",
"sku": "IP1264WHT",
"quantity": "1",
"WirelessOptions": [
{
"optionsSocMSF": "169.00",
"optionsSocType": "REGULAR",
"optionsSocOneTimeFee": "NO"
}
]
}
]
}
}
}
I am trying to make " "lineID","parentLineID","sku","quantity"" Mandatory based on "operation" property value . The operation has enum defined for it ["enum":"NewActivation","Hardware","Software"] .