George-Octoparse's picture
feat: v2.0.0 real data - schema.json
e7007fa verified
{
"dataset_id": "Octoparse/temu-ecommerce-pricing-workflow-sample",
"version": "2.0.0",
"tables": {
"products": {
"file": "products.parquet",
"primary_key": "spu_id",
"row_count": 85,
"fields": {
"spu_id": { "type": "string", "nullable": false, "description": "Temu SPU (Standard Product Unit) ID — product-level identifier" },
"product_url": { "type": "string", "nullable": false, "description": "Canonical Temu mobile product URL" },
"is_on_sale": { "type": "boolean", "nullable": false, "description": "Whether the product is currently purchasable" },
"not_on_sale_reason": { "type": "string", "nullable": true, "description": "Reason text if product is off sale; null for all active products" },
"goods_property_summary":{ "type": "string", "nullable": true, "description": "Semicolon-delimited key:value product property bag (material, style, occasion, etc.)" }
}
},
"skus": {
"file": "skus.parquet",
"primary_key": "sku_id",
"foreign_key": { "field": "spu_id", "references": "products.spu_id" },
"row_count": 382,
"fields": {
"sku_id": { "type": "string", "nullable": false, "description": "Temu SKU (Stock Keeping Unit) ID — variant-level identifier" },
"spu_id": { "type": "string", "nullable": false, "description": "FK → products.spu_id" },
"sku_main_pic": { "type": "string", "nullable": true, "description": "CDN URL of the SKU's primary image" },
"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)" },
"sku_discounted_price": { "type": "float64", "nullable": true, "unit": "USD", "description": "Current selling price at scrape time" },
"discount_pct": { "type": "float64", "nullable": true, "description": "Computed: (original - discounted) / original. Only populated when both prices present. Range: 0–0.82." },
"sale_attr_color": { "type": "string", "nullable": true, "description": "Color variant label (e.g. 'Black', 'Rose Red')" },
"sale_attr_size": { "type": "string", "nullable": true, "description": "Size variant label. Format varies: numeric (8), range (6.5-7), age (3-4Y)" },
"sale_attr_quantity": { "type": "string", "nullable": true, "description": "Quantity or bundle variant label. Often free text, not purely numeric." },
"sale_attr_capacity": { "type": "string", "nullable": true, "description": "Capacity variant (e.g. storage, volume). Sparse: <1% populated." },
"sale_attr_model": { "type": "string", "nullable": true, "description": "Model variant label. Sparse: ~2% populated." },
"sale_attr_style": { "type": "string", "nullable": true, "description": "Style variant label. Sparse: ~1% populated." },
"sale_attr_compatible_model":{ "type": "string", "nullable": true, "description": "Device compatibility variant. Sparse: ~1% populated." },
"sale_property_summary": { "type": "string", "nullable": true, "description": "Pipe-delimited human-readable summary of all sale_attr_* fields for this SKU" }
}
}
}
}