For each Relationship, validates relating / related object
types against the schema's allowedRelatingTypes /
allowedRelatedTypes lists, honouring super-type inheritance.
Promotes self-references to errors when the schema sets
allowSelfReference: false (default).
Opt-in via InspectDataModelParams.checkRelationshipTypeBinding.
For each Relationship, validates relating / related object types against the schema's
allowedRelatingTypes/allowedRelatedTypeslists, honouring super-type inheritance. Promotes self-references to errors when the schema setsallowSelfReference: false(default).