There are some string constants used around the API, e.g. relation type, association, and so on, but there is no clue anywhere about what values should be used there.
These string constants should be typed, provided as constants, or at least documented.