Documents

Documents are used to store data within a collection. They consist of properties defined in the blueprint. Datastore supports the following property types as per JSON Schema:

  • String (including format date, time, and datetime)

  • Number

  • Integer

  • Boolean

  • Array (mixed typed arrays are not allowed)

    • String (including format date, time, and datetime)

    • Number

    • Integer

    • Boolean

Document properties can also have a default value set in the blueprint if a default value is required.

Datastore provides properties with unique functionality, such as storing created and last edited datetimes.

Documents have the following actions that act on the document being stored;

Create

Add a new document with a user-specified document ID.

Edit

Update a document.

Delete

Delete the specified document.

Datastore allows documents to synchronize property values through an extending feature. This allows for some document values to be inherited from others.