lib/data/couriers/amazon.json in tracking_number-1.1.2 vs lib/data/couriers/amazon.json in tracking_number-1.2.0

- old
+ new

@@ -5,12 +5,11 @@ { "name": "Amazon Logistics", "regex": [ "\\s*T\\s*B\\s*A\\s*(?<SerialNumber>([0-9]\\s*){12,12})\\s*" ], - "validation": { - }, + "validation": {}, "test_numbers": { "valid": [ "TBA000000000000", "TBA010000000000", " T B A 0 0 0 0 0 0 0 0 0 0 0 0 ", @@ -19,9 +18,25 @@ "invalid": [ "TBA50288727400A", "000000000000000", "000000000000", "TBB000000000000" + ] + } + }, + { + "name": "Amazon International", + "regex": [ + "\\s*[AFC]\\s*(?<SerialNumber>([0-9]\\s*){10,10})\\s*" + ], + "validation": {}, + "test_numbers": { + "valid": [ + "C1004444443", + "C1004444444" + ], + "invalid": [ + "D1234567890" ] } } ] }