-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new enterprise transaction data/signals
- Loading branch information
1 parent
f6a09f0
commit b144b20
Showing
12 changed files
with
592 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 98 additions & 0 deletions
98
...ests/schemas/org+openedx+enterprise_subsidies+ledger_transaction+committed+v1_schema.avsc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
{ | ||
"name": "CloudEvent", | ||
"type": "record", | ||
"doc": "Avro Event Format for CloudEvents created with openedx_events/schema", | ||
"fields": [ | ||
{ | ||
"name": "ledger_transaction", | ||
"type": { | ||
"name": "LedgerTransaction", | ||
"type": "record", | ||
"fields": [ | ||
{ | ||
"name": "uuid", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "created", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "modified", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "idempotency_key", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "quantity", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "state", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "ledger_uuid", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "subsidy_access_policy_uuid", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "lms_user_id", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "content_key", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "parent_content_key", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "fulfillment_identifier", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "reversal", | ||
"type": { | ||
"name": "LedgerTransactionReversal", | ||
"type": "record", | ||
"fields": [ | ||
{ | ||
"name": "uuid", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "created", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "modified", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "idempotency_key", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "quantity", | ||
"type": "long" | ||
}, | ||
{ | ||
"name": "state", | ||
"type": "string" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"namespace": "org.openedx.enterprise_subsidies.ledger_transaction.committed.v1" | ||
} |
Oops, something went wrong.