Sha256: 8306e661d8443331e1fb2d28ecc7f6bfe0d2d81898c926b4c9cf5e72970aa93e

Contents?: true

Size: 588 Bytes

Versions: 7

Compression:

Stored size: 588 Bytes

Contents

{
  "name": "Amazon",
  "courier_code": "amazon",
  "tracking_numbers": [
    {
      "name": "Amazon Logistics",
      "regex": [
        "\\s*T\\s*B\\s*A\\s*(?<SerialNumber>([0-9]\\s*){12,12})\\s*"
      ],
      "validation": {
      },
      "test_numbers": {
        "valid": [
          "TBA000000000000",
          "TBA010000000000",
          " T B A 0 0 0 0 0 0 0 0 0 0 0 0 ",
          "TBA502887274000"
        ],
        "invalid": [
          "TBA50288727400A",
          "000000000000000",
          "000000000000",
          "TBB000000000000"
        ]
      }
    }
  ]
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tracking_number-1.1.2 lib/data/couriers/amazon.json
tracking_number-1.1.1 lib/data/couriers/amazon.json
tracking_number-1.0.7 lib/data/couriers/amazon.json
tracking_number-1.0.6 lib/data/couriers/amazon.json
tracking_number-1.0.5 lib/data/couriers/amazon.json
tracking_number-1.0.4 lib/data/couriers/amazon.json
tracking_number-1.0.3 lib/data/couriers/amazon.json