Data Contract
urn:datacontract:checkout:orders-latest-nested
Info
Information about the data contract
- Title
- Orders Latest (Nested)
- Version
- 1.0.0
- Description
- Successful customer orders in the webshop. All orders since 2020-01-01. Orders with their line items are in their current state (no history included).
- Owner
- Checkout Team
- Contact
- John Doe (Data Product Owner)
Terms
Terms and conditions of the data contract
- Usage
- Data can be used for reports, analytics and machine learning use cases. Order may be linked and joined by other tables
- Limitations
- Not suitable for real-time use cases. Data may not be used to identify individual customers. Max data processing per day: 10 TiB
- Billing
- 5000 USD per month
- Notice Period
- P3M
Data Model
The logical data model
orders
table
One record per order. Includes cancelled and deleted orders.
|
||
---|---|---|
text |
An internal ID that identifies an order in the online shop.
Example: 243c25e5-a081-43a9-aeab-6d5d5b6cb5e2
primary
required
unique
format:uuid
restricted
PII
|
|
order_timestamp
|
timestamp |
The business timestamp in UTC when the order was successfully registered in the source system and the payment was successful.
required
|
order_total
|
long |
Total amount the smallest monetary unit (e.g., cents).
required
|
customer_id
|
text |
Unique identifier for the customer.
minLength:10
maxLength:20
|
customer_email_address
|
text |
The email address, as entered by the customer. The email address was not verified.
required
format:email
|
address
|
object |
The delivery address of the customer.
|
↳
street
|
text |
The street name and house number.
|
↳
city
|
text |
The city name.
|
↳
additional_lines
|
array |
Additional address lines, such as floor, apartment, or company name.
|
processed_timestamp
|
timestamp |
The timestamp when the record was processed by the data platform.
required
|
line_items
table
A single article that is part of an order.
|
||
---|---|---|
lines_item_id
|
text |
Primary key of the lines_item_id table
primary
required
unique
|
text |
An internal ID that identifies an order in the online shop.
Example: 243c25e5-a081-43a9-aeab-6d5d5b6cb5e2
format:uuid
restricted
PII
|
|
text |
The purchased article number
Example: 96385074
pattern:^[A-Za-z0-9]{8,14}$
|
Definitions
Domain specific definitions in the data contract
order_id
checkout
An internal ID that identifies an order in the online shop.
|
||
---|---|---|
Order ID
order_id
|
text
uuid
|
Example: 243c25e5-a081-43a9-aeab-6d5d5b6cb5e2
restricted
PII
|
sku
inventory
A Stock Keeping Unit (SKU) is an internal unique identifier for an article.
It is typically associated with an article's barcode, such as the EAN/GTIN.
|
||
---|---|---|
Stock Keeping Unit
sku
|
text
|
Example: 96385074
pattern:^[A-Za-z0-9]{8,14}$
|
Created at 27 Jun 2024 14:50:06 UTC with Data Contract CLI v0.10.8