Commit 131a5236 authored by ruiyue's avatar ruiyue
Browse files

Replace TS28312_IntentNrm.yaml

parent 5f3c044f
Loading
Loading
Loading
Loading
Loading
+73 −42
Original line number Diff line number Diff line
openapi: 3.0.1
info:
  title: Intent NRM
  version: 19.2.0
  version: 19.3.0
  description: >-
    OAS 3.0.1 definition of the Intent NRM
    © 2025, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
@@ -77,6 +77,9 @@ components:
            type: boolean
          intentReportControl:
            $ref: '#/components/schemas/IntentReportControl'
          implicitIntentIndex:
            type: boolean
            default: false
          intentReportReference:
            $ref: 'TS28623_ComDefs.yaml#/components/schemas/DnRo'
          intentUtilityFormulaRef:
@@ -120,21 +123,15 @@ components:
            minItems: 1
            items:
              $ref: '#/components/schemas/IntentHandlingCapability'
          supportedExpectationTargetInfo:
          supportedUtilityList:
            type: array
            items:
              $ref: '#/components/schemas/SupportedExpectationTargetInfo'
              $ref: '#/components/schemas/UtilityDefinition'
            uniqueItems: true
            minItems: 1
          Intent:
            $ref: '#/components/schemas/Intent-Multiple'
          IntentReport:
            $ref: '#/components/schemas/IntentReport-Multiple'
          supportedUtilityList:
            type: array
            items:
              $ref: '#/components/schemas/UtilityDefinition'
            uniqueItems: true   
    IntentUtilityFormula-Single:
      description: >- 
       It represents an intent utility function instance.
@@ -144,8 +141,6 @@ components:
        properties:
          utilityFunctionId:
            type: string
            uniqueItems: true
            minItems: 1
          utilityParameterList:
            type: array
            items:
@@ -155,9 +150,11 @@ components:
          utilityScale:
            type: number
            minItems: 1
            default: 0
          utilityOffset:
            type: number
            minItems: 1
            default: 0
   #-------Definition of generic IOCs ----------#  

   #-------Definition of the generic IntentExpectation dataType ----------#    
@@ -194,6 +191,8 @@ components:
          description: It represents the preference information of the Consumer on expectations.
      required:
        - expectationId
        - expectationObject
        - expectationTargets
   #-------Definition of the generic IntentExpectation dataType ----------#    

   #-------Definition of the generic ExpectationObject dataType ----------#    
@@ -427,6 +426,8 @@ components:
            - INTENT_FULFILMENT_REPORT
            - INTENT_CONFLICT_REPORT
            - INTENT_FEASIBILITY_CHECK_REPORT
            - INTENT_EXPLORATION_REPORT
            - INTENT_FULFILMENT_NEGOTIATION_REPORT
            - INTENT_UTILITY_REPORT
        reportingConditions:
          description: >-
@@ -440,6 +441,9 @@ components:
          type: array
          items: 
            type: string
      required:
        - reportRecipientAddress
        - observationPeriod
    ReportingCondition:
      description: >-
        It describes  the specified conditions for intent reporting.
@@ -502,6 +506,9 @@ components:
          uniqueItems: true
          items: 
            $ref: '#/components/schemas/TargetFulfilmentResult'
      required:
        - expectaitonId
        - expectationFulfilmentInfo    
   #-------Definition of the concrete ExpectationFulfilmentResult dataType----------------#

   #-------Definition of the generic TargetFulfilmentResult dataType----------------#
@@ -525,6 +532,9 @@ components:
          uniqueItems: true
          items:
            $ref: '#/components/schemas/Context'
      required:
        - targetName
        - targetFulfilmentInfo      
   #-------Definition of the concrete TargetFulfilmentResult dataType----------------#

   #-------Definition of the generic IntentConflictReport dataType----------------#
@@ -564,7 +574,9 @@ components:
          enum:
              - MODIFY
              - DELETE

      required:
        - conflictId
        - conflictType
   #-------Definition of the concrete IntentConflictReport dataType----------------#


@@ -607,6 +619,9 @@ components:
          type: array
          items:
            $ref: '#/components/schemas/InFeasibleExpectationInfo'
      required:
        - feasibilityCheckResult
        - infeasibilityReasons
    InFeasibleExpectationInfo:
      description: >-
        It describes the list of InFeasibleExpectationInfo for all infeasible IntentExpectations
@@ -622,6 +637,9 @@ components:
            type: string
            readOnly: true
          description: It describes the list of TargetNames for the InFeasibleTargets
      required:
        - expectationId
        - inFeasibleTargets    
   #-------Definition of the concrete IntentFeasibilityCheckReport dataType----------------#


@@ -658,6 +676,9 @@ components:
            $ref: '#/components/schemas/Context'
            uniqueItems: true
            minItems: 1
      required:
        - expectationId
        - targetExplorationResults
   #-------Definition of the generic IntentExplorationReport dataType----------------#


@@ -701,6 +722,9 @@ components:
            $ref: '#/components/schemas/PossibleImpact'
          uniqueItems: true
          minItems: 1
      required:
        - possibleIntentOutcomeId
        - intentFulfilmentInfo
    PossibleImpact:
      description: >-
        It represents the possible impact of the possible outcome
@@ -769,6 +793,10 @@ components:
            $ref: '#/components/schemas/SupportedExpectationTargetInfo'
          uniqueItems: true
          minItems: 1
      required:
        - intentHandlingCapabilityId
        - supportedExpectationObjectType
        - supportedExpectationTargetInfoList     
    SupportedExpectationTargetInfo:
      description: >-
        It indicates the detailed information about what the intent driven MnS producer supports for a given supportedExpectationObjectType.
@@ -787,6 +815,8 @@ components:
              items:
                $ref: '#/components/schemas/ValueRangeType'
            - $ref: '#/components/schemas/ValueRangeType'
      required:
        - supportedTargetName      
   #-------Definition of the concrete IntentHandlingCapability dataType----------------#


@@ -810,8 +840,10 @@ components:
      properties:
        utilityFunctionId:
          type: string
          readOnly: true
        utilityResult:
          type: number
          readOnly: true
   #-------Definition of the concrete UtilityResult dataType----------------#

   #-------Definition of the generic UtilityDefinition dataType----------------#
@@ -822,16 +854,15 @@ components:
      properties:
        utilityDefinitionId:
          type: string
          readOnly: true
        utilityDescription:
          type: string
          readOnly: true          
        utilityParameterList:
          oneOf:
            - type: array
              uniqueItems: true
              minItems: 1
            type: array
            items:
              $ref: '#/components/schemas/UtilityParameter'
            - $ref: '#/components/schemas/UtilityParameter'
            uniqueItems: true
   #-------Definition of the concrete UtilityDefinition dataType----------------#

   #------Definition of JSON arrays for name-contained IOCs ---------------#