A generation of Event Notifications
yarn install
# Clean the previous run
yarn run clean
# Generate notifications from scenarios
yarn run all
# In case you want a Solid endpoint to the output
yarn run serve
To add a scenario, create a YAML file in the scenarios directory. Each YAML scenario may contain the following fields:
$
: zero or more subdirectories where to store the serialized notification (optional)@context
: optional JSON-LD contextid
: activity identifiertype
: activity typesactor
: identifier of an actor defined in config/agentsorigin
: identifier of an origin defined in config/agentscontext
: identifier of a context object defined in config/objectsinReplyTo
: identifier of a notificationobject
: identifier of an object defined in config/objectstarget
: identifier of a target defined in config/agents
Each output directory will contain a .meta
file and ldes.jsonld
file to support Event Log experiments
- [01-99]* : Event log for individual artifacts hosted by data nodes in all scenarios
- [a-z]* : Event log for all notifications of a data/service node in all scenarios