Function resolveStructuredReplySpec