using System.Collections.Generic;
using Newtonsoft.Json.Linq;
namespace JSONAPI.Documents
{
///
/// Represents a JSON API resource object
///
public interface IResourceObject
{
///
/// The type of the resource
///
string Type { get; }
///
/// The ID of the resource
///
string Id { get; }
///
/// Attributes of the resource
///
IDictionary Attributes { get; }
///
/// Relationships between the resource and other JSON API resources
///
IDictionary Relationships { get; }
///
/// A link to the resource
///
ILink SelfLink { get; }
///
/// Metadata about this particular resource
///
IMetadata Metadata { get; }
}
}