1 of 24

2 of 24

3 of 24

4 of 24

5 of 24

6 of 24

7 of 24

8 of 24

9 of 24

10 of 24

11 of 24

12 of 24

13 of 24

14 of 24

15 of 24

16 of 24

17 of 24

18 of 24

name: Customer

description: A customer of our e-commerce website.

version: 1

fields:

id:

type: string

description: The unique identifier for the customer.

required: true

name:

type: string

description: The name of the customer.

required: true

email:

type: string

description: The email address of the customer.

required: true

language:

type: string

description: The language preference of the customer.

19 of 24

name: Customer

description: A customer of our e-commerce website.

owner: product-team@data-contracts.com

version: 1

slos:

timeliness: 1hr

fields:

id:

type: string

description: The unique identifier for the customer.

required: true

name:

type: string

description: The name of the customer.

required: true

email:

type: string

description: The email address of the customer.

pattern: "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$"

required: true

language:

type: string

description: The language preference of the customer.

enum: [en, fr, es]

20 of 24

name: Customer

description: A customer of our e-commerce website.

version: 1

fields:

id:

type: string

description: The unique identifier for the customer.

required: true

name:

type: string

description: The name of the customer.

required: true

anonymization_strategy: hex

email:

type: string

description: The email address of the customer.

required: true

anonymization_strategy: email

language:

type: string

description: The language preference of the customer.

21 of 24

22 of 24

23 of 24

24 of 24

There’s much more to data contracts than I had time to talk about here.

To find out more, check out my FREE Data Contracts 101 eBook at https://dc101.io.

Find out more about me at https://andrew-jones.com.

/in/andrewrhysjones

Thanks!