Commit 38e2b2f3 authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Merge branch 'cr/103705/0008' into meeting/LI70

parents e78cbe38 8190c586
Loading
Loading
Loading
Loading
Loading
+44 −0
Original line number Original line Diff line number Diff line
{
  "$id": "urn:etsi:li:103705:record-schema-id:v1.2.1",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CSP Record Schema",
  "description": "Defines the valid set of Subscriber Data Records that may appear in a RecordSet (see ETSI TS 103 705 clause 6.2.4)",
  "cspSchemaID": "csp.example_6",
  "cspName": "csp.example.com",
  "dateIssued": "2025-09-024T09:00:01Z",
  "version": "1.1.1",
  "$defs": {
    "record": {
      "oneOf": [
        {
          "allOf": [
            {
              "$ref": "urn:etsi:li:103705:type-schema-id:v1.2.1#/$defs/SubscriberInformationRecord"
            },
            {
              "properties": {
                "type": {
                  "const": "urn:etsi:li:103705:type-schema-id:v1.2.1#/$defs/SubscriberInformationRecord"
                }
              }
            }
          ]
        },
        {
          "allOf": [
            {
              "$ref": "urn:etsi:li:103705:type-schema-id:v1.2.1#/$defs/ServiceInformationRecord"
            },
            {
              "properties": {
                "type": {
                  "const": "urn:etsi:li:103705:type-schema-id:v1.2.1#/$defs/ServiceInformationRecord"
                }
              }
            }
          ]
        }
      ]
    }
  }
}
+69 −0
Original line number Original line Diff line number Diff line
{
  "recordSetDescription": {
    "etsiSchemaId": "urn:etsi:li:103705:response-schema-id:v1.5.1",
    "etsiSpecificationVersion": "1.5.1",
    "cspName": "csp.example.com",
    "cspSchemaId": "csp.example_6",
    "cspSchemaVersion": "1.0.0",
    "resultSetId": "9a25db0c-d0f3-4ae5-b618-bd1a9a0056c2",
    "requestReference": "LDID",
    "created": "2025-09-25T09:31:56.000000Z"
  },
  "recordSet": [
    {
      "id": "3da91ade-f526-4e55-b5da-0c8178f25c24",
      "type": "urn:etsi:li:103705:type-schema-id:v1.2.1#/$defs/SubscriberInformationRecord",
      "validityPeriod": {
        "begin": "2025-01-01T12:00:01.000000Z",
        "end": "2025-02-01T17:00:00.000000Z"
      },
      "subscriber": {
        "person": {
          "surname": "Doe",
          "givenNames": "John",
          "initials": "J",
          "sex": "M",
          "dateOfBirth": "1999-03-21"
        }
      }
    },
    {
      "id": "8be3fc6b-a2dd-4104-9af1-d6b1f70081a0",
      "type": "urn:etsi:li:103705:type-schema-id:v1.2.1#/$defs/ServiceInformationRecord",
      "validityPeriod": {
        "begin": "2025-01-01T12:00:01.000000Z",
        "end": "2025-02-01T17:00:00.000000Z"
      },
      "typeOfService": "Telephony",
      "startDate": "2025-02-01",
      "endDate": "2025-02-01",
      "serviceIdentifiers": [
        {
          "phoneNumber": "441632960124"
        },
        {
          "iMSI": "99999123456789"
        }
      ]
    },
    {
      "id": "8be3fc6b-a2dd-4104-9af1-d6b1f70081a2",
      "type": "urn:etsi:li:103705:type-schema-id:v1.2.1#/$defs/ServiceInformationRecord",
      "validityPeriod": {
        "begin": "2025-01-01T12:00:01.000000Z",
        "end": "2025-02-01T17:00:00.000000Z"
      },
      "typeOfService": "DataAccess",
      "startDate": "2025-01-01",
      "endDate": "2025-02-01",
      "serviceIdentifiers": [
        {
          "iPv4Address": "203.0.113.0"
        },
        {
          "iPv6Address": "2001:0db8:0000:0000:0000:0000:0002:0001"
        }
      ]
    }
  ]
}
 No newline at end of file
+30 −0
Original line number Original line Diff line number Diff line
{
  "$id": "urn:etsi:li:103705:record-schema-id:v1.2.1",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CSP Record Schema",
  "description": "Defines the valid set of Subscriber Data Records that may appear in a RecordSet (see ETSI TS 103 705 clause 6.2.4)",
  "cspSchemaID": "csp.example_6",
  "cspName": "csp.example.com",
  "dateIssued": "2025-09-024T09:00:01Z",
  "version": "1.1.1",
  "$defs": {
    "record": {
      "oneOf": [
        {
          "allOf": [
            {
              "$ref": "urn:etsi:li:103705:type-schema-id:v1.2.1#/$defs/PUKCodesRecord"
            },
            {
              "properties": {
                "type": {
                  "const": "urn:etsi:li:103705:type-schema-id:v1.2.1#/$defs/PUKCodesRecord"
                }
              }
            }
          ]
        }
      ]
    }
  }
}
+25 −0
Original line number Original line Diff line number Diff line
{
  "recordSetDescription": {
    "etsiSchemaId": "urn:etsi:li:103705:response-schema-id:v1.2.1",
    "etsiSpecificationVersion": "1.2.1",
    "cspName": "csp.example.com",
    "cspSchemaId": "csp.example_6",
    "cspSchemaVersion": "1.0.0",
    "resultSetId": "9a25db0c-d0f3-4ae5-b618-bd1a9a0056c2",
    "requestReference": "LDID",
    "created": "2025-09-25T09:31:56.000000Z"
  },
  "recordSet": [
    {
      "id": "8be3fc6b-a2dd-4104-9af1-d6b1f70081a1",
      "type": "urn:etsi:li:103705:type-schema-id:v1.2.1#/$defs/PUKCodesRecord",
      "pUKCode": {
        "identityOfSIMCard": {
          "iCCID": "8931440300000000000"
        },
        "pUK": "01234567",
        "pUK2": "45678901"
      }
    }
  ]
}
 No newline at end of file
+280 −5
Original line number Original line Diff line number Diff line
@@ -429,12 +429,12 @@
      "properties": {
      "properties": {
        "vPLMNId": {
        "vPLMNId": {
          "type": "string",
          "type": "string",
          "pattern": "[0-9]{3}-[0-9]{2,3}",
          "pattern": "^[0-9]{3}-[0-9]{2,3}$",
          "description": "PLMN identifier of the visited network. Consists of MCC (3 digits), MNC (2-3 digits)."
          "description": "PLMN identifier of the visited network. Consists of MCC (3 digits), MNC (2-3 digits)."
        },
        },
        "hPLMNId": {
        "hPLMNId": {
          "type": "string",
          "type": "string",
          "pattern": "[0-9]{3}-[0-9]{2,3}",
          "pattern": "^[0-9]{3}-[0-9]{2,3}$",
          "description": "PLMN identifier of the home network. Consists of MCC (3 digits), MNC (2-3 digits)."
          "description": "PLMN identifier of the home network. Consists of MCC (3 digits), MNC (2-3 digits)."
        }
        }
      }
      }
@@ -500,7 +500,7 @@
    },
    },
    "Date": {
    "Date": {
      "type": "string",
      "type": "string",
      "pattern": "[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])",
      "pattern": "^[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$",
      "description": "Date in format YYYY-MM-DD according to ISO 8601"
      "description": "Date in format YYYY-MM-DD according to ISO 8601"
    },
    },
    "Organisation": {
    "Organisation": {
@@ -513,7 +513,7 @@
        },
        },
        "vATNumber": {
        "vATNumber": {
          "type": "string",
          "type": "string",
          "pattern": "[A-Z]{2}.*",
          "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 country of issue"
          "description": "Value Added Tax number, typically starting with a two letter country code according to ISO code 3166 - alpha 2 - that identifies the country of issue"
        },
        },
        "addresses": {
        "addresses": {
@@ -545,7 +545,7 @@
    },
    },
    "IBAN": {
    "IBAN": {
      "type": "string",
      "type": "string",
      "pattern": "[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}",
      "pattern": "^[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}$",
      "description": "International Bank Account Number according to ISO 13616-1:2020, converted to upper-case letters."
      "description": "International Bank Account Number according to ISO 13616-1:2020, converted to upper-case letters."
    },
    },
    "PaymentCard": {
    "PaymentCard": {
@@ -712,6 +712,281 @@
          "description": "Algorithm used to compute the checksum"
          "description": "Algorithm used to compute the checksum"
        }
        }
      }
      }
    },
    "SubscriberInformationRecord": {
      "type": "object",
      "title": "Subscriber data: subscriber information",
      "description": "Details about a natural person or organisation as requested per EPOC Form 1 Section F subscriber data checkbox labelled: name, date of birth, postal or geographic address, contact information (email address, phone number) and other relevant information pertaining to the identity of the user/subscription holder",
      "properties": {
        "validityPeriod": {
          "$ref": "#/$defs/ValidityPeriod",
          "description": "Validity period of the data in this record"
        },
        "subscriber": {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "person": {
                  "$ref": "#/$defs/Person",
                  "description": "Information about the natural person registered as the subscriber"
                }
              },
              "required": [
                "person"
              ]
            },
            {
              "type": "object",
              "properties": {
                "organisation": {
                  "$ref": "#/$defs/Organisation",
                  "description": "Information about the organisation registered as the subscriber"
                }
              },
              "required": [
                "organisation"
              ]
            }
          ],
          "description": "Subscriber is either a natural person or an organisation"
        }
      },
      "required": [
        "subscriber"
      ]
    },
    "RegistrationInformationRecord": {
      "type": "object",
      "title": "Subscriber data: registration information",
      "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, copy of a contract, means of verification of identity at the moment of registration, copies of documents provided by the subscriber",
      "properties": {
        "initialStartDateTime": {
          "$ref": "ts_103280_2017_07#/$defs/QualifiedMicrosecondDateTime",
          "description": "Date and Time of the initial registration"
        },
        "contract": {
          "$ref": "#/$defs/Contract",
          "description": "Details on the contract, e.g. id. product or service name, copy of the contract"
        },
        "identityVerification": {
          "$ref": "#/$defs/IdentityVerification",
          "description": "Details about the identity verification of the registration"
        }
      }
    },
    "ServiceInformationRecord": {
      "type": "object",
      "title": "Subscriber data: service information",
      "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) used by or provided to the subscriber at the moment of initial registration or activation (e.g. phone number, SIM-card number, MAC address) and associated device(s)",
      "properties": {
        "validityPeriod": {
          "$ref": "#/$defs/ValidityPeriod",
          "description": "Validity period of the data in this record"
        },
        "typeOfService": {
          "type": "string",
          "description": "type of service, e.g. telephony, messaging, email, data access"
        },
        "startDate": {
          "$ref": "#/$defs/Date",
          "description": "Start date of the 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"
        },
        "installationAddresses": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Address"
          },
          "description": "List of addresses where the service is installed"
        },
        "associatedDevices": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Device"
          },
          "description": "List of devices associated to the service"
        }
      }
    },
    "PaymentInformationRecord": {
      "type": "object",
      "title": "Subscriber data: ppayment information",
      "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 (provided by the user for billing purposes), including other means of payment",
      "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"
        }
      }
    },
    "PUKCodesRecord": {
      "type": "object",
      "title": "Subscriber data: 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"
        },
        "pUKCode": {
          "$ref": "#/$defs/PUKCode"
        }
      },
      "required": [
        "pUKCode"
      ]
    },
    "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"
        }
      }
    },
    "Device": {
      "type": "object",
      "description": "Information about a device",
      "properties": {
        "deviceManufacturer": {
          "type": "string",
          "description": "Manufacturer of the device"
        },
        "deviceModel": {
          "type": "string",
          "description": "Model of the device. This could for instance include the Product Name, Model Name, or combination of both"
        },
        "deviceID": {
          "type": "string",
          "description": "Non-standard identifier of the device"
        },
        "iMEIs": {
          "type": "array",
          "items": {
            "$ref": "ts_103280_2017_07#/$defs/IMEI"
          }
        },
        "mACAddresses": {
          "type": "array",
          "items": {
            "$ref": "ts_103280_2017_07#/$defs/MACAddress"
          }
        },
        "eUICCID": {
          "type": "array",
          "items": {
            "$ref": "ts_103280_2017_07#/$defs/EUICCID",
            "description": "Identity of the Embedded Universal Integrated Circuit Card IDentifier"
          }
        }
      }
    },
    "PUKCode": {
      "type": "object",
      "description": "Information about the PUK",
      "properties": {
        "identityOfSIMCard": {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "iCCID": {
                  "$ref": "ts_103280_2017_07#/$defs/ICCID",
                  "description": "Identity of the SIM card is an Integrated Circuit Card IDentifier"
                }
              },
              "required": [
                "iCCID"
              ]
            },
            {
              "type": "object",
              "properties": {
                "eUICCID": {
                  "$ref": "ts_103280_2017_07#/$defs/EUICCID",
                  "description": "Identity of the SIM card is an Embedded Universal Integrated Circuit Card IDentifier"
                }
              },
              "required": [
                "eUICCID"
              ]
            }
          ],
          "description": "Identity of the SIM Card is either an ICCID or an EUICCID"
        },
        "pUK": {
          "type": "string",
          "description": "Personal Unblocking Key for PIN"
        },
        "pUK2": {
          "type": "string",
          "description": "Personal Unblocking Key for PIN2"
        }
      }
    }
    }
  }
  }
}
}
Loading