File size: 6,598 Bytes
0510038
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
  "metadata": {
    "dbt_schema_version": "https://schemas.getdbt.com/dbt/manifest/v10.json",
    "dbt_version": "1.7.0",
    "project_name": "ecommerce_analytics",
    "generated_at": "2025-11-20T10:30:00Z"
  },
  "nodes": {
    "source.ecommerce.raw.customers": {
      "resource_type": "source",
      "name": "customers",
      "schema": "raw",
      "database": "ecommerce_db",
      "columns": {
        "customer_id": {"name": "customer_id", "data_type": "integer"},
        "email": {"name": "email", "data_type": "varchar"},
        "created_at": {"name": "created_at", "data_type": "timestamp"},
        "country": {"name": "country", "data_type": "varchar"}
      }
    },
    "source.ecommerce.raw.orders": {
      "resource_type": "source",
      "name": "orders",
      "schema": "raw",
      "database": "ecommerce_db",
      "columns": {
        "order_id": {"name": "order_id", "data_type": "integer"},
        "customer_id": {"name": "customer_id", "data_type": "integer"},
        "order_date": {"name": "order_date", "data_type": "date"},
        "total_amount": {"name": "total_amount", "data_type": "decimal"},
        "status": {"name": "status", "data_type": "varchar"}
      }
    },
    "source.ecommerce.raw.products": {
      "resource_type": "source",
      "name": "products",
      "schema": "raw",
      "database": "ecommerce_db",
      "columns": {
        "product_id": {"name": "product_id", "data_type": "integer"},
        "product_name": {"name": "product_name", "data_type": "varchar"},
        "category": {"name": "category", "data_type": "varchar"},
        "price": {"name": "price", "data_type": "decimal"}
      }
    },
    "source.ecommerce.raw.order_items": {
      "resource_type": "source",
      "name": "order_items",
      "schema": "raw",
      "database": "ecommerce_db",
      "columns": {
        "order_item_id": {"name": "order_item_id", "data_type": "integer"},
        "order_id": {"name": "order_id", "data_type": "integer"},
        "product_id": {"name": "product_id", "data_type": "integer"},
        "quantity": {"name": "quantity", "data_type": "integer"},
        "unit_price": {"name": "unit_price", "data_type": "decimal"}
      }
    },
    "model.ecommerce.stg_customers": {
      "resource_type": "model",
      "name": "stg_customers",
      "schema": "staging",
      "database": "ecommerce_db",
      "depends_on": {
        "nodes": ["source.ecommerce.raw.customers"]
      },
      "columns": {
        "customer_id": {"name": "customer_id", "data_type": "integer"},
        "email": {"name": "email", "data_type": "varchar"},
        "signup_date": {"name": "signup_date", "data_type": "date"},
        "country": {"name": "country", "data_type": "varchar"}
      }
    },
    "model.ecommerce.stg_orders": {
      "resource_type": "model",
      "name": "stg_orders",
      "schema": "staging",
      "database": "ecommerce_db",
      "depends_on": {
        "nodes": ["source.ecommerce.raw.orders"]
      },
      "columns": {
        "order_id": {"name": "order_id", "data_type": "integer"},
        "customer_id": {"name": "customer_id", "data_type": "integer"},
        "order_date": {"name": "order_date", "data_type": "date"},
        "total_amount": {"name": "total_amount", "data_type": "decimal"},
        "order_status": {"name": "order_status", "data_type": "varchar"}
      }
    },
    "model.ecommerce.stg_products": {
      "resource_type": "model",
      "name": "stg_products",
      "schema": "staging",
      "database": "ecommerce_db",
      "depends_on": {
        "nodes": ["source.ecommerce.raw.products"]
      }
    },
    "model.ecommerce.stg_order_items": {
      "resource_type": "model",
      "name": "stg_order_items",
      "schema": "staging",
      "database": "ecommerce_db",
      "depends_on": {
        "nodes": ["source.ecommerce.raw.order_items"]
      }
    },
    "model.ecommerce.int_orders_enriched": {
      "resource_type": "model",
      "name": "int_orders_enriched",
      "schema": "intermediate",
      "database": "ecommerce_db",
      "depends_on": {
        "nodes": [
          "model.ecommerce.stg_orders",
          "model.ecommerce.stg_order_items",
          "model.ecommerce.stg_products"
        ]
      },
      "description": "Orders joined with order items and product details"
    },
    "model.ecommerce.int_customer_orders": {
      "resource_type": "model",
      "name": "int_customer_orders",
      "schema": "intermediate",
      "database": "ecommerce_db",
      "depends_on": {
        "nodes": [
          "model.ecommerce.stg_customers",
          "model.ecommerce.stg_orders"
        ]
      },
      "description": "Customers joined with their orders"
    },
    "model.ecommerce.fct_orders": {
      "resource_type": "model",
      "name": "fct_orders",
      "schema": "marts",
      "database": "ecommerce_db",
      "depends_on": {
        "nodes": [
          "model.ecommerce.int_orders_enriched",
          "model.ecommerce.int_customer_orders"
        ]
      },
      "description": "Fact table for order analytics"
    },
    "model.ecommerce.dim_customers": {
      "resource_type": "model",
      "name": "dim_customers",
      "schema": "marts",
      "database": "ecommerce_db",
      "depends_on": {
        "nodes": ["model.ecommerce.int_customer_orders"]
      },
      "description": "Customer dimension with order metrics"
    },
    "model.ecommerce.dim_products": {
      "resource_type": "model",
      "name": "dim_products",
      "schema": "marts",
      "database": "ecommerce_db",
      "depends_on": {
        "nodes": ["model.ecommerce.stg_products"]
      },
      "description": "Product dimension table"
    },
    "model.ecommerce.rpt_daily_sales": {
      "resource_type": "model",
      "name": "rpt_daily_sales",
      "schema": "reporting",
      "database": "ecommerce_db",
      "depends_on": {
        "nodes": [
          "model.ecommerce.fct_orders",
          "model.ecommerce.dim_products"
        ]
      },
      "description": "Daily sales report by product category"
    },
    "model.ecommerce.rpt_customer_ltv": {
      "resource_type": "model",
      "name": "rpt_customer_ltv",
      "schema": "reporting",
      "database": "ecommerce_db",
      "depends_on": {
        "nodes": [
          "model.ecommerce.fct_orders",
          "model.ecommerce.dim_customers"
        ]
      },
      "description": "Customer lifetime value analysis"
    }
  },
  "notes": "Sample dbt manifest representing an e-commerce analytics project with staging, intermediate, mart, and reporting layers."
}