DocumentΒΆ

A document contains following members:

  • type - collection identifier
  • id - unique document identifier
  • attributes - arbitrary properties
  • relationships - structured links to other documents

Type and ID together uniquely identify a document in an application. Attributes can contain various properties in the user-defined data structure. Relationships are properties with system predefined structure.