diff --git a/103705/schema/etsi_types.schema.json b/103705/schema/etsi_types.schema.json index 1854183d6941dd2888dd27a9f88cad1a8197b0c9..b88ebb81d4f32cc1f965cea771e120fb2bd72b52 100644 --- a/103705/schema/etsi_types.schema.json +++ b/103705/schema/etsi_types.schema.json @@ -406,6 +406,184 @@ } } } + }, + "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" + }, + "gender": { + "type":"string" + } + } + }, + "Organisation" : { + "type" : "object", + "properties" : { + "name": { + "type":"string" + }, + "VATNumber": { + "type":"string" + } + } + }, + "Address" : { + "type" : "object", + "properties" : { + "street" : { + "type" : "string" + }, + "houseNumber" : { + "type" : "string" + }, + "city" : { + "type" : "string" + }, + "postalCode" : { + "type" : "string" + }, + "countryCode" : { + "$ref" : "ts_103280_2017_07#/$defs/ISOCountryCode" + }, + "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" + }, + "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" + }, + "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/InternationalE164" + }, + "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" : { + "$ref":"ts_103280_2017_07#/$defs/QualifiedDateTime" + }, + "countryCode" : { + "$ref":"ts_103280_2017_07#/$defs/ISOCountryCode" + }, + "documentFile" : { + "$ref" : "ts_103705_2024_02#/$defs/DocumentFile" + } + } } } } +