Sha256: bc886c067644e6cbef206f325e499b8f7c1c84b52429eca1b028836102d459a6
Contents?: true
Size: 1.85 KB
Versions: 3
Compression:
Stored size: 1.85 KB
Contents
{ "name": "LaserShip", "courier_code": "lasership", "tracking_numbers": [ { "name": "LaserShip LX", "regex": [ "\\s*L\\s*[AIEHNX]\\s*[1-3]\\s*(?<SerialNumber>([0-9]\\s*){7,7})\\s*" ], "validation": {}, "test_numbers": { "valid": [ "LX17635036", "LX 176 35035", "LX17635034", "LI 129 79072", "LI12976442", "LA28376237", "LA28372694", "LH13830790", "LH13816137", "LH13820469", "LH13831034", "LH13821737", "LH13820881", "LH13820881", "LH13812209", "LH13800911", "LH13795254", "LE10917377", "LE10913900", "LE10913753", "LN30083672" ], "invalid": [ "LX9763503N", "LH9176350N6", "XA17635036", "L A 9 7 6 3 5 0 3 6 " ] } }, { "name": "LaserShip 1LS7 (15)", "regex": [ "\\s*1\\s*L\\s*S\\s*7\\s*[12]\\s*([0-9]\\s*){4,4}", "(?<SerialNumber>([0-9]\\s*){6,6})\\s*" ], "validation": {}, "test_numbers": { "valid": [ "1LS717793482164", "1LS724505321754", "1LS720000000000", " 1 L S 7 2 0 0 0 0 0 0 0 0 0 0 " ], "invalid": [ "1LX734505321754" ] } }, { "name": "LaserShip 1LS7 (18)", "regex": [ "\\s*1\\s*L\\s*S\\s*7\\s*", "[12]\\s*([0-9]\\s*){2,2}\\s*0\\s*1\\s*[1234]\\s*", "\\s*(?<SerialNumber>([0-9]\\s*){6,6})", "-\\s*1\\s*" ], "validation": {}, "test_numbers": { "valid": [ "1LS7119013618127-1", " 1 L S 7 1 1 9 0 1 3 6 1 8 1 2 7 - 1 " ], "invalid": [ "1LS7119013618127-2" ] } } ] }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tracking_number-1.3.5 | lib/data/couriers/lasership.json |
tracking_number-1.3.1 | lib/data/couriers/lasership.json |
tracking_number-1.3.0 | lib/data/couriers/lasership.json |