Commit dc300fdd authored by ruiyue's avatar ruiyue
Browse files

Edit TS28312_IntentNrm.yaml

parent a986d54f
Loading
Loading
Loading
Loading
+29 −17
Original line number Diff line number Diff line
@@ -65,6 +65,7 @@ components:
            enum:
              - ACTIVATED
              - DEACTIVATED
            default: ACTIVATED
            description: >-
              It describes the intent administrative state. 
              This attribute is used when MnS consumer-suspension mechanism is supported
@@ -76,6 +77,9 @@ components:
          intentPreemptionCapability:
            type: boolean
          intentReportControl:
            type: array
            uniqueItems: true
            items:
              $ref: '#/components/schemas/IntentReportControl'
          implicitIntentIndex:
            type: boolean
@@ -101,7 +105,10 @@ components:
            $ref: '#/components/schemas/IntentFeasibilityCheckReport'
          intentExplorationReport:
            $ref: '#/components/schemas/IntentExplorationReport'
          intentUtilityReport:
          intentUtilityReports:
            type: array
            uniqueItems: true
            items:
              $ref: '#/components/schemas/IntentUtilityReport'
          intentFulfilmentNegotiationReport:
            $ref: '#/components/schemas/IntentFulfilmentNegotiationReport'
@@ -132,6 +139,8 @@ components:
            $ref: '#/components/schemas/Intent-Multiple'
          IntentReport:
            $ref: '#/components/schemas/IntentReport-Multiple'
          IntentUtilityFormula:
             $ref: '#/components/schemas/IntentUtilityFormula-Multiple'   
    IntentUtilityFormula-Single:
      description: >- 
       It represents an intent utility function instance.
@@ -146,14 +155,11 @@ components:
            items:
              $ref: '#/components/schemas/UtilityParameter'
            uniqueItems: true
            minItems: 1
          utilityScale:
            type: number
            minItems: 1
            default: 0
            default: 1
          utilityOffset:
            type: number
            minItems: 1
            default: 0
   #-------Definition of generic IOCs ----------#  

@@ -421,18 +427,15 @@ components:
        expectedReportTypes:
          description: >-
            It indicates the type of IntentReports.
          type: string
          enum:
            - INTENT_FULFILMENT_REPORT
            - INTENT_CONFLICT_REPORT
            - INTENT_FEASIBILITY_CHECK_REPORT
            - INTENT_EXPLORATION_REPORT
            - INTENT_FULFILMENT_NEGOTIATION_REPORT
            - INTENT_UTILITY_REPORT
          type: array
          uniqueItems: true          
          items:
            $ref: '#/components/schemas/ExpectedReportType'
        reportingConditions:
          description: >-
             It indicates the specified conditions for intent reporting.
          type: array
          uniqueItems: true
          items:
            $ref: '#/components/schemas/ReportingCondition'
        reportingTargets:
@@ -444,6 +447,15 @@ components:
      required:
        - reportRecipientAddress
        - observationPeriod
    ExpectedReportType:
      type: string
      enum:
        - INTENT_FULFILMENT_REPORT
        - INTENT_CONFLICT_REPORT
        - INTENT_FEASIBILITY_CHECK_REPORT
        - INTENT_EXPLORATION_REPORT
        - INTENT_FULFILMENT_NEGOTIATION_REPORT
        - INTENT_UTILITY_REPORT
    ReportingCondition:
      description: >-
        It describes  the specified conditions for intent reporting.