A financial transaction (PSD2) example contract.

Used in No domains specified
for finance fintech

A basic contract to illustrate and model the privacy implications of financial/PSD2 data in a STRM schema.

In this example, we require account names (probably direct PII) to have the highest purpose value.

Event Contract reference

strm-demo/PSD2-example-contract/1.0.0

Schema reference

strm-demo/PSD2-example-schema/1.0.0

Event contract overview

TypeFieldValueDescription
Key fieldpaidFromAccountNumberLinks events to the associated field for privacy processing.
PII fieldpaidFromAccountName2needs consent
PII fieldpaidFromAccountNumber1needs consent
PII fieldpaidToAccountName2needs consent
PII fieldpaidToAccountNumber1needs consent
ValidationsnoneNo validations applied

Serialization schema fields

FieldDescription
paidFromAccountNumberthe account the transaction originates from
paidFromAccountNamethe name of the transaction origin account
descriptionthe transaction description
paidToAccountNumberthe account the transaction was added to
paidToAccountNamethe name of the account the transaction was added to
currency.
amount.