feat: v2.0.0 real data - schema.json
Browse files- schema.json +40 -0
schema.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset_id": "Octoparse/temu-ecommerce-pricing-workflow-sample",
|
| 3 |
+
"version": "2.0.0",
|
| 4 |
+
"tables": {
|
| 5 |
+
"products": {
|
| 6 |
+
"file": "products.parquet",
|
| 7 |
+
"primary_key": "spu_id",
|
| 8 |
+
"row_count": 85,
|
| 9 |
+
"fields": {
|
| 10 |
+
"spu_id": { "type": "string", "nullable": false, "description": "Temu SPU (Standard Product Unit) ID — product-level identifier" },
|
| 11 |
+
"product_url": { "type": "string", "nullable": false, "description": "Canonical Temu mobile product URL" },
|
| 12 |
+
"is_on_sale": { "type": "boolean", "nullable": false, "description": "Whether the product is currently purchasable" },
|
| 13 |
+
"not_on_sale_reason": { "type": "string", "nullable": true, "description": "Reason text if product is off sale; null for all active products" },
|
| 14 |
+
"goods_property_summary":{ "type": "string", "nullable": true, "description": "Semicolon-delimited key:value product property bag (material, style, occasion, etc.)" }
|
| 15 |
+
}
|
| 16 |
+
},
|
| 17 |
+
"skus": {
|
| 18 |
+
"file": "skus.parquet",
|
| 19 |
+
"primary_key": "sku_id",
|
| 20 |
+
"foreign_key": { "field": "spu_id", "references": "products.spu_id" },
|
| 21 |
+
"row_count": 382,
|
| 22 |
+
"fields": {
|
| 23 |
+
"sku_id": { "type": "string", "nullable": false, "description": "Temu SKU (Stock Keeping Unit) ID — variant-level identifier" },
|
| 24 |
+
"spu_id": { "type": "string", "nullable": false, "description": "FK → products.spu_id" },
|
| 25 |
+
"sku_main_pic": { "type": "string", "nullable": true, "description": "CDN URL of the SKU's primary image" },
|
| 26 |
+
"sku_original_price": { "type": "float64", "nullable": true, "unit": "USD", "description": "Pre-discount list price. Null for ~69% of SKUs (no strikethrough price shown on Temu)" },
|
| 27 |
+
"sku_discounted_price": { "type": "float64", "nullable": true, "unit": "USD", "description": "Current selling price at scrape time" },
|
| 28 |
+
"discount_pct": { "type": "float64", "nullable": true, "description": "Computed: (original - discounted) / original. Only populated when both prices present. Range: 0–0.82." },
|
| 29 |
+
"sale_attr_color": { "type": "string", "nullable": true, "description": "Color variant label (e.g. 'Black', 'Rose Red')" },
|
| 30 |
+
"sale_attr_size": { "type": "string", "nullable": true, "description": "Size variant label. Format varies: numeric (8), range (6.5-7), age (3-4Y)" },
|
| 31 |
+
"sale_attr_quantity": { "type": "string", "nullable": true, "description": "Quantity or bundle variant label. Often free text, not purely numeric." },
|
| 32 |
+
"sale_attr_capacity": { "type": "string", "nullable": true, "description": "Capacity variant (e.g. storage, volume). Sparse: <1% populated." },
|
| 33 |
+
"sale_attr_model": { "type": "string", "nullable": true, "description": "Model variant label. Sparse: ~2% populated." },
|
| 34 |
+
"sale_attr_style": { "type": "string", "nullable": true, "description": "Style variant label. Sparse: ~1% populated." },
|
| 35 |
+
"sale_attr_compatible_model":{ "type": "string", "nullable": true, "description": "Device compatibility variant. Sparse: ~1% populated." },
|
| 36 |
+
"sale_property_summary": { "type": "string", "nullable": true, "description": "Pipe-delimited human-readable summary of all sale_attr_* fields for this SKU" }
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|