#
Rosetta Entities
#
Entity types
The following table lists all available Rosetta entities, their location in the Rosetta config YAML and their types.
#
Provider (Cached file)
The Cached File Proteus Provider is a specialised version of the Simple Proteus Provider that can be used to improve performance when the data is coming from very large files.
On the first request, it caches the entire provider result set in memory, then a subset of the cached data can be retrieved
in subsequent requests using the paging request parameters from
and size
.
The cache is automatically cleared after a period of access inactivity, or if the file located at file
in the config properties
is modified.
#
Custom Type Repository (File)
Custom type repositories allow custom components to be defined as Proteus spec snippets, which are each associated with a type name.
A custom component can then be invoked by specifying its type name in the #type
field of a component spec.
The file
custom type repository allows a base file path to be specified, and if this path points to a directory, then
all readable json files within this directory will be scanned and registered against a type name derived either
from its file path or from a top-level key within the JSON definition.
See
#
Config Properties
#
Proteus Config
The following table lists all properties available to a Proteus Config object, which can be considered a (de)serializable
version of the Config
object. Proteus Config objects are
used in multiple areas of the overall config such as Rosetta entities and the POST /proteus/transform
API endpoint.
#
Plugin Properties
The following table lists all properties that are specific to the Proteus Rosetta plugin.
#
Entity Config
The following table lists all properties available to Rosetta entities.
If a property is only applicable to a specific type of Rosetta entity, then applicable entity types are listed the
column Entity
. Note that all property paths are relative to the entry within their respective entity list.
E.g. for Glyphs the full path for the property spec
will be rosetta.transform.glyphs[].properties.spec
.
See table in