> But weirdly given its focus on schemas I couldn't find any way for a document to link to a schema in-band!
In cue there's no real distinction between "schemas" and "documents". If you say:
value: string
value: "abc"
then cue "unifies" the definitions for `value`, sees that "abc" is a string, and therefore `value` is valid.