Skip to content

entity-cadence-config schema

One config row for the generic engine-entity.cadence-generator job — create new target-entity rows on a cadence, source-driven or standalone, deduped.

Pull the full JSON Schema: erp schema pull entity-cadence-config  ·  MCP: erp_get_schema {"name":"entity-cadence-config"}

Top-level properties

PropertyTypeRequiredNotes
cadence_codestringyesStable identifier / natural key for idempotent seeding.
target_entitystringyes
interval_daysintegeryesMinimum days between generations; the job stamps last_generated_at on its own config row after each run.
last_generated_atstringManaged by the job; leave unset in seed files.
template_jsonobjectStatic field values for each created row. String values may use ${date} ${ts} ${uuid} ${sourceId} placeholders.
source_entitystringSet for source-driven generation (one target row per due source row); leave blank for a standalone single-row generator.
source_filter_fieldstring
source_filter_valuestring
source_status_fieldstring
source_status_instring
source_date_fieldstringOnly source rows whose date_field <= now + due_within_days are generated from.
due_within_daysinteger
field_map_jsonobject{ targetField: sourceField } - copies values from each source row.
dedupe_target_fieldstringTarget column holding the source row id (source-driven) or the cadence marker (standalone) - the idempotency key.
seeded_bystring
activebooleanyes