@mntmn It looks like conventions for HATEOS in JSON ("… for a laugh. We already have that, it's called <link rel= …")
SQL is flat, tho, JSON is potentially infinitely fractally arbitrary, so it's hard, I think, to generically introspect. There's not and cannot be ISTM an INFORMATION_SCHEMA equivalent. One would have to iterate and bail out after a certain number of iterations; that is, incidentally, a way to render the Mandelbrot set :)
HATEOS seems a bit existential, I guess.