Commit 28469325 authored by Anne Dierstein's avatar Anne Dierstein
Browse files

Merge branch 'Draft_CR_103705_subscriber_types' into 'cr/103705/005'

Draft cr 103705 subscriber types

See merge request !182
parents 68a7da4f 9ae45c70
Loading
Loading
Loading
Loading
Loading
+190 −0
Original line number Diff line number Diff line
@@ -406,6 +406,196 @@
          }
        }
      }
    },
    "ValidityPeriod" : {
      "type" : "object",
      "properties": {
        "begin": {
          "$ref":"ts_103280_2017_07#/$defs/QualifiedMicrosecondDateTime" 
        },
        "end": {
          "$ref":"ts_103280_2017_07#/$defs/QualifiedMicrosecondDateTime" 
        }
      }
    },
    "Person" : {
      "type" : "object",
      "properties" : {
        "surname": {
          "type":"string"
        },
        "givenNames": {
          "type":"string"
        },
        "dateOfBirth":{
          "$ref":"ts_103280_2017_07#/$defs/QualifiedDateTime" 
        }
      }
    },
    "Organisation" : {
      "type" : "object",
      "properties" : {
        "name": {
          "type":"string" 
        },
        "VATNumber": {
          "type":"string", 
          "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 state of issue"
        }
      }
    },
    "Address" : {
      "type" : "object",
      "properties" : {
        "street" : {
          "type" : "string"
        },
        "houseNumber" : { 
          "type" : "string" 
        },
        "city" : { 
          "type" : "string" 
        },
        "postalCode" : { 
          "type" : "string" 
        },
        "countryCode" : { 
          "$ref" : "ts_103280_2017_07#/$defs/ISOCountryCode"
        }
      }
    }, 
    "IBAN" : { 
      "type": "string",
      "pattern": "[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}",
      "description" : "International Bank Account Number according to ISO 13616-1:2020"
    },     
    "BankAccount" : {
     "type" : "object",
     "properties": {
        "iBAN" : { 
          "$ref":"ts_103705_2024_02#/$defs/IBAN"
        },
        "accountHolder": {
          "type" : "string"	
        }         
      }
    },
    "PaymentCardNumber" : {
      "type": "string",
       "pattern": "^\\d{8,19}$"
    },    
    "PaymentCard" : {
      "type" : "object",
      "properties" : {
        "paymentCardNumber": {
          "$ref" : "ts_103705_2024_02#/$defs/PaymentCardNumber"
        },
        "cardHolder" : {
          "type" : "string"
        }, 
        "type": {	
          "type" : "string",
          "description" : "nature of the card, i.e. VISA"
        },
        "dateOfExpiry" : { 
          "$ref" : "ts_103280_2017_07#/$defs/QualifiedDateTime" 
        },
        "checkSum" : { 
          "type" : "integer" 
        }             
      }
    },
    "Contract" : {
      "type" : "object",
      "properties" : {
        "id": {
          "type" : "string"
        },             
        "begin" : { 
          "$ref" : "ts_103280_2017_07#/$defs/QualifiedDateTime" 
        },
        "end": { 
          "$ref":"ts_103280_2017_07#/$defs/QualifiedDateTime" 
        },
         "natureOfContract": { 
          "type" : "string",
          "description" : "nature of the contract, i.e. product or service name"
        }  
      }
    },
    "ContactDetails" : {
      "type" : "object",
      "properties" : {
        "emailAddress": {
			    "type": "array",
			    "items": {
				    "$ref" : "ts_103280_2017_07#/$defs/EmailAddress" 
			    }
        },               
        "phoneNumber": {
			    "type": "array",
			    "items": {
				    "$ref" : "ts_103280_2017_07#/$defs/InternationalE164" 
			    }
        },
        "address": {
			    "type": "array",
			    "items": {
				    "$ref":"ts_103705_2024_02#/$defs/Address"
			    }
        }
      }
    },
   "DocumentFile" : {
      "type" : "object",
      "properties" : {
        "fileName": {
          "type" : "string" 
        },             
        "mimeType": {
         "type" : "string" 
        },           
        "natureOfDocument": {
          "type" : "string"
        },
        "content" : {
          "type" : "string",
          "description" : "content of the file base64 encoded"
        },
        "checksum": {          
          "$ref": "ts_103280_2017_07#/$defs/ShortString"        
        },        
        "checksumType": {          
          "$ref": "ts_103280_2017_07#/$defs/ShortString",
          "description": "algorithm used to compute the checksum"      
        }
      }
    },
    "Authentification" : {
      "type" : "object",
      "properties" : {
        "typeOfDocument": {
          "type" : "string",
          "description" : "nature of the authentification document, i.e. identity card"
        },  
        "documentNumber": {
          "type" : "string"
        },          
        "issuingAuthority" : {
          "type" : "string"
        },   
        "dateOfExpiry" : {
          "$ref":"ts_103280_2017_07#/$defs/QualifiedDateTime" 
        },
        "countryCode" : {
          "$ref":"ts_103280_2017_07#/$defs/ISOCountryCode"
        },
        "documentFile" : {
          "$ref" : "ts_103705_2024_02#/$defs/DocumentFile"
        }          
      }
    }
  }
}