namespace JSONAPI.Documents
{
///
/// Describes a relationship's linkage
///
public interface IResourceLinkage
{
///
/// Whether the linkage is to-many (true) or to-one (false).
///
bool IsToMany { get; }
///
/// The identifiers this linkage refers to. If IsToMany is true, this
/// property must return an array of length either 0 or 1. If false,
/// the array may be of any length. This property must not return null.
///
IResourceIdentifier[] Identifiers { get; }
}
}