Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 30 Oct 2026. What's built · Install 0.1.0
jadpo
Reference: Data

Data · rule

data.duplicate_rule

Unique rule or index repeats another.

Area 5, Data; not declinable; the next step is usually the agent's.

The same two fields in another order are the same rule:

example
entity Account {    id: Uuid    tenant: Text    handle: Text    unique: {        tenant_handle: [tenant, handle]        handle_tenant: [handle, tenant]    }}
text
error: The unique rule `handle_tenant` repeats `tenant_handle` --> main.jadpo:8:9  |7 |         tenant_handle: [tenant, handle]  |         ------------- first here8 |         handle_tenant: [handle, tenant]  |         ^^^^^^^^^^^^^ same fields  reason: Both cover the same fields, in whatever order, so they are one rule; a write's conflict names one of them (area 6).  next: Remove `handle_tenant` (agent)  rule: data.duplicate_rule  help: https://jadpo.dev/docs/errors/data.duplicate_rulecheck failed: 1 error, 1 file

Markdown for agents: /docs/errors/data.duplicate_rule.md.Built from Jadpo main at a707efb.