Spaces:
Sleeping
Sleeping
File size: 2,858 Bytes
f28838b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | {
"customers": {
"id": {
"description": "Surrogate primary key for a customer.",
"synonyms": [
"customer_id",
"cust id",
"client id"
]
},
"name": {
"description": "Customer full name.",
"synonyms": [
"customer name",
"client name",
"buyer name"
]
},
"email": {
"description": "Customer email address.",
"synonyms": [
"contact email"
]
},
"joined_at": {
"description": "Date the customer joined (ISO8601).",
"synonyms": [
"signup date",
"registration date",
"customer since"
]
},
"state": {
"description": "US state code for the customer's location.",
"synonyms": [
"region",
"location state",
"us state",
"state code"
]
},
"age": {
"description": "Customer age in years.",
"synonyms": [
"demographic age"
]
}
},
"orders": {
"id": {
"description": "Surrogate primary key for an order.",
"synonyms": [
"order id",
"po id"
]
},
"customer_id": {
"description": "Foreign key to customers.id.",
"synonyms": [
"buyer id",
"purchaser id",
"customer key"
]
},
"order_ts": {
"description": "Order timestamp (ISO8601, minute precision).",
"synonyms": [
"order date",
"order time",
"purchase time",
"txn time",
"transaction date",
"purchased at",
"created at"
]
},
"total_amount": {
"description": "Monetary total for the order; use SUM(total_amount) for revenue.",
"synonyms": [
"revenue",
"sales",
"order value",
"gmv",
"gross sales",
"turnover",
"order_total",
"amount",
"gross revenue",
"total",
"sales revenue"
],
"notes": "Canonical revenue; prefer SUM(orders.total_amount) for revenue totals."
}
},
"order_items": {
"id": {
"description": "Surrogate primary key for an order line item.",
"synonyms": [
"line id",
"item row id"
]
},
"order_id": {
"description": "Foreign key to orders.id.",
"synonyms": [
"parent order id"
]
},
"sku": {
"description": "Stock keeping unit identifier.",
"synonyms": [
"product code",
"item code",
"sku code"
]
},
"quantity": {
"description": "Units purchased on this line.",
"synonyms": [
"qty",
"units",
"count"
]
},
"price": {
"description": "Unit price for the SKU on this line.",
"synonyms": [
"unit price",
"item price"
]
}
}
} |