Strange that https://jsonapi.org/examples/ never went into the masses, I suspect because it came out around the same time as GraphQL.
For me it’s the perfect mix between doing REST from scratch and GraphQL.
And it comes with the similar include and expand pattern that Stripe v2 introduced.