Validate a GTIN/EAN/UPC code
validate_gtinCheck a product code against GTIN rules: length + mod-10 checksum. Returns {valid, type: ean13|ean8|upcA|null, normalized}. Rejects codes with a broken checksum (e.g. 8595234703191).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Candidate product code, digits only |