if(!(propData.get("new_prop")instanceofJSONObjectnewProp))throwunprocessable("data must contain either add_prop.existing_prop_id or add_prop.new_prop!");
if(!(newProp.get(NAME)instanceofStringname)||name.isBlank())throwunprocessable("data.add_prop.new_prop does not contain name!");