mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-02 04:43:58 +00:00
Add OpenABTest draft experiment and accounting contracts (#180)
This commit is contained in:
parent
123ba2e39a
commit
d8b3126782
25 changed files with 1410 additions and 12 deletions
22
packages/schemas/fixtures/openabtest/adjustment.json
Normal file
22
packages/schemas/fixtures/openabtest/adjustment.json
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"openabtest": "0.1-draft",
|
||||
"producerId": "chovy-server",
|
||||
"manifestId": "chovy-signup-discount-v1",
|
||||
"manifestRevision": 1,
|
||||
"participantId": "participant-opaque-7d12",
|
||||
"at": "2026-09-15T12:00:00Z",
|
||||
"id": "event-adjustment-42",
|
||||
"kind": "adjustment",
|
||||
"payload": {
|
||||
"assignmentId": "assignment-42",
|
||||
"variantId": "signup-10",
|
||||
"conversionId": "purchase-42",
|
||||
"adjustmentId": "refund-42",
|
||||
"currency": "USD",
|
||||
"amountMinor": -3600,
|
||||
"reason": "refund",
|
||||
"proofRefs": [
|
||||
"refund-proof-42"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue