Commit 3a52e7a0 authored by Anne Dierstein's avatar Anne Dierstein
Browse files

add new types to etsi types

parent 9c80d08f
Loading
Loading
Loading
Loading
Loading
+181 −0
Original line number Diff line number Diff line
@@ -406,6 +406,187 @@
          }
        }
      }
    },
    "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/QualifiedDate" 
        },
       "gender": { 
        "type":"string" 
        }
      }
    },
    "organisation" : {
      "type" : "object",
      "properties" : {
        "name": {
          "type":"string" 
        },
        "VATNumber": {
          "type":"string" 
        }
      }
    },
    "countryCode" : {
      "type": "string",
      "pattern": "^[A-Z]{2}$"
    },
    "address" : {
      "type" : "object",
      "properties" : {
        "street" : {
          "type" : "string"
        },
        "houseNumber" : { 
          "type" : "string" 
        },
        "city" : { 
          "type" : "string" 
        },
        "postalCode" : { 
          "type" : "string" 
        },
        "countryCode" : { 
          "$ref" : "ts_103705_2024_02#/$defs/countryCode"
        },
        "type" : { 
          "description" : "Nature of address, i.e. installation, billing",
          "type":"string"
        }
      }
    }, 
    "iBAN" : { 
      "type": "string",
       "pattern": "[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}"
    },     
    "bankAccount" : {
     "type" : "object",
     "properties": {
        "iBAN" : { 
          "$ref":"ts_103705_2024_02#/$defs/iBAN"
        },
        "inholder": {
          "type" : "string"	
        }         
      }
    },
    "paymentCardNumber" : {
      "type": "string",
       "pattern": "^\d{8,19}$"
    },    
    "paymentCard" : {
      "type" : "object",
      "properties" : {
        "paymentCardNumber": {
          "$ref" : "ts_103705_2024_02#/$defs/creditCardNumber"
        },
        "inholder" : {
          "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" 
        },
         "description": { 
          "type" : "string",
          "description" : "nature of the contract, i.e. product or service name"
        }  
      }
    },
    "contactDetails" : {
      "type" : "object",
      "properties" : {
        "emailAddress": {
          "$ref" : "ts_103280_2017_07#/$defs/EmailAddress" 
        },               
        "phoneNumber": {
          "$ref" : "ts_103280_2017_07#/$defs/EU.164" 
        },
        "address": {
          "$ref":"ts_103705_2024_02#/$defs/Address"
        }
      }
    },
   "documentFile" : {
      "type" : "object",
      "properties" : {
        "fileName": {
          "type" : "string" 
        },             
        "mimeType": {
         "type" : "string" 
        },           
        "classificationType": {
          "type" : "string"
        },
        "content" : {
          "type" : "string",
          "description" : "content of the file base64 encoded"
        }
       }
    },
    "authentification" : {
      "type" : "object",
      "properties" : {
        "typeOfDocument": {
          "type" : "string",
          "description" : "nature of the authentification document, i.e. identity card"
        },  
        "documentNumber": {
          "type" : "string"
        },          
        "issuingAuthority" : {
          "type" : "string"
        },   
        "dateOfExpiry" : {
          "type": "$ref":"ts_103280_2017_07#/$defs/QualifiedDate" 
        },
        "counryCode" : {
          "type" : "$ref":"ts_103705_2024_02#/$defs/CountryCode"
        },
        "documentFile" : {
          "$ref" : "ts_103705_2024_02#/$defs/DocumentFile"
        }          
      }
    }
  }
}
+1 −181
Original line number Diff line number Diff line
@@ -82,187 +82,7 @@
    "requestReference": {
      "type": "string"
    },
    "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/QualifiedDate" 
        },
       "gender": { 
        "type":"string" 
        }
      }
    },
    "organisation" : {
      "type" : "object",
      "properties" : {
        "name": {
          "type":"string" 
        },
        "VATNumber": {
          "type":"string" 
        }
      }
    },
    "countryCode" : {
      "type": "string",
      "pattern": "^[A-Z]{2}$"
   	},
    "address" : {
      "type" : "object",
      "properties" : {
        "street" : {
          "type" : "string"
        },
        "houseNumber" : { 
          "type" : "string" 
        },
        "city" : { 
          "type" : "string" 
        },
        "postalCode" : { 
          "type" : "string" 
        },
        "countryCode" : { 
          "$ref" : "ts_103705_2024_02#/$defs/countryCode"
        },
        "type" : { 
          "description" : "Nature of address, i.e. installation, billing",
          "type":"string"
        }
      }
    }, 
    "iBAN" : { 
      "type": "string",
     	"pattern": "[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}"
   	},     
    "bankAccount" : {
     "type" : "object",
     "properties": {
        "iBAN" : { 
          "$ref":"ts_103705_2024_02#/$defs/iBAN"
        },
        "inholder": {
          "type" : "string"	
        }         
      }
    },
    "paymentCardNumber" : {
      "type": "string",
     	"pattern": "^\d{8,19}$"
   	},    
    "paymentCard" : {
      "type" : "object",
      "properties" : {
        "paymentCardNumber": {
          "$ref" : "ts_103705_2024_02#/$defs/creditCardNumber"
        },
        "inholder" : {
          "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" 
        },
     	  "description": { 
          "type" : "string",
          "description" : "nature of the contract, i.e. product or service name"
        }  
		  }
    },
    "contactDetails" : {
      "type" : "object",
      "properties" : {
        "emailAddress": {
          "$ref" : "ts_103280_2017_07#/$defs/EmailAddress" 
        },               
        "phoneNumber": {
          "$ref" : "ts_103280_2017_07#/$defs/EU.164" 
        },
        "address": {
          "$ref":"ts_103705_2024_02#/$defs/Address"
    		}
      }
    },
   "documentFile" : {
      "type" : "object",
      "properties" : {
        "fileName": {
          "type" : "string" 
        },             
        "mimeType": {
         "type" : "string" 
        },           
        "classificationType": {
          "type" : "string"
        },
        "content" : {
          "type" : "string",
          "description" : "content of the file base64 encoded"
        }
 		  }
    },
    "authentification" : {
      "type" : "object",
      "properties" : {
        "typeOfDocument": {
          "type" : "string",
          "description" : "nature of the authentification document, i.e. identity card"
        },  
        "documentNumber": {
          "type" : "string"
        },          
        "issuingAuthority" : {
          "type" : "string"
        },   
        "dateOfExpiry" : {
          "type": "$ref":"ts_103280_2017_07#/$defs/QualifiedDate" 
        },
        "counryCode" : {
          "type" : "$ref":"ts_103705_2024_02#/$defs/CountryCode"
        },
        "documentFile" : {
          "$ref" : "ts_103705_2024_02#/$defs/DocumentFile"
        }          
    	}
    },

    "recordSet": {
      "type": "array",
      "title": "RecordSet",