{"service":"PAL Catalog Remediation Plan","sample":true,"demo_note":"This intentionally flawed sample shows the prioritized actions returned for common feed problems.","input":{"records":[{"id":"sku-demo","title":"","link":"http://example.com/products/sku-demo","image_link":"not-a-url","gtin":"4006381333932","brand":"","mpn":"SKU-DEMO","price":"19.99","availability":"available","identifier_exists":true},{"id":"sku-demo","title":"Second demo variant","link":"https://example.com/products/sku-demo-2","image_link":"https://example.com/images/sku-demo-2.jpg","gtin":"","brand":"","mpn":"","price":"22.00 USD","availability":"in_stock","identifier_exists":true}]},"result":{"service":"PAL Catalog Remediation Plan","generated_at":"2026-10-05T14:10:55.184Z","readiness":"needs_remediation","summary":{"records":2,"issues":8,"errors":6,"warnings":2,"actions":8,"critical_actions":1,"high_actions":5},"prioritized_actions":[{"code":"ID_DUPLICATE","priority":"critical","action":"Deduplicate product IDs and preserve one stable ID per sellable item or variant.","occurrences":1,"affected_product_ids":["sku-demo"],"affected_rows":[1]},{"code":"GTIN_CHECKSUM_INVALID","priority":"high","action":"Correct the GTIN using the manufacturer-issued identifier; do not generate or guess a replacement GTIN.","occurrences":1,"affected_product_ids":["sku-demo"],"affected_rows":[0]},{"code":"IDENTIFIER_MISSING","priority":"high","action":"Supply a valid GTIN when available, otherwise provide brand plus MPN and set identifier_exists consistently.","occurrences":1,"affected_product_ids":["sku-demo"],"affected_rows":[1]},{"code":"IMAGE_LINK_INVALID","priority":"high","action":"Replace the image link with a public absolute HTTPS image URL.","occurrences":1,"affected_product_ids":["sku-demo"],"affected_rows":[0]},{"code":"PRICE_FORMAT_INVALID","priority":"high","action":"Normalize price to a numeric amount followed by an uppercase ISO-4217 currency code, for example 19.99 USD.","occurrences":1,"affected_product_ids":["sku-demo"],"affected_rows":[0]},{"code":"TITLE_MISSING","priority":"high","action":"Add a clear product title that identifies the product and differentiates the variant.","occurrences":1,"affected_product_ids":["sku-demo"],"affected_rows":[0]},{"code":"AVAILABILITY_UNRECOGNIZED","priority":"medium","action":"Normalize availability to in_stock, out_of_stock, preorder, or backorder.","occurrences":1,"affected_product_ids":["sku-demo"],"affected_rows":[0]},{"code":"BRAND_MISSING_FOR_MPN","priority":"medium","action":"Add the product brand whenever an MPN is supplied so the identifier pair is complete.","occurrences":1,"affected_product_ids":["sku-demo"],"affected_rows":[0]}],"audit":{"ok":false,"record_count":2,"issue_count":8,"error_count":6,"warning_count":2,"issues":[{"index":0,"id":"sku-demo","severity":"error","code":"TITLE_MISSING","field":"title","message":"Product title is empty."},{"index":0,"id":"sku-demo","severity":"error","code":"IMAGE_LINK_INVALID","field":"image_link","message":"Image link must be an absolute HTTP(S) URL."},{"index":0,"id":"sku-demo","severity":"error","code":"GTIN_CHECKSUM_INVALID","field":"gtin","message":"GTIN checksum does not validate."},{"index":0,"id":"sku-demo","severity":"warning","code":"BRAND_MISSING_FOR_MPN","field":"brand","message":"Brand is missing while MPN is present."},{"index":0,"id":"sku-demo","severity":"error","code":"PRICE_FORMAT_INVALID","field":"price","message":"Price should look like '19.99 USD' with an uppercase 3-letter currency."},{"index":0,"id":"sku-demo","severity":"warning","code":"AVAILABILITY_UNRECOGNIZED","field":"availability","message":"Availability should be in_stock, out_of_stock, preorder, or backorder."},{"index":1,"id":"sku-demo","severity":"error","code":"ID_DUPLICATE","field":"id","message":"Duplicate id; first seen at row 0."},{"index":1,"id":"sku-demo","severity":"error","code":"IDENTIFIER_MISSING","field":"gtin","message":"identifier_exists is true but neither GTIN nor MPN is present."}]},"disclaimer":"Deterministic feed remediation guidance only; not a guarantee of Google Merchant Center approval or regulatory compliance."},"paid_endpoint":"https://pal-nano-catalog-audit.onrender.com/v1/usdc/catalog-remediation","paid_price_usd":"$1.00"}