hansken_extraction_plugin.api.tracelet

This module contains the definition of a Tracelet.

Classes

Tracelet(name, value)

A tracelet contains the values of a single fvt (Few Valued Type).

class Tracelet(name: str, value: Mapping[str, Any])[source]

Bases: object

A tracelet contains the values of a single fvt (Few Valued Type).

A few valued type is a trace property type that is a collection of tracelets. A trace can contain multiple few valued types containing one or more tracelets. For example, the trace.identity` type may look like this:

{emailAddress: 'interesting@notreally.com'},
{firstName: 'piet'},
{emailAddress: 'anotheremail@notreally.com'},

The trace.identity few valued types contains three different tracelets.