Commit 1c0ff2a0 authored by Frank Fransen's avatar Frank Fransen
Browse files

corrected regex in IBAN, vATNumber, vPLMNId, hPLMNId

parent e046f0ef
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -429,12 +429,12 @@
      "properties": {
        "vPLMNId": {
          "type": "string",
          "pattern": "[0-9]{3}-[0-9]{2,3}",
          "pattern": "^[0-9]{3}-[0-9]{2,3}$",
          "description": "PLMN identifier of the visited network. Consists of MCC (3 digits), MNC (2-3 digits)."
        },
        "hPLMNId": {
          "type": "string",
          "pattern": "[0-9]{3}-[0-9]{2,3}",
          "pattern": "^[0-9]{3}-[0-9]{2,3}$",
          "description": "PLMN identifier of the home network. Consists of MCC (3 digits), MNC (2-3 digits)."
        }
      }
@@ -502,7 +502,7 @@
        },
        "vATNumber": {
          "type": "string",
          "pattern": "[A-Z]{2}.*",
          "pattern": "^[A-Z]{2}.*$",
          "description": "Value Added Tax number, typically starting with a two letter country code according to ISO code 3166 - alpha 2 - that identifies the country of issue"
        }
      }
@@ -523,7 +523,7 @@
    },
    "IBAN": {
      "type": "string",
      "pattern": "[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}",
      "pattern": "^[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}$",
      "description": "International Bank Account Number according to ISO 13616-1:2020, converted to upper-case letters."
    },
    "PaymentCard": {