Spec drafted by the agent
entities:
- name: Transaction
attributes:
- name: id
type: string
generator: {type: sequence, prefix: "TXN_", start: 100000}
- name: category
type: string
generator: {type: list, values: ["grocery", "fuel", "dining"]}
- name: amount
type: float
generator: {type: distribution, distribution: uniform, min: 1.5, max: 480}
events:
- name: RecordSale
trigger:
type: start
actions:
- create_entity:
entity: Transaction
- log:
channel: transactions
data:
id: Transaction.id
category: Transaction.category
amount: Transaction.amount
logs:
- name: transactions
format: csv
fields: [id, category, amount]