Supported source data

Choose data that Smart Citations can copy and fingerprint.

Use strings, booleans, finite numbers, null, dense arrays, or plain objects with enumerable string keys. You can reuse the same nested value in multiple fields as long as it does not form a cycle.

Convert dates, maps, sets, and other class instances to JSON data before adding them. The collection rejects undefined, nonfinite numbers, bigints, functions, symbols, symbol keys, sparse arrays, extra array properties, accessors, and objects with non-enumerable properties or custom or null prototypes.

When the extension rejects a value, inspect CitationError.details.path to find the field, such as data.sections.0.title or revision.

These rules also apply to values returned by a revision selector. See source collections for how to add and update sources.