Top-level links vs. resource-level links for item resources

In JSON:API, links for item-resources can either be put on top-level or on resource-level.

Is there a best practice to prefer the one or the other (or even both)?

I am the author of a JSON:API implementation for Spring HATEOAS
I am thinking about making the preferred style configurable.

What do you think?