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.
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]
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.
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!