Commit 124c9fca authored by yanya's avatar yanya
Browse files

after CT3#147

parent 3d893d3a
Loading
Loading
Loading
Loading
Loading
+61 −13
Original line number Diff line number Diff line
@@ -5,12 +5,12 @@ info:
  title: Unified Data Repository Service API file for policy data
  description: |
    The API version is defined in 3GPP TS 29.504  
    © 2025, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).  
    © 2026, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).  
    All rights reserved.

externalDocs:
  description: >
    3GPP TS 29.519 V19.5.0; 5G System; Usage of the Unified Data Repository Service for Policy Data,
    3GPP TS 29.519 V20.0.0; 5G System; Usage of the Unified Data Repository Service for Policy Data,
    Application Data and Structured Data for Exposure.
  url: 'https://www.3gpp.org/ftp/Specs/archive/29_series/29.519/'

@@ -165,15 +165,16 @@ paths:
      responses:
        '200':
          description: >
            Upon success, a response body containing access and mobility policies is returned.
            Successful case. The resource was successfully updated and the representation of the
            updated resource is returned in the response body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AmPolicyData'
        '204':
          description: >
            Successful case. The resource has been successfully updated and no additional content is
            to be sent in the response message.
            Successful case. The resource was successfully updated and no content is returned
            in the response body.
        '400':
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401':
@@ -352,10 +353,18 @@ paths:
            schema:
              $ref: '#/components/schemas/UePolicySetPatch'
      responses:
        '200':
          description: >
            Successful case. The resource was successfully updated and the representation of the
            updated resource is returned in the response body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UePolicySet'
        '204':
          description: >
            Successful case. The resource has been successfully updated and no additional content is
            to be sent in the response message.
            Successful case. The resource was successfully updated and no content is returned
            in the response body.
        '400':
          $ref: 'TS29571_CommonData.yaml#/components/responses/400'
        '401':
@@ -503,10 +512,12 @@ paths:
      responses:
        '204':
          description: >
            Successful case. The resource has been successfully updated and no
            additional content is to be sent in the response message.
            Successful case. The resource was successfully updated and no content is returned
            in the response body.
        '200':
          description: Expected response to a valid request
          description: >
            Successful case. The resource was successfully updated and the representation of the
            updated resource is returned in the response body.
          content:
            application/json:
              schema:
@@ -2357,7 +2368,7 @@ components:
        spendLimInfo:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/PolicyCounterInfoRm'
            $ref: '#/components/schemas/PolicyCounterInfoUpdate'
          minProperties: 1
          description: >
            Contains the status of the requested policy counters for UE.
@@ -2494,7 +2505,7 @@ components:
          type: object
          nullable: true
          additionalProperties:
            $ref: '#/components/schemas/PolicyCounterInfoRm'
            $ref: '#/components/schemas/PolicyCounterInfoUpdate'
          minProperties: 1
          description: >
            Contains the updated status of the requested policy counters for UE.
@@ -3071,7 +3082,7 @@ components:
          type: object
          nullable: true
          additionalProperties:
            $ref: '#/components/schemas/PolicyCounterInfoRm'
            $ref: '#/components/schemas/PolicyCounterInfoUpdate'
          minProperties: 1
          description: >
            Contains the updated status of the requested policy counters for the PDU session.
@@ -3340,6 +3351,7 @@ components:
        - timeStamp

    PolicyCounterInfoRm:
      deprecated: true
      description: Represents the data structure presenting the policy counter status.
      nullable: true
      type: object
@@ -3355,6 +3367,34 @@ components:
          description: Provides the pending policy counter status.
          nullable: true

    PolicyCounterInfoEnhRm:
      description: >
        This data type is defined in the same way as the PolicyCounterInfo data type defined in
        Clause 5.6.2.4 of 3GPP TS 29.594 [28] but with the OpenAPI "nullable" property set to
        "true".
      type: object
      nullable: true
      properties:
        policyCounterId:
          $ref: 'TS29594_Nchf_SpendingLimitControl.yaml#/components/schemas/PolicyCounterId'
        currentStatus:
          type: string
          description: >
            Identifies the policy counter status applicable for a specific policy counter identified
            by the policyCounterId. The values (e.g. valid, invalid or any other status) are not
            specified. The interpretation and actions related to the defined values are out of scope
            of 3GPP.
        penPolCounterStatuses:
          type: array
          items:
            $ref: 'TS29594_Nchf_SpendingLimitControl.yaml#/components/schemas/PendingPolicyCounterStatus'
          minItems: 1
          description: Provides the pending policy counter status.
          nullable: true
      required:
        - policyCounterId
        - currentStatus

# SIMPLE TYPES:

    IpIndex:
@@ -3382,6 +3422,12 @@ components:
    Upsi:
      $ref: 'TS29571_CommonData.yaml#/components/schemas/Bytes'

    PolicyCounterInfoUpdate:
      description: Represents the policy counter status update information.
      anyOf:
        - $ref: '#/components/schemas/PolicyCounterInfoRm'
        - $ref: '#/components/schemas/PolicyCounterInfoEnhRm'

# ENUMS:

    UsageMonLevel:
@@ -3437,3 +3483,5 @@ components:
          description: >
            This string provides forward-compatibility with future extensions to the enumeration
            and is not used to encode content defined in the present version of this API.