Commit 10b9b60e authored by Frank Fransen's avatar Frank Fransen Committed by Mark Canterbury
Browse files

Edit etsi_types.schema.json; Defined a pattern for PLMNID

parent ebc5d69e
Loading
Loading
Loading
Loading
+13 −8
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@
        },
        "roamingRecord": {
          "$ref": "#/$defs/RoamingInformation",
          "description": "Information for inbound or outbound roaming record."
          "description": "Information for inbound / outbound roaming record."
        } 
      }
    },
@@ -91,7 +91,7 @@
          },
          "roamingRecord": {
            "$ref": "#/$defs/RoamingInformation",
            "description": "Information for inbound or outbound roaming record."
            "description": "Information for inbound / outbound roaming record."
          }
        }
      }
@@ -151,7 +151,7 @@
        },
        "roamingRecord": {
          "$ref": "#/$defs/RoamingInformation",
          "description": "Information for inbound or outbound roaming record."
          "description": "Information for inbound / outbound roaming record."
        }
      }
    },
@@ -421,17 +421,22 @@
    },
    "RoamingInformation": {
      "type": "object",
      "description": "Inbound or outbound roaming information",
      "description": "Inbound / outbound roaming information",
      "properties": {
        "vPLMNId": {
          "type": "string",
          "description": "PLMN identifier of the visited network. Consists of MCC (3 digits), MNC (2-3 digits)."
          "$ref": "#/$defs/PLMNID",
          "description": "PLMN identifier of the visited network."
        },
        "hPLMNId": {
          "type": "string",
          "description": "PLMN identifier of the home network. Consists of MCC (3 digits), MNC (2-3 digits)."
          "$ref": "#/$defs/PLMNID",
          "description": "PLMN identifier of the home network."
        }
      }
    },
    "PLMNID": {
      "type": "string",
      "pattern": "[0-9]{3}-[0-9]{2,3}",
      "description": "PLMN identifier, consists of MCC (3 digits), MNC (2-3 digits)."
    }
  }
}