Appearance
enrich-on-condition
workflow informA skill of the SOM skill library 0.2.2, as SOM Managed Bus checks its configured instances. The library file is the specification; this page is generated from the bus's code.
| Skill id | smart-stories/enrich-on-condition |
| Version | 0.2.2 (suite som-1.0.0+lib-0.2.2) |
| Category | workflow |
| Severity range | inform |
| Authority scale | Required: the skill compares authorities, so each configured instance carries your scale, most senior first |
Recalls on
An executor running this skill subscribes to these message types, and always to story.context (the executor contract).
| Message type | Spec |
|---|---|
asset.ingested | pending spec no SOM 1.0 schema: what that means |
asset.updated | pending spec no SOM 1.0 schema: what that means |
story.context | SOM 1.0 schema: story-context |
2 of these 3 have no SOM 1.0 schema yet: an executor uses them only as wake-ups.
Configuration
A configured instance sets these values, with its own instance_label (every warning it raises carries it as rule_id). Unknown fields are refused, so a typo never falls back to a default.
| Field | Kind | Required | What it is |
|---|---|---|---|
condition_path | path | Yes | The dot path the condition tests |
condition_value | literal | Yes | The value that warrants the enrichment |
enrichment | text | Yes | The name of the enrichment declared warranted, for example synthetic-media-analysis |
enrichment_record_path | text | Yes | Where a record of this enrichment is written on the asset |
clearing_authority | authority | Yes | The authority at or above which an assertion on the same scope closes a declaration. On the authority scale |
applies_to_position | texts | No | Which evidential positions are in scope. Defaults to all |
reason_template | text | No | House wording for detail |
What each kind accepts: field kinds.
Check your values
Check a configured instance before you register it, with the skill catalogue API; nothing is stored. A publisher registers it on the portal: Run skills in your house.
All skills: skill library catalogue.