ETSI TS 129 504 V15.1.0 (2018-10)

5G; 5G System; Unified Data Repository Services; Stage 3 (3GPP TS 29.504 version 15.1.0 Release 15)

ETSI TS 129 504 V15.1.0 (2018-10)

Name:ETSI TS 129 504 V15.1.0 (2018-10)   Standard name:5G; 5G System; Unified Data Repository Services; Stage 3 (3GPP TS 29.504 version 15.1.0 Release 15)
Standard number:ETSI TS 129 504 V15.1.0 (2018-10)   language:English language
Release Date:09-Oct-2018   technical committee:3GPP CT 4 - MAP/CAMEL/GTP/BCH/SS/TrFO/IMS/GUP/WLAN (formely CN4)
Drafting committee:   ICS number:
ETSI TS 129 504 V15.1.0 (2018-10)






TECHNICAL SPECIFICATION
5G;
5G System;
Unified Data Repository Services;
Stage 3
(3GPP TS 29.504 version 15.1.0 Release 15)

---------------------- Page: 1 ----------------------
3GPP TS 29.504 version 15.1.0 Release 15 1 ETSI TS 129 504 V15.1.0 (2018-10)



Reference
RTS/TSGC-0429504vf10
Keywords
5G
ETSI
650 Route des Lucioles
F-06921 Sophia Antipolis Cedex - FRANCE

Tel.: +33 4 92 94 42 00  Fax: +33 4 93 65 47 16

Siret N° 348 623 562 00017 - NAF 742 C
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88

Important notice
The present document can be downloaded from:

The present document may be made available in electronic versions and/or in print. The content of any electronic and/or
print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any
existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the
print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat.
Users of the present document should be aware that the document may be subject to revision or change of status.
Information on the current status of this and other ETSI documents is available at

If you find errors in the present document, please send your comment to one of the following services:

Copyright Notification
No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying
and microfilm except as authorized by written permission of ETSI.
The content of the PDF version shall not be modified without the written authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.

© ETSI 2018.
All rights reserved.

TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are trademarks of ETSI registered for the benefit of its Members.
TM TM
3GPP and LTE are trademarks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
oneM2M logo is protected for the benefit of its Members.

GSM and the GSM logo are trademarks registered and owned by the GSM Association.
ETSI

---------------------- Page: 2 ----------------------
3GPP TS 29.504 version 15.1.0 Release 15 2 ETSI TS 129 504 V15.1.0 (2018-10)
Intellectual Property Rights
Essential patents
IPRs essential or potentially essential to normative deliverables may have been declared to ETSI. The information
pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found
in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in
respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web
server (https://ipr.etsi.org/).
Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee
can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web
server) which are, or may be, or may become, essential to the present document.
Trademarks
The present document may include trademarks and/or tradenames which are asserted and/or registered by their owners.
ETSI claims no ownership of these except for any which are indicated as being the property of ETSI, and conveys no
right to use or reproduce any trademark and/or tradename. Mention of those trademarks in the present document does
not constitute an endorsement by ETSI of products, services or organizations associated with those trademarks.
Foreword
This Technical Specification (TS) has been produced by ETSI 3rd Generation Partnership Project (3GPP).
The present document may refer to technical specifications or reports using their 3GPP identities, UMTS identities or
GSM identities. These should be interpreted as being references to the corresponding ETSI deliverables.
The cross reference between GSM, UMTS, 3GPP and ETSI identities can be found under
.
Modal verbs terminology
In the present document "shall", "shall not", "should", "should not", "may", "need not", "will", "will not", "can" and
"cannot" are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of
provisions).
"must" and "must not" are NOT allowed in ETSI deliverables except when used in direct citation.
ETSI

---------------------- Page: 3 ----------------------
3GPP TS 29.504 version 15.1.0 Release 15 3 ETSI TS 129 504 V15.1.0 (2018-10)
Contents
Intellectual Property Rights . 2
Foreword . 2
Modal verbs terminology . 2
Foreword . 5
1 Scope . 6
2 References . 6
3 Definitions and abbreviations . 7
3.1 Definitions . 7
3.2 Abbreviations . 7
4 Overview . 7
5 Services offered by the UDR . 8
5.1 Introduction . 8
5.2 Nudr_DataRepository Service . 8
5.2.1 Service Description . 8
5.2.1.1 Service and operation description. 8
5.2.1.2 Service operation and data access authorization . 8
5.2.2 Service Operations . 8
5.2.2.1 Introduction . 8
5.2.2.2 Query . 9
5.2.2.2.1 General . 9
5.2.2.2.2 Data retrieval . 9
5.2.2.2.3 Retrieval of subset of a resource . 10
5.2.2.3 Create . 11
5.2.2.3.1 General . 11
5.2.2.3.2 Data Creation using PUT . 11
5.2.2.3.3 Data Creation using POST . 12
5.2.2.4 Delete . 12
5.2.2.4.1 General . 12
5.2.2.4.2 Deleting Data . 12
5.2.2.5 Update . 13
5.2.2.5.1 General . 13
5.2.2.5.2 Data Update using PATCH . 13
5.2.2.5.3 Data Update using PUT . 13
5.2.2.6 Subscribe . 14
5.2.2.6.1 General . 14
5.2.2.6.2 NF service consumer subscribes to notifications to UDR . 14
5.2.2.6.3 Stateless UDM subscribes to notifications to UDR . 14
5.2.2.7 Unsubscribe . 15
5.2.2.7.1 General . 15
5.2.2.7.2 Unsubscribe service operation . 15
5.2.2.8 Notify . 16
5.2.2.8.1 General . 16
5.2.2.8.2 Notification to NF service consumer on data change . 16
5.2.2.8.3 Notification to stateless UDM on data change . 16
6 API Definitions . 17
6.1 Nudr_DataRepository Service API . 17
6.1.1 API URI . 17
6.1.2 Usage of HTTP . 17
6.1.2.1 General . 17
6.1.2.2 HTTP standard headers . 17
6.1.2.2.1 General . 17
6.1.2.2.2 Content type . 17
6.1.2.3 HTTP custom headers . 17
ETSI

---------------------- Page: 4 ----------------------
3GPP TS 29.504 version 15.1.0 Release 15 4 ETSI TS 129 504 V15.1.0 (2018-10)
6.1.2.3.1 General . 17
6.1.2.3.2 3gpp-Sbi-Message-Priority . 17
6.1.3 Resources . 18
6.1.3.1 Overview . 18
6.1.3.2 SubscriptionData . 18
6.1.3.3 PolicyData . 18
6.1.3.4 StructuredDataForExposure . 19
6.1.3.5 ApplicationData . 19
6.1.5 Notifications . 19
6.1.5.1 General . 19
6.1.5.2 Data Change Notification . 19
6.1.6 Error Handling . 19
6.1.7 Security . 20
6.1.8 Feature negotiation . 20
Annex A (normative): OpenAPI specification . 21
A.1 General . 21
A.2 Nudr_DataRepository API . 21
Annex B (informative): Change history . 24
History . 25

ETSI

---------------------- Page: 5 ----------------------
3GPP TS 29.504 version 15.1.0 Release 15 5 ETSI TS 129 504 V15.1.0 (2018-10)
Foreword
This Technical Specification has been produced by the 3rd Generation Partnership Project (3GPP).
The contents of the present document are subject to continuing work within the TSG and may change following formal
TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an
identifying change of release date and an increase in version number as follows:
Version x.y.z
where:
x the first digit:
1 presented to TSG for information;
2 presented to TSG for approval;
3 or greater indicates TSG approved document under change control.
y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections,
updates, etc.
z the third digit is incremented when editorial only changes have been incorporated in the document.
ETSI

---------------------- Page: 6 ----------------------
3GPP TS 29.504 version 15.1.0 Release 15 6 ETSI TS 129 504 V15.1.0 (2018-10)
1 Scope
The present document specifies the stage 3 protocol and high level data model for the Nudr Service Based Interface. It
provides stage 3 protocol definitions and message flows, and specifies the API for each service offered by the Unified
Data Repository (UDR). The data model and usage of the subscription data is specified in 3GPP TS 29.505 [2], and the
data model and usage of the policy data, structured data for exposure and application data are specified in 3GPP
TS 29.519 [3].
The 5G System architecture is specified in 3GPP TS 23.501 [4]. The stage 2 definition and related procedures for Nudr
SBI service are specified in 3GPP TS 23.502 [5] and 3GPP TS 23.503 [6].
The Technical Realization of the Service Based Architecture is specified in 3GPP TS 29.500 [7] and the Principles and
Guidelines for Services Definition is specified in 3GPP TS 29.501 [8].
2 References
The following documents contain provisions which, through reference in this text, constitute provisions of the present
document.
- References are either specific (identified by date of publication, edition number, version number, etc.) or
non-specific.
- For a specific reference, subsequent revisions do not apply.
- For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including
a GSM document), a non-specific reference implicitly refers to the latest version of that document in the same
Release as the present document.
[1] 3GPP TR 21.905: "Vocabulary for 3GPP Specifications".
[2] 3GPP TS 29.505: "5G System; Usage of the Unified Data Repository Services for Subscription
Data; Stage 3".
[3] 3GPP TS 29.519: "5G System; Usage of the Unified Data Repository Service for Policy Data,
Structured Data for Exposure and Application Data; Stage 3".
[4] 3GPP TS 23.501: "System Architecture for the 5G System; Stage 2".
[5] 3GPP TS 23.502: "Procedures for the 5G System; Stage 2".
[6] 3GPP TS 23.503: "Policy and Charging Control Framework for the 5G System; Stage 2".
[7] 3GPP TS 29.500: "5G System; Technical Realization of Service Based Architecture; Stage 3".
[8] 3GPP TS 29.501: "5G System; Principles and Guidelines for Services Definition; Stage 3".
[9] IETF RFC 6901(April 2013): "JavaScript Object Notation (JSON) Pointer".
[10] 3GPP TS 29.571: "5G System; Common Data Types for Service Based Interfaces Stage 3".
[11] IETF RFC 8259: "The JavaScript Object Notation (JSON) Data Interchange Format".
[12] 3GPP TS 33.501: "Security architecture and procedures for 5G system".
[13] IETF RFC 6749: "The OAuth 2.0 Authorization Framework".
[14] 3GPP TS 29.510: "Network Function Repository Services; Stage 3".

ETSI

---------------------- Page: 7 ----------------------
3GPP TS 29.504 version 15.1.0 Release 15 7 ETSI TS 129 504 V15.1.0 (2018-10)
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the terms and definitions given in 3GPP TR 21.905 [1] and the following
apply. A term defined in the present document takes precedence over the definition of the same term, if any, in 3GPP
TR 21.905 [1].
3.2 Abbreviations
For the purposes of the present document, the abbreviations given in 3GPP TR 21.905 [1] and the following apply. An
abbreviation defined in the present document takes precedence over the definition of the same abbreviation, if any, in
3GPP TR 21.905 [1].
GPSI Generic Public Subscription Identifier
NEF Network Exposure Function
PCF Policy Control Function
SUPI Subscription Permanent Identifier
UDM Unified Data Management
UDR Unified Data Repository
4 Overview
The Unified Data Repository (UDR) is the network entity in the 5G Core Network (5GC) supporting the following
functionalities:
- Storage and retrieval of subscription data as specified in 3GPP TS 29.505 [2];
- Storage and retrieval of policy data as specified in 3GPP TS 29.519 [3];
- Storage and retrieval of structured data for exposure as specified in 3GPP TS 29.519 [3];
- Storage and retrieval of application data (including Packet Flow Descriptions (PFDs) for application detection,
application request information for multiple UEs) as specified in 3GPP TS 29.519 [3];
- Subscription to notification and the notification of subscribed data changes.
Figures 4-1 shows the data storage architecture for the 5GC:
UDR
UDM
Subscription Data
Nudr
Policy Data
PCF
Structured Data
for exposure
NEF Application Data

Figure 4-1: Data storage architecture
The Nudr interface is used by the network functions (i.e. UDM, PCF and NEF) to access a particular set of the data
stored in the UDR.
ETSI

---------------------- Page: 8 ----------------------
3GPP TS 29.504 version 15.1.0 Release 15 8 ETSI TS 129 504 V15.1.0 (2018-10)
5 Services offered by the UDR
5.1 Introduction
The UDR offers the following services via the Nudr interface:
- Nudr_DataRepository Service
NOTE: This service corresponds to the Nudr_DataManagement service in 3GPP TS 23.501 [4],
3GPP TS 23.502 [5] and 3GPP TS 23.503 [6].
5.2 Nudr_DataRepository Service
5.2.1 Service Description
5.2.1.1 Service and operation description
The UDR is acting as NF Service Producer. It provides Unified Data Repository service to the NF service consumer.
The NF Service Consumers are the UDM, PCF and NEF.
For the Nudr_DataRepository service, the following service operations are defined:
- Query
- Create
- Delete
- Update
- Subscribe
- Unsubscribe
- Notify
This service allows NF service consumers to retrieve, create, update, modify and delete data stored in the UDR.
This service allows the NF service consumers to subscribe/unsubscribe the data change notification and to be notified of
the data change.
5.2.1.2 Service operation and data access authorization
UDR provides one Nudr_DataRepository service to all of the NF consumers, while different types of data may have
different data access authorizations, the UDR shall be able to have the authorization management mechanism to
guarantee the safety of data access.
And the information in the Nudr_DataRepository service operation should be able to identify the NF type of the
consumer and the service operation type or name, and to indicate the requested data information including the data set
and data subset, and the resource/data identifier. All HTTP methods for the service operation shall include the
information in the appropriate place of the HTTP message.
If there is an illegal service operation or data access request initiated by a NF consumer, the service failure response
should be returned through the Nudr interface with an explicit cause value.
5.2.2 Service Operations
5.2.2.1 Introduction
This clause specifies the generic Nudr_DataRepository service operations towards the different data sets as shown in
Figure 4-1.
The HTTP request of the service operations contains a resource URI that the {apiSpecificResourceUriPart} (see
subclause 4.4.2 in 3GPP TS 29.501[4]) consists of a top-level segment and sub-level segment(s).
ETSI

---------------------- Page: 9 ----------------------
3GPP TS 29.504 version 15.1.0 Release 15 9 ETSI TS 129 504 V15.1.0 (2018-10)
For Create, Query, Update and Delete operations, the top-level segment indicates one top level resource representing
one of the data sets, which are defined as "/subscription-data", "/policy-data", "/exposure-data" and "/application-data"
in Figure 6.1.3.1-1. And a certain child resource is indicated by of the end URI of the sub-level segments, which are
defined in 3GPP TS 29.505 [2] for use when the top-level segment is "/subscription-data" and in 3GPP TS 29.519 [3]
for use when the top-level segment is "/policy-data", "/exposure-data" or "/application-data".
For Subscribe/Unsubscribe to data change notification operations, the resource of the subscription to the notification
should be as the child resource of each of the data sets (i.e. "/subscription-data", "/policy-data", "/exposure-data" and
"/application-data"), which are indicated by the top-level segment in the URI. And the resource representation of the
subscription to the notification should be indicated by the sub-level segment of each data set.
The following procedures for each operation should be taken as the common procedures and applicable to
corresponding detail procedures with the same service operation in 3GPP TS 29.505 [2] and 3GPP TS 29.519 [3].
5.2.2.2 Query
5.2.2.2.1 General
The Query service operation is used to retrieve the data stored in the UDR. HTTP GET method shall be used for the
service operation to request the certain data record(s). One piece of data records should be a data set, a data subset, a
group of data in one data subset, or a specific data. If the data record(s) are the attribute(s), query parameter or the
combination of query parameters should be used as the filters to control the content of result.
5.2.2.2.2 Data retrieval
Figure 5.2.2.2.2-1 shows a scenario where the NF service consumer (e.g. UDM, PCF or NEF) sends a request to the
UDR to retrieve data.
Query parameters may be used for data retrieval:
i) Subclause 5.2.2.2.3 specifies the query parameter used for retrieving subset of a resource;
ii) Other query parameters are defined in 3GPP TS 29.505 [2] and 3GPP TS 29.519 [3].


Figure 5.2.2.2.2-1: Retrieving Data
1. The NF service consumer shall send a GET request to the resource representing the data. Query parameters may
be used to restrict the response to the requested data record(s) of the resource's representation. Query parameters
may also indicate the features that the NF service consumer supports as described in subclause 6.6.2 of
3GPP TS 29.500 [7].
2. On success, the UDR shall respond with "200 OK" with the message body containing the requested data
record(s) restricted to the query parameters. (and thus also to the indicated features supported by the NF service
consumer).
On failure, the UDR shall return an appropriated error code with the error cause information.
The error codes of corresponding service operations in 3GPP TS 29.505 [2] and 3GPP TS 29.519 [3] shall align and
comply with the failure response mechanism which is defined in 3GPP TS 29.500 [7].
ETSI

---------------------- Page: 10 ----------------------
3GPP TS 29.504 version 15.1.0 Release 15 10 ETSI TS 129 504 V15.1.0 (2018-10)
5.2.2.2.3 Retrieval of subset of a resource
When a resource has multiple attributes, it is allowed for the NFs to retrieve a subset of the attributes. When the
attribute is of type map, it is allowed for the NFs to retrieve individual member(s) of that map. For retrieval of subset of
a resource, a new query parameter "fields" is defined to carry the identities of the attributes to be retrieved. The
definition of "fields" query parameter is:
1) "fields" query parameter is of type array; and
2) each element of the array is of type string encoded as a JSON pointer as defined IETF RFC 6901 [9].
NOTE: identifying an individual element in the array is supported by JSON pointer, however it is not
recommended to use this feature if the client is not exactly aware of the order of the members in the array.
If retrieval of subset of a particular resource is supported, then all the attributes of the corresponding data type of that
resource shall be optional or conditional.
EXAMPLE 1:
Given the following representation of ExResource:
{
 "lv1Attr1": "value1"
 "lv1Attr2": "value2"
 "lv1Attr3": {
  "lv2Attr1": "value3"
  "lv2Attr2": "value4"
 }
}
To retrieve "lv1Attr1" and "lv2Attr2", the NF sends the following request:
GET /ExResource?fields=/lv1Attr1, /lv1Attr3/lv2Attr2
Upon success, the UDR then returns the following representation:
{
 "lv1Attr1": "value1"
 "lv1Attr3": {
  "lv2Attr2": "value4"
 }
}

EXAMPLE 2:
Given the following representation of ExResource:
{
 "Attr1": "value1"
 "Attr2": "value2"
 "AttrMap": {
ETSI

---------------------- Page: 11 ----------------------
3GPP TS 29.504 version 15.1.0 Release 15 11 ETSI TS 129 504 V15.1.0 (2018-10)
  "Key1": {ExObject1}
  "Key2": {ExObject2}
 }
}
To retrieve "Attr1" and the second member of "AttrMap ", the NF sends the following request:
GET /ExResource?fields=/Attr1, /AttrMap/Key2
Upon success,
...

  • Relates Information
  • IEC 60300-3-7:1999

    IEC 60300-3-7:1999 - Dependability management - Part 3-7: Application guide - Reliability stress screening of electronic hardware Released:5/31/1999 Isbn:2831847974
    09-20
  • HD 571 S1:1990

    HD 571 S1:1998
    09-20
  • ISO 8130-4:1992

    ISO 8130-4:1992 - Coating powders
    09-20
  • HD 478.2.7 S1:1990

    HD 478.2.7 S1:2003
    09-19
  • ISO 8473:1988/Cor 1:1992

    ISO 8473:1988/Cor 1:1992 - Information processing systems — Data communications — Protocol for providing the connectionless-mode network service — Technical Corrigendum 1 Released:12/10/1992
    09-19
  • EN ISO 9013:2017/prA1

    EN ISO 9013:2017/oprA1:2024
    09-19
  • IEC 60118-6:1999

    IEC 60118-6:1999 - Hearing aids - Part 6: Characteristics of electrical input circuits for hearing aids Released:6/9/1999 Isbn:2831848075
    09-19
  • HD 280.3 S1:1990

    HD 280.3 S1:1999
    09-19
  • ISO 9832:1992

    ISO 9832:1992 - Animal and vegetable fats and oils -- Determination of residual technical hexane content
    09-19
  • EN 60188:1988/A1:1990

    EN 60188:1999/A1:1999
    09-18