| { | |
| "rule_1_product_has_one_variant": { | |
| "description": "Every product has exactly one variant_id", | |
| "products": 4440, | |
| "unique_variant_ids_per_product": 1, | |
| "pass": true | |
| }, | |
| "rule_2_variant_belongs_to_one_group": { | |
| "description": "Every variant belongs to exactly one group_id", | |
| "variants": 4299, | |
| "unique_groups_per_variant": 1, | |
| "pass": true | |
| }, | |
| "rule_3_no_product_multiple_variants": { | |
| "description": "No product maps to multiple variant_ids", | |
| "products_with_multiple_variants": 0, | |
| "pass": true | |
| }, | |
| "rule_4_variant_count": { | |
| "description": "Variant count in mapping equals variant table", | |
| "mapping_variants": 4299, | |
| "table_variants": 4299, | |
| "pass": true | |
| }, | |
| "rule_5_all_products_have_group": { | |
| "description": "All products have group_id", | |
| "null_group_ids": 0, | |
| "pass": true | |
| }, | |
| "rule_6_all_products_have_variant": { | |
| "description": "All products have variant_id", | |
| "null_variant_ids": 0, | |
| "pass": true | |
| }, | |
| "overall": { | |
| "result": "PASS" | |
| } | |
| } |