Commit a74e0d63 authored by bradburyr's avatar bradburyr
Browse files

Repointed $refs to TS26510_CommonData.yaml, where appropriate.

Removed UnidirectionalQoSSpecification to TS 26.510 as a reusable data type.
Reinstated CacheStatus enumeration.
parent 492c5bd0
Loading
Loading
Loading
Loading
+15 −26
Original line number Diff line number Diff line
@@ -44,9 +44,9 @@ components:
        - processingLatency
      properties:
        mediaStreamHandlerEndpointAddress:
          $ref: '#/components/schemas/EndpointAddress'
          $ref: 'TS26510_CommonData.yaml#/components/schemas/EndpointAddress'
        applicationServerEndpointAddress:
          $ref: '#/components/schemas/EndpointAddress'
          $ref: 'TS26510_CommonData.yaml#/components/schemas/EndpointAddress'
        requestMessage:
          type: object
          required:
@@ -75,7 +75,7 @@ components:
            userIdentity:
              type: string
            referer:
              $ref: '#/components/schemas/AbsoluteUrl'
              $ref: 'TS26510_CommonData.yaml#/components/schemas/AbsoluteUrl'
        cacheStatus:
          $ref: '#/components/schemas/CacheStatus'
        responseMessage:
@@ -114,14 +114,14 @@ components:
      type: object
      properties:
        policyTemplateId:
          $ref: '#/components/schemas/ResourceId'
          $ref: 'TS26510_CommonData.yaml#/components/schemas/ResourceId'
        serviceDataFlowDescriptions:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/ServiceDataFlowDescription'
            $ref: 'TS26510_CommonData.yaml#/components/schemas/ServiceDataFlowDescription'
        requestedQoS:
          $ref: '#/components/schemas/UnidirectionalQoSSpecification'
          $ref: 'TS26510_CommonData.yaml#/components/schemas/UnidirectionalQoSSpecification'
        # The network QoS parameters (if any) requested by the Media Session Handler.
        recommendedQoS:
          type: object
@@ -135,26 +135,15 @@ components:
            minimumBitRate:
              $ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'

    UnidirectionalQoSSpecification:
      type: object
      description: A specification for network Quality of Service in either the downlink or uplink direction.
      required:
        - maximumRequestedBitRate
        - minimumRequestedBitRate
      properties:
        maximumRequestedBitRate:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
        minimumDesiredBitRate:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
        minimumRequestedBitRate:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
        desiredPacketLatency:
          type: integer
          minimum: 0
        desiredPacketLossRate:
          type: integer
          minimum: 0

    #####################################
    # Clause 6.4.4: Enumerated data types
    #####################################
    CacheStatus:
      anyOf:
        - type: string
          enum: [HIT, MISS, EXPIRED]
        - type: string
          description: >
            This string provides forward-compatibility with future
            extensions to the enumeration but is not used to encode
            content defined in the present version of this API.
 No newline at end of file