Commit 913b3ff5 authored by Frank Fransen's avatar Frank Fransen
Browse files

Adding subscriber data records

parent e762b619
Loading
Loading
Loading
Loading
Loading
+276 −0
Original line number Diff line number Diff line
@@ -682,6 +682,282 @@
          "description": "Algorithm used to compute the checksum"
        }
      }
    },
    "UserInformationRecord": {
      "type": "object",
      "title": "Subscriber data about the user", 
      "description": "Details about a natural person of organisation as requested per EPOC Form 1 Section F subscriber data checkbox labelled name, date of birth, ...",
      "properties": {
        "validityPeriod": {
          "$ref": "#/$defs/ValidityPeriod",
          "description": "Validity period of the data in this record"
        },
        "oneOf": [
          {
            "person": {
              "$ref": "#/$defs/Person",
              "description": "Information about the natural person registered as the subscriber"
            },
            "organisation": {
              "$ref": "#/$defs/Organisation",
              "description": "Information about the organisation registered as the subscriber"
            }
          }
        ],
        "contactDetails": {
          "$ref": "#/$defs/ContactDetail",
          "description": "Contact details registered for the subscriber"
        }
      },
      "required": [
        "validityPeriod"
      ]
    },
    "RegistartionInformationRecord": {
      "type": "object",
      "title": "Subscriber data about the initial registration", 
      "description": "Details about the initial registration as requested per EPOC Form 1 Section F subscriber data checkbox labelled date and time of initial registration, type of registration, ...",
      "properties": {
        "validityPeriod": {
          "$ref": "#/$defs/ValidityPeriod",
          "description": "Validity period of the data in this record"
        },
        "dateTimeInitialRegistration": {
          "$ref": "ts_103280_2017_07#/$defs/QualifiedMicrosecondDateTime",
          "description": "Date and Time of the initial registration"
        },
        "typeOfRegistration": {
          "type": "string",
          "description": "type of registration"
        },
        "contract": {
          "$ref": "#/$defs/Contract",
          "description": "Copy of a original contract"
        },
        "identityVerification": {
          "$ref": "#/$defs/IdentityVerification",
          "description": "Details about the identity verification of the registration"
        }
      },
      "required": [
        "validityPeriod"
      ]
    },
    "TypeOfServiceInformationRecord": {
      "type": "object",
      "title": "Subscriber data about the service", 
      "description": "Details about the type of service as requested per EPOC Form 1 Section F subscriber data checkbox labelled type of service and its duration, including identifier(s) ...",
      "properties": {
        "validityPeriod": {
          "$ref": "#/$defs/ValidityPeriod",
          "description": "Validity period of the data in this record"
        },
        "typeOfService": {
          "type": "string",
          "description": "type of service"
        },
        "endDate": {
          "$ref": "#/$defs/Date",
          "description": "End date of the service"
        },
        "serviceIdentifiers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ServiceIdentifier"
          },
          "description": "List of identifiers associated to the service"
        },
        "serviceContract": {
          "$ref": "#/$defs/Contract",
          "description": "Copy of a service contract"
        },
        "associatedDevices": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Device"
          },
          "description": "List of devices associated to the service"
        }
      },
      "required": [
        "validityPeriod"
      ]
    },
    "PaymentInformationRecord": {
      "type": "object",
      "title": "Subscriber data about the payment", 
      "description": "Details about a payment for the service as requested per EPOC Form 1 Section F subscriber data checkbox labelled debit or credit card information ...",
      "properties": {
        "validityPeriod": {
          "$ref": "#/$defs/ValidityPeriod",
          "description": "Validity period of the data in this record"
        },
        "bankAccount": {
          "$ref": "#/$defs/BankAccount",
          "description": "Details about the bank account used for payment"
        },
        "paymentCard": {
          "$ref": "#/$defs/PaymentCard",
          "description": "Details about the payment card used for payment"
        },
        "billingAddress": {
          "$ref": "#/$defs/Address",
          "description": "Billing address registered for the payment"
        }
      },
      "required": [
        "validityPeriod"
      ]
    },
    "PUKCodesRecord": {
      "type": "object",
      "title": "Subscriber data about PUK-Codes", 
      "description": "Details about the PUK-Codes as requested per EPOC Form 1 Section F subscriber data checkbox labelled PUK-codes",
      "properties": {
        "validityPeriod": {
          "$ref": "#/$defs/ValidityPeriod",
          "description": "Validity period of the data in this record"
        },
        "pUKCodes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PUKCode"
          },
          "description": "List of PUK-Codes"
        }
      },
      "required": [
        "validityPeriod",
        "pUKCodes"
      ]
    },
    "ServiceIdentifier": {
      "type": "object",
      "description": "Service Identifier of the subscriber",
      "properties": {
        "phoneNumber": {
          "$ref": "ts_103280_2017_07#/$defs/InternationalE164"
        },
        "iMSI": {
          "$ref": "ts_103280_2017_07#/$defs/IMSI"
        },
        "sUPIIMSI": {
          "$ref": "ts_103280_2017_07#/$defs/SUPIIMSI"
        },
        "sUPINAI": {
          "$ref": "ts_103280_2017_07#/$defs/SUPINAI"
        },
        "iPv4Address": {
          "$ref": "ts_103280_2017_07#/$defs/IPv4Address"
        },
        "iPv4CIDR": {
          "$ref": "ts_103280_2017_07#/$defs/IPv4CIDR"
        },
        "iPv6Address": {
          "$ref": "ts_103280_2017_07#/$defs/IPv6Address"
        },
        "iPv6CIDR": {
          "$ref": "ts_103280_2017_07#/$defs/IPv6CIDR"
        },
        "mACAddress": {
          "$ref": "ts_103280_2017_07#/$defs/MACAddress"
        },
        "serviceAccessIdentifier": {
          "$ref": "ts_103280_2017_07#/$defs/ServiceAccessIdentifier"
        },
        "emailAddress": {
          "$ref": "ts_103280_2017_07#/$defs/EmailAddress"
        },
        "sIPURI": {
          "$ref": "ts_103280_2017_07#/$defs/SIPURI"
        },
        "tELURI": {
          "$ref": "ts_103280_2017_07#/$defs/TELURI"
        },
        "accountID": {
          "type": "string",
          "description": "Nonspecific account identifier type used for the service"
        }
      },
      "TypeOfService": {
        "type": "object",
        "description": "Type of service information",
        "properties": {
          "serviceType": {
            "enum": [
              "Telephony",
              "Messaging",
              "InternetAccess",
              "MobileData",
              "email"
            ]
          },
          "serviceName": {
            "type": "string",
            "description": "Name of the service as used by the CSP"            
          },
          "installationAddreses": { 
            "type": "array",
            "items": {
              "$ref": "#/$defs/Address",
              "description": "Address where the service is installed (e.g. fiber, cable or xDSL)"
            }
          }
        }
      },
      "Device": {
        "type": "object",
        "description": "Device information",
        "properties": {
          "deviceManufacturer": {
            "type": "string",
            "description": "type of service"
          },
          "devicemodel": {
            "type": "string",
            "description": "type of service"
          },
          "iMEI": {
            "$ref": "ts_103280_2017_07#/$defs/IMEI"
          },
          "iMEISV": {
            "$ref": "ts_103280_2017_07#/$defs/IMEISV"
          },
          "pEIIMEI": {
            "$ref": "ts_103280_2017_07#/$defs/PEIIMEI"
          },
          "pEIIMEISV": {
            "$ref": "ts_103280_2017_07#/$defs/PEIIMEISV"
          },
          "mACAddress": {
            "$ref": "ts_103280_2017_07#/$defs/MACAddress"
          },
          "deviceID": {
            "type": "string",
            "description": "Non-standard identifier of the device"
          }
        }
      },
      "PUKCode": {
        "type": "object",
        "description": "PUK-Code information",
        "properties": {
          "iCCID": {
            "$ref": "ts_103280_2017_07#/$defs/ICCID"
          },
          "eUICCID": {
            "$ref": "ts_103280_2017_07#/$defs/EUICCID"
          },
          "PUK": {
            "type": "string",
            "description": "Personal Unlocking Key for PIN"            
          },
          "PUK2": {
            "type": "string",
            "description": "Personal Unlocking Key for PIN2"            
          }
        }
      }
    }
  }
}