From: dhanush.p Date: Fri, 9 Jan 2026 11:43:55 +0000 (+0100) Subject: [SDC]: Update in SDC datatypes for sST, mcc and mnc as per latest 3GPP standard. X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=8e143599909cd275cea5bcf25ed943bea6fd8481;p=sdc.git [SDC]: Update in SDC datatypes for sST, mcc and mnc as per latest 3GPP standard. Issue-ID: SDC-4781 Change-Id: I36d470b60480bcf3bac664d338ed7458e21fb4de Signed-off-by: dhanush.p --- diff --git a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml index 6aea7d1d28..eda12f0745 100644 --- a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml +++ b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml @@ -3527,23 +3527,29 @@ tosca.datatypes.3gpp.PlmnId: properties: mcc: type: string - required: false + required: true + constraints: + - pattern: '^[0-9]{3}$' description: > - Mobile Country Code (MCC) of the PLMN identifier. See 3GPP TS 23.003 subclause 2.2 and 12.1. + Mobile Country Code(MCC) of the PLMN identifier. Exactly 3 digits. mnc: type: string - required: false + required: true + constraints: + - pattern: '^[0-9]{2,3}$' description: > - Mobile Network Code (MNC) of the PLMN identifier. See 3GPP TS 23.003 subclause 2.2 and 12.1. + Mobile Network Code (MNC) of the PLMN identifier. 2 or 3 digits. tosca.datatypes.3gpp.Snssai: derived_from: tosca.datatypes.Root properties: sst: - type: string - required: false + type: integer + required: true + constraints: + - in_range: [0, 255] description: > - This attribute specifies the Slice/Service type (SST) of the network slice. + This attribute specifies the Slice/Service type (SST) of the network slice. Examples: 1 = eMBB, 2 = uRLLC, 3 = mIot. sd: type: string required: false