Skip to content

RelatedEntityRefOrValue

RelatedEntityRefOrValue

Data type: Extensible

A reference to an entity, where the type of the entity is not known in advance. A related entity defines a entity described by reference or by value linked to a specific entity. The polymorphic attributes @type, @schemaLocation & @referredType are related to the Entity and not the RelatedEntityRefOrValue class itself

Name Type Description Example
@type (1) string When sub-classing, this defines the sub-class Extensible name
role (1) string Role played by the related entity
entity (1) EntityRefOrValue
@baseType string When sub-classing, this defines the super-class
@schemaLocation string A URI to a JSON-Schema file that defines additional attributes and relationships