Commit ed1d4415 authored by Sarah Werner's avatar Sarah Werner
Browse files

Update etsi_types.schema.json

parent bd21508f
Loading
Loading
Loading
Loading
Loading
+22 −26
Original line number Diff line number Diff line
@@ -407,7 +407,7 @@
        }
      }
    },
    "validityPeriod" : {
    "ValidityPeriod" : {
      "type" : "object",
      "properties": {
        "begin": {
@@ -418,7 +418,7 @@
        }
      }
    },
    "person" : {
    "Person" : {
      "type" : "object",
      "properties" : {
        "surname": {
@@ -428,14 +428,14 @@
          "type":"string"
        },
        "dateOfBirth":{
          "$ref":"ts_103280_2017_07#/$defs/QualifiedDate" 
          "$ref":"ts_103280_2017_07#/$defs/QualifiedDateTime" 
        },
       "gender": { 
        "type":"string" 
        }
      }
    },
    "organisation" : {
    "Organisation" : {
      "type" : "object",
      "properties" : {
        "name": {
@@ -446,11 +446,7 @@
        }
      }
    },
    "countryCode" : {
      "type": "string",
      "pattern": "^[A-Z]{2}$"
    },
    "address" : {
    "Address" : {
      "type" : "object",
      "properties" : {
        "street" : {
@@ -466,7 +462,7 @@
          "type" : "string" 
        },
        "countryCode" : { 
          "$ref" : "ts_103705_2024_02#/$defs/countryCode"
          "$ref" : "ts_103280_2017_07#/$defs/ISOCountryCode"
        },
        "type" : { 
          "description" : "Nature of address, i.e. installation, billing",
@@ -474,32 +470,32 @@
        }
      }
    }, 
    "iBAN" : { 
    "IBAN" : { 
      "type": "string",
       "pattern": "[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}"
    },     
    "bankAccount" : {
    "BankAccount" : {
     "type" : "object",
     "properties": {
        "iBAN" : { 
          "$ref":"ts_103705_2024_02#/$defs/iBAN"
          "$ref":"ts_103705_2024_02#/$defs/IBAN"
        },
        "inholder": {
        "accountHolder": {
          "type" : "string"	
        }         
      }
    },
    "paymentCardNumber" : {
    "PaymentCardNumber" : {
      "type": "string",
       "pattern": "^\\d{8,19}$"
    },    
    "paymentCard" : {
    "PaymentCard" : {
      "type" : "object",
      "properties" : {
        "paymentCardNumber": {
          "$ref" : "ts_103705_2024_02#/$defs/creditCardNumber"
          "$ref" : "ts_103705_2024_02#/$defs/PaymentCardNumber"
        },
        "inholder" : {
        "cardHolder" : {
          "type" : "string"
        }, 
        "type": {	
@@ -514,7 +510,7 @@
        }             
      }
    },
    "contract" : {
    "Contract" : {
      "type" : "object",
      "properties" : {
        "id": {
@@ -532,21 +528,21 @@
        }  
      }
    },
    "contactDetails" : {
    "ContactDetails" : {
      "type" : "object",
      "properties" : {
        "emailAddress": {
          "$ref" : "ts_103280_2017_07#/$defs/EmailAddress" 
        },               
        "phoneNumber": {
          "$ref" : "ts_103280_2017_07#/$defs/EU.164" 
          "$ref" : "ts_103280_2017_07#/$defs/InternationalE164" 
        },
        "address": {
          "$ref":"ts_103705_2024_02#/$defs/Address"
        }
      }
    },
   "documentFile" : {
   "DocumentFile" : {
      "type" : "object",
      "properties" : {
        "fileName": {
@@ -564,7 +560,7 @@
        }
       }
    },
    "authentification" : {
    "Authentification" : {
      "type" : "object",
      "properties" : {
        "typeOfDocument": {
@@ -578,10 +574,10 @@
          "type" : "string"
        },   
        "dateOfExpiry" : {
          "$ref":"ts_103280_2017_07#/$defs/QualifiedDate" 
          "$ref":"ts_103280_2017_07#/$defs/QualifiedDateTime" 
        },
        "counryCode" : {
          "$ref":"ts_103705_2024_02#/$defs/CountryCode"
        "countryCode" : {
          "$ref":"ts_103280_2017_07#/$defs/ISOCountryCode"
        },
        "documentFile" : {
          "$ref" : "ts_103705_2024_02#/$defs/DocumentFile"