Commit 432d8395 authored by bradburyr's avatar bradburyr
Browse files

Now requires "anyOf" qoSSpecification or chargingSpecification.

parent 152a872e
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -144,6 +144,9 @@ components:
        - state
        - stateReason
        - externalReference
      anyOf:
        - required: [qoSSpecification]
        - required: [chargingSpecification]
      properties:
        policyTemplateId:
          readOnly: true
@@ -165,8 +168,6 @@ components:
            - $ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
        externalReference:
          type: string
        qoSSpecification:
          $ref: 'TS26512_CommonData.yaml#/components/schemas/M1QoSSpecification'
        applicationSessionContext:
          type: object
          properties:
@@ -174,5 +175,7 @@ components:
              $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai'
            dnn:
              $ref: 'TS29571_CommonData.yaml#/components/schemas/Dnn'
        qoSSpecification:
          $ref: 'TS26512_CommonData.yaml#/components/schemas/M1QoSSpecification'
        chargingSpecification:
          $ref: 'TS26512_CommonData.yaml#/components/schemas/ChargingSpecification'