Basic concepts

Pool

A pool is created to store data for a particular purpose. A pool is a logical collection of documents of the same type. Each pool has a name, a retention period for documents in the pool, and a JSON schema. The schema is used to understand the structure of the document and to enforce the integrity of documents stored in the pool. The schema is versioned. Each document is associated with a single version of the schema.

Schema

The schema is a JSON document that defines the structure of JSON documents in the pool. Schemas are versioned and numbered. When a document is written to a pool it is validated against the pool's latest schema unless a particular schema version is specified. Each schema has a size limit of 400KB.

Document

A document is a JSON object. Each document is stored in a pool and must be associated with a particular schema version.