diff --git a/.jenkins.sh b/.jenkins.sh new file mode 100755 index 0000000000000000000000000000000000000000..74d0370875e23476bf3a058ebcb825f7494b3de7 --- /dev/null +++ b/.jenkins.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +specfiles=$(ls | egrep "^[^.]*.(json|yaml)") + +fres=0 +for i in $specfiles ; do + echo "-- Validating and linting OpenAPI file $i..." + swagger-cli validate $i + res=$? + speccy lint "$i" + res2=$? + fres=$(($fres||$res||$res2)) + echo "--- Validator returned $res, linter returned $res2." +done + +echo "-- Final validator returns $fres." +exit $fres + diff --git a/MEC030_V2XInformationService.yaml b/MEC030_V2XInformationService.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4dc7cf39c11dac42c53e343a293c427dd1285efe --- /dev/null +++ b/MEC030_V2XInformationService.yaml @@ -0,0 +1,1568 @@ +info: + title: "ETSI GS MEC 030 V2X Information Service API" + version: 2.1.1 + description: "ETSI GS MEC 030 V2X Information Service API described using OpenAPI." + contact: + name: ETSI Forge + email: cti_support@etsi.org + url: https://forge.etsi.org/rep/mec/gs030-vis-api + license: + name: BSD-3-Clause + url: 'https://forge.etsi.org/legal-matters' +externalDocs: + description: "ETSI GS MEC 030 V2X Information Service API, v2.1.1" + url: 'https://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.01.01_60/gs_mec030v020101p.pdf' +openapi: 3.0.0 +servers: + - url: 'https://localhost/vis/v1' +tags: + - name: queries + description: Queries + - name: subscription + description: Subscription + +paths: + /queries/uu_unicast_provisioning_info: + get: + tags: + - 'queries' + summary: 'Used to query provisioning information for V2X communication over Uu unicast.' + description: 'Used to query provisioning information for V2X communication over Uu unicast.' + operationId: prov_info_uu_unicastGET + parameters: + - in: query + name: location_info + schema: + type: string + required: true + description: 'Comma separated list of locations to identify a cell of a base station or a particular geographical area' + + responses: + '200': + description: 'A response body containing the Uu unicast provisioning information. ' + content: + application/json: + schema: + $ref: '#/components/schemas/UuUnicastProvisioningInfo' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + + /queries/uu_mbms_provisioning_info: + get: + tags: + - 'queries' + summary: 'retrieve information required for V2X communication over Uu MBMS.' + description: 'retrieve information required for V2X communication over Uu MBMS.' + operationId: prov_info_uu_mbmsGET + parameters: + - in: query + name: location_info + schema: + type: string + required: true + description: 'omma separated list of locations to identify a cell of a base station or a particular geographical area' + + responses: + '200': + description: 'A response body containing the Uu unicast provisioning information. ' + content: + application/json: + schema: + $ref: '#/components/schemas/UuMbmsProvisioningInfo' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + + /queries/pc5_provisioning_info: + get: + tags: + - 'queries' + summary: 'Query provisioning information for V2X communication over PC5.' + description: 'Query provisioning information for V2X communication over PC5.' + operationId: prov_infoGET + parameters: + - in: query + name: location_info + schema: + type: string + required: true + description: 'Comma separated list of locations to identify a cell of a base station or a particular geographical area' + responses: + '200': + description: 'A response body containing the PC5 provisioning information is returned.' + content: + application/json: + schema: + $ref: '#/components/schemas/Pc5ProvisioningInfo' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + + /provide_predicted_qos: + post: + tags: + - 'QoS' + summary: 'Request the predicted QoS correspondent to potential routes of a vehicular UE.' + description: 'Request the predicted QoS correspondent to potential routes of a vehicular UE.' + operationId: predicted_qosPOST + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/PredictedQos' + responses: + '200': + description: 'The response body shall contain the predicted QoS corresponding to potential routes of a vehicular UE' + content: + application/json: + schema: + $ref: '#/components/schemas/PredictedQos' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + + /publish_v2x_message: + post: + tags: + - 'V2X_msg' + summary: 'Used to publish a V2X message.' + description: 'Used to publish a V2X message.' + operationId: v2x_messagePOST + requestBody: + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/V2xMsgPublication' + responses: + '204': + $ref: '#/components/responses/204' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + + /subscriptions: + get: + tags: + - 'subscription' + summary: 'Request information about the subscriptions for this requestor.' + description: 'Request information about the subscriptions for this requestor.' + operationId: subGET + parameters: + - in: query + name: subscription_type + description: 'Query parameter to filter on a specific subscription type. Permitted values: prov_chg_uu_uni: provisioning information change for V2X communication over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X communication over Uu MBMS prov_chg_uu_pc5: provisioning information change for V2X communication over PC5. v2x_msg: V2X interoperability message' + schema: + type: string + required: false + responses: + '200': + description: 'A response body containing the list of links to requestor subscriptions is returned.' + content: + application/json: + schema: + $ref: '#/components/schemas/SubscriptionLinkList' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + post: + tags: + - 'subscription' + summary: ' create a new subscription to VIS notifications.' + description: ' create a new subscription to VIS notifications.' + operationId: subPOST + requestBody: + required: true + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' + responses: + '201': + description: 'In the returned NotificationSubscription structure, the created subscription is described using the appropriate data type.' + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '415': + $ref: '#/components/responses/415' + '422': + $ref: '#/components/responses/422' + '429': + $ref: '#/components/responses/429' + + callbacks: + notification: + '{$request.body#/callbackReference}': + post: + summary: 'Callback POST used to send a notification' + description: 'A notification from VIS.' + operationId: notificationPOST + requestBody: + description: Subscription notification + required: true + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniNotification' + - $ref: '#/components/schemas/ProvChgUuMbmsNotification' + - $ref: '#/components/schemas/ProvChgPc5Notification' + - $ref: '#/components/schemas/V2xMsgNotification' + responses: + '204': + $ref: '#/components/responses/204' + + /subscriptions/{subscriptionId}: + parameters: + - in: path + name: subscriptionId + description: 'Refers to created subscription, where the VIS API allocates a unique resource name for this subscription' + schema: + type: string + required: true + + + get: + tags: + - 'subscription' + summary: 'Retrieve information about this subscription.' + description: 'Retrieve information about this subscription.' + operationId: individualSubscriptionGET + + responses: + '200': + description: 'A response body containing the data type describing the specific RNI event subscription is returned' + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '406': + $ref: '#/components/responses/406' + '429': + $ref: '#/components/responses/429' + + put: + tags: + - 'subscription' + summary: 'Used to update the existing subscription.' + description: 'Used to update the existing subscription.' + operationId: individualSubscriptionPUT + requestBody: + required: true + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' + responses: + '200': + description: 'A response body containing data type describing the updated subscription is returned' + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ProvChgUuUniSubscription' + - $ref: '#/components/schemas/ProvChgUuMbmsSubscription' + - $ref: '#/components/schemas/ProvChgPc5Subscription' + - $ref: '#/components/schemas/V2xMsgSubscription' + '400': + $ref: '#/components/responses/400' + '401': + $ref: '#/components/responses/401' + + '403': + $ref: '#/components/responses/403' + + '404': + $ref: '#/components/responses/404' + + '406': + $ref: '#/components/responses/406' + + '412': + $ref: '#/components/responses/412' + + '422': + $ref: '#/components/responses/422' + + '429': + $ref: '#/components/responses/429' + delete: + tags: + - 'subscription' + summary: 'Used to cancel the existing subscription.' + description: 'Used to cancel the existing subscription.' + operationId: individualSubscriptionDELETE + responses: + '204': + $ref: '#/components/responses/204' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '429': + $ref: '#/components/responses/429' + + # /notifitication_end_point_provided_by_client + #post: + +components: + schemas: + CellId: + properties: + cellId: + description: E-UTRAN Cell Identity as a bit string (size (28)). + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - cellId + type: object + x-etsi-ref: 6.6.2 + Earfcn: + properties: + earfcn: + description: E-UTRA Absolute Radio Frequency Channel Number, range (0... 65535) + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + required: + - earfcn + type: object + x-etsi-ref: 6.6.3 + Ecgi: + properties: + cellId: + # description': The E-UTRAN Cell Identity. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': CellId + $ref: '#/components/schemas/CellId' + plmn: + # description': Public Land Mobile Network Identity. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Plmn + $ref: '#/components/schemas/Plmn' + required: + - plmn + - cellId + type: object + x-etsi-ref: 6.5.5 + FddInfo: + properties: + dlEarfcn: + # description': '' + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Earfcn + $ref: '#/components/schemas/Earfcn' + dlTransmissionBandwidth: + # description': '' + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': TransmissionBandwidth + $ref: '#/components/schemas/TransmissionBandwidth' + ulEarfcn: + # description': '' + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Earfcn + $ref: '#/components/schemas/Earfcn' + ulTransmissionBandwidth: + # description': '' + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': TransmissionBandwidth + $ref: '#/components/schemas/TransmissionBandwidth' + required: + - ulEarfcn + - dlEarfcn + - ulTransmissionBandwidth + - dlTransmissionBandwidth + type: object + x-etsi-ref: 6.5.6 + + LocationInfo.geoArea: + description: Information of a geographical area. + properties: + latitude: + description: 'Latitude (DATUM = WGS84) -90 to 90 in decimal degree format DDD.ddd' + format: Float + type: number + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Float + longitude: + description: 'Longitude (DATUM = WGS84)-180 to 180 in decimal degree format DDD.ddd' + format: Float + type: number + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Float + required: + - latitude + - longitude + type: object + x-etsi-mec-cardinality: 0..1 + + LocationInfo: + properties: + ecgi: + # description': E-UTRAN CelI Global Identifier of the serving cell. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + geoArea: + $ref: '#/components/schemas/LocationInfo.geoArea' + type: object + x-etsi-notes: "NOTE:\tEither ecgi or geoArea shall be present, but not both." + x-etsi-ref: 6.5.3 + Pc5NeighbourCellInfo: + properties: + ecgi: + # description': E-UTRAN CelI Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + plmn: + # description': Public Land Mobile Network Identity. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Plmn + $ref: '#/components/schemas/Plmn' + siV2xConfig: + description: V2X sidelink communication configuration, as defined in ETSI TS 136 331 [i.11]. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': SystemInformationBlockType21 (as defined in ETSI TS 136 331 [i.11]) + type: string + required: + - plmn + - ecgi + - siV2xConfig + type: object + x-etsi-ref: 6.5.12 + + + Pc5ProvisioningInfo.proInfoPc5: + description: The provisioning information per location as defined below. + + properties: + dstLayer2Id: + description: "For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS\_136\_321 [i.12].\nPLMN operators coordinate to make sure Destination Layer-2 ID(s) for different V2X services are configured in a consistent manner." + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + required: + - locationInfo + - dstLayer2Id + + Pc5ProvisioningInfo: + properties: + proInfoPc5: + type: array + items: + $ref: '#/components/schemas/Pc5ProvisioningInfo.proInfoPc5' + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + required: + - proInfoPc5 + type: object + x-etsi-ref: 6.2.4 + + Plmn: + properties: + mcc: + description: The Mobile Country Code part of PLMN Identity. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + mnc: + description: The Mobile Network Code part of PLMN Identity. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - mcc + - mnc + type: object + x-etsi-ref: 6.5.4 + + PredictedQos.routes.routeInfo: + required: + - location + properties: + location: + $ref: '#/components/schemas/LocationInfo' + time: + $ref: '#/components/schemas/TimeStamp' + rsrp: + description: 'Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response' + type: integer + format: Uint8 + + rsrq: + description: 'Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response' + type: integer + format: Uint8 + + PredictedQos.routes: + properties: + routeinfo: + description: 'Information relating to a specific route. The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. ' + type: array + minItems: 2 + items: + $ref: '#/components/schemas/PredictedQos.routes.routeInfo' + required: + - routeinfo + + PredictedQos: + description: 'predicted QoS of a vehicular UE' + properties: + timeGranularity: + $ref: '#/components/schemas/TimeStamp' + locationGranularity: + description: 'Granularity of visited location. Measured in meters' + type: string + routes: + type: array + items: + $ref: '#/components/schemas/PredictedQos.routes' + required: + - locationGranularity + - routes + type: object + x-etsi-mec-cardinality: 0..1 + + + ProvChgPc5Notification: + properties: + dstLayer2Id: + description: For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + notificationType: + description: Shall be set to "ProvChgPc5Notification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + required: + - notificationType + - locationInfo + type: object + x-etsi-ref: 6.4.4 + + ProvChgPc5Subscription.links: + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. + properties: + self: + # description': Self-referring URI. The URI shall be unique within the VIS API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - self + type: object + x-etsi-mec-cardinality: 0..1 + + ProvChgPc5Subscription.filterCriteria: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + dstLayer2Id: + description: For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. + items: + $ref: '#/components/schemas/Pc5NeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Pc5NeighbourCellInfo + required: + - locationInfo + - dstLayer2Id + type: object + x-etsi-mec-cardinality: '1' + ProvChgPc5Subscription: + properties: + _links: + $ref: '#/components/schemas/ProvChgPc5Subscription.links' + callbackReference: + description: URI selected by the service consumer to receive notifications on the subscribed VIS information. This shall be included both in the request and in response. + format: uri + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: URI + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/ProvChgPc5Subscription.filterCriteria' + subscriptionType: + description: Shall be set to "ProvChgPc5Subscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - subscriptionType + - callbackReference + - filterCriteria + type: object + x-etsi-ref: 6.3.4 + ProvChgUuMbmsNotification: + properties: + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + notificationType: + description: Shall be set to "ProvChgUuMbmsNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + v2xServerUsd: + # description': User Service Description for V2X Application Server is used to configure the UE for receiving local V2X Application Server information when it is provided over MBMS. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': V2xServerUsd + $ref: '#/components/schemas/V2xServerUsd' + required: + - notificationType + - locationInfo + type: object + x-etsi-ref: 6.4.3 + ProvChgUuMbmsSubscription.links: + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. + properties: + self: + # description': Self-referring URI. The URI shall be unique within the VIS API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - self + type: object + x-etsi-mec-cardinality: 0..1 + + ProvChgUuMbmsSubscription.filterCriteria: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + v2xServerUsd: + # description': User Service Description for V2X Application Server is used to configure the UE for receiving local V2X Application Server information when it is provided over MBMS. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': V2xServerUsd + $ref: '#/components/schemas/V2xServerUsd' + required: + - locationInfo + - v2xServerUsd + type: object + x-etsi-mec-cardinality: '1' + + ProvChgUuMbmsSubscription: + properties: + _links: + $ref: '#/components/schemas/ProvChgUuMbmsSubscription.links' + callbackReference: + description: URI selected by the service consumer to receive notifications on the subscribed VIS information. This shall be included both in the request and in response. + format: uri + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: URI + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/ProvChgUuMbmsSubscription.filterCriteria' + subscriptionType: + description: Shall be set to "ProvChgUuMbmsSubscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - subscriptionType + - callbackReference + - filterCriteria + type: object + x-etsi-ref: 6.3.3 + ProvChgUuUniNotification: + properties: + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + notificationType: + description: Shall be set to "ProvChgUuUniNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + v2xApplicationServer: + # description': V2X Application Server address (consisting of IP address and UDP port) for unicast. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': V2xApplicationServer + $ref: '#/components/schemas/V2xApplicationServer' + required: + - notificationType + - locationInfo + type: object + x-etsi-ref: 6.4.2 + ProvChgUuUniSubscription.links: + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. + properties: + self: + # description': Self-referring URI. The URI shall be unique within the VIS API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - self + type: object + x-etsi-mec-cardinality: 0..1 + + ProvChgUuUniSubscription.filterCriteria: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + v2xApplicationServer: + # description': V2X Application Server address (consisting of IP address and UDP port) for unicast. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': V2xApplicationServer + $ref: '#/components/schemas/V2xApplicationServer' + required: + - locationInfo + - v2xApplicationServer + type: object + x-etsi-mec-cardinality: '1' + + ProvChgUuUniSubscription: + properties: + _links: + $ref: '#/components/schemas/ProvChgUuUniSubscription.links' + callbackReference: + description: URI selected by the service consumer to receive notifications on the subscribed VIS information. This shall be included both in the request and in response. + format: uri + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: URI + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/ProvChgUuUniSubscription.filterCriteria' + subscriptionType: + description: Shall be set to "ProvChgUuUniSubscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - subscriptionType + - callbackReference + - filterCriteria + type: object + x-etsi-ref: 6.3.2 + + SubscriptionLinkList.links.subscriptions: + description: "The service consumer\u2019s subscriptions." + properties: + href: + description: The URI referring to the subscription. + format: uri + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: URI + subscriptionType: + description: Type of the subscription. The values are as defined in the \"subscriptionType\" attribute for each different V2X information event subscription data type. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - href + - subscriptionType + x-etsi-mec-cardinality: 0..N + + SubscriptionLinkList.links: + description: List of hyperlinks related to the resource. + properties: + self: + # description': URI of this resource. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + subscriptions: + type: array + items: + $ref: '#/components/schemas/SubscriptionLinkList.links.subscriptions' + type: object + required: + - self + x-etsi-mec-cardinality: '1' + + SubscriptionLinkList: + properties: + _links: + $ref: '#/components/schemas/SubscriptionLinkList.links' + required: + - _links + type: object + x-etsi-ref: 6.3.6 + + TddInfo: + properties: + earfcn: + # description': '' + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Earfcn + $ref: '#/components/schemas/Earfcn' + subframeAssignment: + description: Uplink-downlink subframe configuration information. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + transmissionBandwidth: + # description': '' + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': TransmissionBandwidth + $ref: '#/components/schemas/TransmissionBandwidth' + required: + - earfcn + - transmissionBandwidth + - subframeAssignment + type: object + x-etsi-ref: 6.5.7 + TimeStamp: + properties: + nanoSeconds: + description: The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. + format: Uint32 + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uint32 + seconds: + description: The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. + format: Uint32 + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Uint32 + required: + - seconds + - nanoSeconds + type: object + x-etsi-ref: 6.5.2 + TransmissionBandwidth.transmissionBandwidth: + description: 'Numeric value corresponding to the transmission bandwidth expressed in units of resource blocks as follows:1 = bw6 (6 resource blocks)2 = bw15 (15 resource blocks) 3 = bw25 (25 resource blocks) 4 = bw50 (50 resource blocks) 5 = bw75 (75 resource blocks) 6 = bw100 (100 resource blocks)' + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Enum + + TransmissionBandwidth: + properties: + transmissionBandwidth: + $ref: '#/components/schemas/TransmissionBandwidth.transmissionBandwidth' + required: + - transmissionBandwidth + type: object + x-etsi-ref: 6.6.4 + UuMbmsNeighbourCellInfo: + properties: + ecgi: + # description': E-UTRAN CelI Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + fddInfo: + # description': Information for FDD operation. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': FddInfo + $ref: '#/components/schemas/FddInfo' + mbmsServiceAreaIdentity: + description: Supported MBMS Service Area Identities in the cell. + items: + type: string + minItems: 1 + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: String + pci: + description: Physical Cell Identifier. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + plmn: + # description': Public Land Mobile Network Identity. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Plmn + $ref: '#/components/schemas/Plmn' + tddInfo: + # description': Information for TDD operation. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': TddInfo + $ref: '#/components/schemas/TddInfo' + required: + - plmn + - ecgi + - pci + - fddInfo + - tddInfo + - mbmsServiceAreaIdentity + type: object + x-etsi-ref: 6.5.11 + + UuMbmsProvisioningInfo.proInfoUuMbms: + description: The provisioning information per location as defined below. + properties: + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. + type: array + items: + $ref: '#/components/schemas/UuMbmsNeighbourCellInfo' + minItems: 0 + + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuMbmsNeighbourCellInfo + v2xServerUsd: + # description': User Service Description for V2X Application Server is used to configure the UE for receiving local V2X Application Server information when it is provided over MBMS. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': V2xServerUsd + $ref: '#/components/schemas/V2xServerUsd' + required: + - locationInfo + - v2xServerUsd + + UuMbmsProvisioningInfo: + properties: + proInfoUuMbms: + $ref: '#/components/schemas/UuMbmsProvisioningInfo.proInfoUuMbms' + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + required: + - proInfoUuMbms + type: object + x-etsi-ref: 6.2.3 + + UuUniNeighbourCellInfo: + properties: + ecgi: + # description': E-UTRAN CelI Global Identifier. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Ecgi + $ref: '#/components/schemas/Ecgi' + fddInfo: + # description': Information for FDD operation. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': FddInfo + $ref: '#/components/schemas/FddInfo' + pci: + description: Physical Cell Identifier. + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Integer + plmn: + # description': Public Land Mobile Network Identity. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': Plmn + $ref: '#/components/schemas/Plmn' + tddInfo: + # description': Information for TDD operation. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': TddInfo + $ref: '#/components/schemas/TddInfo' + required: + - plmn + - ecgi + - pci + - fddInfo + - tddInfo + type: object + x-etsi-ref: 6.5.9 + + UuUnicastProvisioningInfo.proInfoUuUnicast: + description: The provisioning information per location as defined below. + properties: + locationInfo: + # description': Location information to identify a cell of a base station or a particular geographical area. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LocationInfo + $ref: '#/components/schemas/LocationInfo' + neighbourCellInfo: + description: The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. + items: + $ref: '#/components/schemas/UuUniNeighbourCellInfo' + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: UuUniNeighbourCellInfo + v2xApplicationServer: + # description': V2X Application Server address (consisting of IP address and UDP port) for unicast. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': V2xApplicationServer + $ref: '#/components/schemas/V2xApplicationServer' + required: + - locationInfo + - v2xApplicationServer + x-etsi-mec-cardinality: 1..N + UuUnicastProvisioningInfo: + properties: + proInfoUuUnicast: + type: array + items: + $ref: '#/components/schemas/UuUnicastProvisioningInfo.proInfoUuUnicast' + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + required: + - proInfoUuUnicast + type: object + x-etsi-ref: 6.2.2 + V2xApplicationServer: + properties: + ipAddress: + description: '' + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + udpPort: + description: '' + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - ipAddress + - udpPort + type: object + x-etsi-ref: 6.5.8 + + + msgType: + description: '− denm(1): Decentralized Environmental Notification Message (DENM) as specified in ETSI EN 302 637-3 [i.3], − cam(2): Cooperative Awareness Message (CAM) as specified in ETSI EN 302 637-2 [i.2], − poi(3): Point of Interest message as specified in ETSI TS 101 556-1 [i.11], − spat(4): Signal Phase And Timing (SPAT) message as specified in SAE J2735 [i.12], − map(5): MAP message as specified in SAE J2735 [i.12], − ivi(6): In Vehicle Information (IVI) message as defined in ISO TS 19321 [i.13], − ev-rsr(7): Electric vehicle recharging spot reservation message, as defined in ETSI TS 101 556-3 [i.14], ' + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + type: integer + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Enum + + V2xMsgPublication: + properties: + msgContent: + description: Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + msgEncodeFormat: + description: The encode format of the V2X message, for example base64. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + msgType: + $ref: '#/components/schemas/msgType' + #x-etsi-mec-origin-type: Enum + stdOrganization: + description: "Standardization organization which defines the published V2X message type: \nETSI: European Telecommunications Standards Institute. \nSee note 1." + enum: + - ETSI + type: string + x-etsi-mec-cardinality: '1' + #-etsi-mec-origin-type: Enum + required: + - stdOrganization + - msgType + - msgEncodeFormat + - msgContent + type: object + x-etsi-notes: "NOTE 1: Other standardization organizations could be added as needed.NOTE 2:The V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2 [6], clause A.114." + x-etsi-ref: 6.2.6 + + V2xMsgSubscription.links: + description: Hyperlink related to the resource. This shall be only included in the HTTP responses and in HTTP PUT requests. + properties: + self: + # description': Self-referring URI. The URI shall be unique within the VIS API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - self + type: object + x-etsi-mec-cardinality: 0..1 + + V2xMsgSubscription.filterCriteria: + description: List of filtering criteria for the subscription. Any filtering criteria from below, which is included in the request, shall also be included in the response. + properties: + msgType: + description: Subscribed V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. + items: + type: string + minItems: 0 + type: array + x-etsi-mec-cardinality: 0..N + x-etsi-mec-origin-type: Enum + stdOrganization: + description: "Standardization organization which defines the subscribed V2X message type: \nETSI: European Telecommunications Standards Institute. \nSee note 1." + enum: + - ETSI + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: Enum + required: + - stdOrganization + type: object + x-etsi-mec-cardinality: '1' + + V2xMsgSubscription: + properties: + _links: + $ref: '#/components/schemas/V2xMsgSubscription.links' + callbackReference: + description: URI selected by the service consumer to receive notifications on the subscribed V2X message. This shall be included both in the request and in response. + format: uri + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: URI + expiryDeadline: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + filterCriteria: + $ref: '#/components/schemas/V2xMsgSubscription.filterCriteria' + subscriptionType: + description: Shall be set to "V2xMsgSubscription". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - subscriptionType + - callbackReference + - filterCriteria + type: object + x-etsi-notes: "NOTE 1:\tOther standardization organizations could be added as needed.\nNOTE 2:\tThe V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2 [6], clause A.114." + x-etsi-ref: 6.3.5 + + + V2xMsgNotification.links: + description: 'Links to resources related to this notification.' + properties: + subscription: + # description': Self-referring URI. The URI shall be unique within the VIS API as it acts as an ID for the subscription. + # x-etsi-mec-cardinality': '1' + # x-etsi-mec-origin-type': LinkType + $ref: '#/components/schemas/LinkType' + required: + - subscription + type: object + x-etsi-mec-cardinality: 0..1 + + V2xMsgNotification: + properties: + notificationType: + description: Shall be set to "V2xMsgNotification". + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + timeStamp: + # description': Time stamp. + # x-etsi-mec-cardinality': 0..1 + # x-etsi-mec-origin-type': TimeStamp + $ref: '#/components/schemas/TimeStamp' + stdOrganization: + description: 'Standardization organization which defines the published V2X message type ETSI: European Telecommunications Standards Institute. See note 1.' + enum: + - "ETSI" + type: string + msgType: + $ref: '#/components/schemas/msgType' + msgEncodeFormat: + description: 'The encode format of the V2X message, for example base64 ' + type: string + msgContent: + description: 'Published V2X message content. The format of the string is defined by the standardization organization indicated by the attribute stdOrganization.' + type: string + _links: + $ref: '#/components/schemas/V2xMsgNotification.links' + required: + - notificationType + - timeStamp + - stdOrganization + - msgType + - msgEncodeFormat + - msgContent + - _links + type: object + x-etsi-notes: "NOTE 1: Other standardization organizations could be added as needed. NOTE 2: The V2X message types of ETSI shall be used as specified in ETSI TS 102 894-2 [6], clause A.114" + + V2xServerUsd.sdpInfo: + description: SDP with IP multicast address and port number used for V2X communication via MBMS. + properties: + ipMulticastAddress: + description: '' + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + portNumber: + description: '' + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - ipMulticastAddress + - portNumber + type: object + x-etsi-mec-cardinality: '1' + V2xServerUsd.tmgi: + description: Temporary Mobile Group Identity (TMGI), which is used within MBMS to uniquely identify Multicast and Broadcast bearer services. + properties: + mbmsServiceId: + description: MBMS Service ID consisting of three octets. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + mcc: + description: The Mobile Country Code part of PLMN Identity. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + mnc: + description: The Mobile Network Code part of PLMN Identity. + type: string + x-etsi-mec-cardinality: '1' + x-etsi-mec-origin-type: String + required: + - mbmsServiceId + - mcc + - mnc + type: object + x-etsi-mec-cardinality: '' + + V2xServerUsd: + properties: + sdpInfo: + $ref: '#/components/schemas/V2xServerUsd.sdpInfo' + serviceAreaIdentifier: + description: A list of service area identifier for the applicable MBMS broadcast area. + items: + type: string + minItems: 1 + type: array + x-etsi-mec-cardinality: 1..N + x-etsi-mec-origin-type: String + tmgi: + $ref: '#/components/schemas/V2xServerUsd.tmgi' + required: + - tmgi + - serviceAreaIdentifier + - sdpInfo + type: object + x-etsi-ref: 6.5.10 + + LinkType: + description: >- + 'This data type represents a type of link' + type: object + required: + - href + properties: + href: + $ref: '#/components/schemas/Href' + Href: + description: >- + The URI referring to the subscription. + type: string + format: uri + ProblemDetails: + properties: + detail: + description: A human-readable explanation specific to this occurrence of the problem + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + instance: + description: A URI reference that identifies the specific occurrence of the problem + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + status: + description: The HTTP status code for this occurrence of the problem + format: uint32 + type: integer + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: Uint32 + title: + description: A short, human-readable summary of the problem type + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: String + type: + description: A URI reference according to IETF RFC 3986 that identifies the problem type + format: uri + type: string + x-etsi-mec-cardinality: 0..1 + x-etsi-mec-origin-type: URI + type: object + responses: + 204: + description: No Content + 206: + description: Partial content + 400: + description: 'Bad Request : used to indicate that incorrect parameters were passed to the request.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 401: + description: 'Unauthorized : used when the client did not submit credentials.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 403: + description: 'Forbidden : operation is not allowed given the current status of the resource.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 404: + description: 'Not Found : used when a client provided a URI that cannot be mapped to a valid resource URI.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 406: + description: 'Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 409: + description: 'Conflict : The operation cannot be executed currently, due to a conflict with the state of the resource' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 412: + description: 'Precondition failed : used when a condition has failed during conditional requests, e.g. when using ETags to avoid write conflicts when using PUT' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 415: + description: 'Unsupported Media Type : used to indicate that the server or the client does not support the content type of the entity body.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 422: + description: 'Unprocessable Entity : used to indicate that the server understands the content type of the request entity and that the syntax of the request entity is correct but that the server is unable to process the contained instructions. This error condition can occur if an JSON request body is syntactically correct but semantically incorrect, for example if the target area for the request is considered too large. This error condition can also occur if the capabilities required by the request are not supported.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' + 429: + description: 'Too Many Requests : used when a rate limiter has triggered.' + content: + application/json: + schema: + $ref: '#/components/schemas/ProblemDetails' diff --git a/README.md b/README.md index dec8d91114490b69a01ecc90a718ec77009d31ce..c14b8fbf4f5d2920a3b7dc3a93955986ba052daf 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,18 @@ This repository contains OpenAPIs descriptions for the interfaces specified in ETSI GS MEC 030. + +## Online resources + +* [Specification document](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/030/02.01.01_60/gs_MEC030v020101p.pdf) +* [Navigate the V2X Information Service API in the browser](https://forge.etsi.org/swagger/ui/?url=https://forge.etsi.org/rep/mec/gs030-vis-api/raw/develop/MEC030_V2XInformationService.yaml). +* [Edit the V2X Information Service API online](https://forge.etsi.org/swagger/editor/?url=https://forge.etsi.org/rep/mec/gs030-vis-api/raw/develop/MEC030_V2XInformationService.yaml). + + ## License Unless specified otherwise, the content of this repository and the files contained are released under the BSD-3-Clause license. See the attached LICENSE file or visit https://forge.etsi.org/legal-matters. + + +# Application package lifecycle and operation granting API diff --git a/proto3/models/cell_id.proto b/proto3/models/cell_id.proto new file mode 100644 index 0000000000000000000000000000000000000000..d88d637f65d51e420e307b5040517d716ada8bb8 --- /dev/null +++ b/proto3/models/cell_id.proto @@ -0,0 +1,21 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + + +message CellId { + + // E-UTRAN Cell Identity as a bit string (size (28)). + string cell_id = 1; + +} diff --git a/proto3/models/earfcn.proto b/proto3/models/earfcn.proto new file mode 100644 index 0000000000000000000000000000000000000000..762f84c5a1141d29ba2695f0904e49b1ad5d3a69 --- /dev/null +++ b/proto3/models/earfcn.proto @@ -0,0 +1,21 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + + +message Earfcn { + + // E-UTRA Absolute Radio Frequency Channel Number, range (0... 65535) + int32 earfcn = 1; + +} diff --git a/proto3/models/ecgi.proto b/proto3/models/ecgi.proto new file mode 100644 index 0000000000000000000000000000000000000000..c4bb5b4fd98bc2522ef4b7fcdd822cb04af6da7f --- /dev/null +++ b/proto3/models/ecgi.proto @@ -0,0 +1,24 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/cell_id.proto"; +import public "models/plmn.proto"; + +message Ecgi { + + CellId cell_id = 1; + + Plmn plmn = 2; + +} diff --git a/proto3/models/fdd_info.proto b/proto3/models/fdd_info.proto new file mode 100644 index 0000000000000000000000000000000000000000..a4121928c5beb388704f66ebd987d7f86f3c61f8 --- /dev/null +++ b/proto3/models/fdd_info.proto @@ -0,0 +1,28 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/earfcn.proto"; +import public "models/transmission_bandwidth.proto"; + +message FddInfo { + + Earfcn dl_earfcn = 1; + + TransmissionBandwidth dl_transmission_bandwidth = 2; + + Earfcn ul_earfcn = 3; + + TransmissionBandwidth ul_transmission_bandwidth = 4; + +} diff --git a/proto3/models/link_type.proto b/proto3/models/link_type.proto new file mode 100644 index 0000000000000000000000000000000000000000..92f2ce888bd3bc05283e6dfc3437dbb21a5e0218 --- /dev/null +++ b/proto3/models/link_type.proto @@ -0,0 +1,21 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + + +message LinkType { + + // The URI referring to the subscription. + string href = 1; + +} diff --git a/proto3/models/location_info.proto b/proto3/models/location_info.proto new file mode 100644 index 0000000000000000000000000000000000000000..7abcc22b6c1c28d7fd098aaa0319ae3090292e28 --- /dev/null +++ b/proto3/models/location_info.proto @@ -0,0 +1,24 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/ecgi.proto"; +import public "models/location_info_geo_area.proto"; + +message LocationInfo { + + Ecgi ecgi = 1; + + LocationInfoGeoArea geo_area = 2; + +} diff --git a/proto3/models/location_info_geo_area.proto b/proto3/models/location_info_geo_area.proto new file mode 100644 index 0000000000000000000000000000000000000000..3c462ebf73b86b3a5e6037833f2c97684e5b8d0e --- /dev/null +++ b/proto3/models/location_info_geo_area.proto @@ -0,0 +1,24 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + + +message LocationInfoGeoArea { + + // Latitude (DATUM = WGS84) -90 to 90 in decimal degree format DDD.ddd + float latitude = 1; + + // Longitude (DATUM = WGS84)-180 to 180 in decimal degree format DDD.ddd + float longitude = 2; + +} diff --git a/proto3/models/msg_type.proto b/proto3/models/msg_type.proto new file mode 100644 index 0000000000000000000000000000000000000000..2eacd7a68178ed6e270ec822b14fe9552a4585fa --- /dev/null +++ b/proto3/models/msg_type.proto @@ -0,0 +1,27 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + + +message MsgType { +enum TypeEnum { + MSG_TYPE_TYPE_ENUM_1 = 0; + MSG_TYPE_TYPE_ENUM_2 = 1; + MSG_TYPE_TYPE_ENUM_3 = 2; + MSG_TYPE_TYPE_ENUM_4 = 3; + MSG_TYPE_TYPE_ENUM_5 = 4; + MSG_TYPE_TYPE_ENUM_6 = 5; + MSG_TYPE_TYPE_ENUM_7 = 6; + } +} + diff --git a/proto3/models/pc5_neighbour_cell_info.proto b/proto3/models/pc5_neighbour_cell_info.proto new file mode 100644 index 0000000000000000000000000000000000000000..c6415500929e775368cec60934bf008503e37282 --- /dev/null +++ b/proto3/models/pc5_neighbour_cell_info.proto @@ -0,0 +1,27 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/ecgi.proto"; +import public "models/plmn.proto"; + +message Pc5NeighbourCellInfo { + + Ecgi ecgi = 1; + + Plmn plmn = 2; + + // V2X sidelink communication configuration, as defined in ETSI TS 136 331 [i.11]. + string si_v2x_config = 3; + +} diff --git a/proto3/models/pc5_provisioning_info.proto b/proto3/models/pc5_provisioning_info.proto new file mode 100644 index 0000000000000000000000000000000000000000..ec7305439ee5752df0af6ead6cd78abe1b5fba41 --- /dev/null +++ b/proto3/models/pc5_provisioning_info.proto @@ -0,0 +1,24 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/pc5_provisioning_info_pro_info_pc5.proto"; +import public "models/time_stamp.proto"; + +message Pc5ProvisioningInfo { + + repeated Pc5ProvisioningInfoProInfoPc5 pro_info_pc5 = 1; + + TimeStamp time_stamp = 2; + +} diff --git a/proto3/models/pc5_provisioning_info_pro_info_pc5.proto b/proto3/models/pc5_provisioning_info_pro_info_pc5.proto new file mode 100644 index 0000000000000000000000000000000000000000..5f18e72a0d9152cd39739aadcc1dc30c39adccfb --- /dev/null +++ b/proto3/models/pc5_provisioning_info_pro_info_pc5.proto @@ -0,0 +1,28 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/location_info.proto"; +import public "models/pc5_neighbour_cell_info.proto"; + +message Pc5ProvisioningInfoProInfoPc5 { + + // For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. PLMN operators coordinate to make sure Destination Layer-2 ID(s) for different V2X services are configured in a consistent manner. + string dst_layer2_id = 1; + + LocationInfo location_info = 2; + + // The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. + repeated Pc5NeighbourCellInfo neighbour_cell_info = 3; + +} diff --git a/proto3/models/plmn.proto b/proto3/models/plmn.proto new file mode 100644 index 0000000000000000000000000000000000000000..fd962dd502ae8f75ab5651e83a35bc49b5ef0dd0 --- /dev/null +++ b/proto3/models/plmn.proto @@ -0,0 +1,24 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + + +message Plmn { + + // The Mobile Country Code part of PLMN Identity. + string mcc = 1; + + // The Mobile Network Code part of PLMN Identity. + string mnc = 2; + +} diff --git a/proto3/models/predicted_qos.proto b/proto3/models/predicted_qos.proto new file mode 100644 index 0000000000000000000000000000000000000000..42b70a766df42982e2abc49a6793f81d25536c62 --- /dev/null +++ b/proto3/models/predicted_qos.proto @@ -0,0 +1,27 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/predicted_qos_routes.proto"; +import public "models/time_stamp.proto"; + +message PredictedQos { + + TimeStamp time_granularity = 1; + + // Granularity of visited location. Measured in meters + string location_granularity = 2; + + repeated PredictedQosRoutes routes = 3; + +} diff --git a/proto3/models/predicted_qos_routes.proto b/proto3/models/predicted_qos_routes.proto new file mode 100644 index 0000000000000000000000000000000000000000..0e8e04a97ca999c4d3efeb982fd12adbf098a7d1 --- /dev/null +++ b/proto3/models/predicted_qos_routes.proto @@ -0,0 +1,22 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/predicted_qos_routes_route_info.proto"; + +message PredictedQosRoutes { + + // Information relating to a specific route. The first structure shall relate to the route origin and the last to the route destination. Intermediate waypoint locations may also be provided. + repeated PredictedQosRoutesRouteInfo routeinfo = 1; + +} diff --git a/proto3/models/predicted_qos_routes_route_info.proto b/proto3/models/predicted_qos_routes_route_info.proto new file mode 100644 index 0000000000000000000000000000000000000000..db2d6006d174ceefc477c9516db328744ed05e31 --- /dev/null +++ b/proto3/models/predicted_qos_routes_route_info.proto @@ -0,0 +1,30 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/location_info.proto"; +import public "models/time_stamp.proto"; + +message PredictedQosRoutesRouteInfo { + + LocationInfo location = 1; + + TimeStamp time = 2; + + // Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response + int32 rsrp = 3; + + // Reference Signal Received Quality as defined in ETSI TS 136 214 [i.13]. Shall only be included in the response + int32 rsrq = 4; + +} diff --git a/proto3/models/problem_details.proto b/proto3/models/problem_details.proto new file mode 100644 index 0000000000000000000000000000000000000000..08e0b55fcbe8d2d5f29225a0615294f512fa7771 --- /dev/null +++ b/proto3/models/problem_details.proto @@ -0,0 +1,33 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + + +message ProblemDetails { + + // A human-readable explanation specific to this occurrence of the problem + string detail = 1; + + // A URI reference that identifies the specific occurrence of the problem + string instance = 2; + + // The HTTP status code for this occurrence of the problem + int32 status = 3; + + // A short, human-readable summary of the problem type + string title = 4; + + // A URI reference according to IETF RFC 3986 that identifies the problem type + string type = 5; + +} diff --git a/proto3/models/prov_chg_pc5_notification.proto b/proto3/models/prov_chg_pc5_notification.proto new file mode 100644 index 0000000000000000000000000000000000000000..4000862b9532f13bc21e07af328373007fe86ce2 --- /dev/null +++ b/proto3/models/prov_chg_pc5_notification.proto @@ -0,0 +1,34 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/location_info.proto"; +import public "models/pc5_neighbour_cell_info.proto"; +import public "models/time_stamp.proto"; + +message ProvChgPc5Notification { + + // For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + string dst_layer2_id = 1; + + LocationInfo location_info = 2; + + // The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. + repeated Pc5NeighbourCellInfo neighbour_cell_info = 3; + + // Shall be set to \"ProvChgPc5Notification\". + string notification_type = 4; + + TimeStamp time_stamp = 5; + +} diff --git a/proto3/models/prov_chg_pc5_subscription.proto b/proto3/models/prov_chg_pc5_subscription.proto new file mode 100644 index 0000000000000000000000000000000000000000..1398a0e06a9119f3ae9d41e1ed4df811d605e242 --- /dev/null +++ b/proto3/models/prov_chg_pc5_subscription.proto @@ -0,0 +1,33 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/prov_chg_pc5_subscription_filter_criteria.proto"; +import public "models/prov_chg_pc5_subscription_links.proto"; +import public "models/time_stamp.proto"; + +message ProvChgPc5Subscription { + + ProvChgPc5SubscriptionLinks links = 1; + + // URI selected by the service consumer to receive notifications on the subscribed VIS information. This shall be included both in the request and in response. + string callback_reference = 2; + + TimeStamp expiry_deadline = 3; + + ProvChgPc5SubscriptionFilterCriteria filter_criteria = 4; + + // Shall be set to \"ProvChgPc5Subscription\". + string subscription_type = 5; + +} diff --git a/proto3/models/prov_chg_pc5_subscription_filter_criteria.proto b/proto3/models/prov_chg_pc5_subscription_filter_criteria.proto new file mode 100644 index 0000000000000000000000000000000000000000..c52ad514feb5a1ea059cea6e8fe3c16fd961fba5 --- /dev/null +++ b/proto3/models/prov_chg_pc5_subscription_filter_criteria.proto @@ -0,0 +1,28 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/location_info.proto"; +import public "models/pc5_neighbour_cell_info.proto"; + +message ProvChgPc5SubscriptionFilterCriteria { + + // For sidelink communication, the Destination Layer-2 ID is set to the ProSe Layer-2 Group ID or Prose UE ID, see ETSI TS 136 321 [i.12]. + string dst_layer2_id = 1; + + LocationInfo location_info = 2; + + // The information of the neighbour cells in a visiting PLMN that support V2X communication over PC5. + repeated Pc5NeighbourCellInfo neighbour_cell_info = 3; + +} diff --git a/proto3/models/prov_chg_pc5_subscription_links.proto b/proto3/models/prov_chg_pc5_subscription_links.proto new file mode 100644 index 0000000000000000000000000000000000000000..8a4ec4ea34671a12017f1ca81ec5e8cdaa465bc4 --- /dev/null +++ b/proto3/models/prov_chg_pc5_subscription_links.proto @@ -0,0 +1,21 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/link_type.proto"; + +message ProvChgPc5SubscriptionLinks { + + LinkType self = 1; + +} diff --git a/proto3/models/prov_chg_uu_mbms_notification.proto b/proto3/models/prov_chg_uu_mbms_notification.proto new file mode 100644 index 0000000000000000000000000000000000000000..f01e1d3128d9c8f3a97d96dc56fd28205b53f231 --- /dev/null +++ b/proto3/models/prov_chg_uu_mbms_notification.proto @@ -0,0 +1,34 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/location_info.proto"; +import public "models/time_stamp.proto"; +import public "models/uu_mbms_neighbour_cell_info.proto"; +import public "models/v2x_server_usd.proto"; + +message ProvChgUuMbmsNotification { + + LocationInfo location_info = 1; + + // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. + repeated UuMbmsNeighbourCellInfo neighbour_cell_info = 2; + + // Shall be set to \"ProvChgUuMbmsNotification\". + string notification_type = 3; + + TimeStamp time_stamp = 4; + + V2xServerUsd v2x_server_usd = 5; + +} diff --git a/proto3/models/prov_chg_uu_mbms_subscription.proto b/proto3/models/prov_chg_uu_mbms_subscription.proto new file mode 100644 index 0000000000000000000000000000000000000000..a0f802d8702ba7f1df6c84ef313c973e43e417c6 --- /dev/null +++ b/proto3/models/prov_chg_uu_mbms_subscription.proto @@ -0,0 +1,33 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/prov_chg_uu_mbms_subscription_filter_criteria.proto"; +import public "models/prov_chg_uu_mbms_subscription_links.proto"; +import public "models/time_stamp.proto"; + +message ProvChgUuMbmsSubscription { + + ProvChgUuMbmsSubscriptionLinks links = 1; + + // URI selected by the service consumer to receive notifications on the subscribed VIS information. This shall be included both in the request and in response. + string callback_reference = 2; + + TimeStamp expiry_deadline = 3; + + ProvChgUuMbmsSubscriptionFilterCriteria filter_criteria = 4; + + // Shall be set to \"ProvChgUuMbmsSubscription\". + string subscription_type = 5; + +} diff --git a/proto3/models/prov_chg_uu_mbms_subscription_filter_criteria.proto b/proto3/models/prov_chg_uu_mbms_subscription_filter_criteria.proto new file mode 100644 index 0000000000000000000000000000000000000000..be3939fae04f77d8b9183e633ae75ef9e2286e01 --- /dev/null +++ b/proto3/models/prov_chg_uu_mbms_subscription_filter_criteria.proto @@ -0,0 +1,28 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/location_info.proto"; +import public "models/uu_mbms_neighbour_cell_info.proto"; +import public "models/v2x_server_usd.proto"; + +message ProvChgUuMbmsSubscriptionFilterCriteria { + + LocationInfo location_info = 1; + + // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. + repeated UuMbmsNeighbourCellInfo neighbour_cell_info = 2; + + V2xServerUsd v2x_server_usd = 3; + +} diff --git a/proto3/models/prov_chg_uu_mbms_subscription_links.proto b/proto3/models/prov_chg_uu_mbms_subscription_links.proto new file mode 100644 index 0000000000000000000000000000000000000000..e51e52387184d9be401886bf68084f1fcc32e308 --- /dev/null +++ b/proto3/models/prov_chg_uu_mbms_subscription_links.proto @@ -0,0 +1,21 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/link_type.proto"; + +message ProvChgUuMbmsSubscriptionLinks { + + LinkType self = 1; + +} diff --git a/proto3/models/prov_chg_uu_uni_notification.proto b/proto3/models/prov_chg_uu_uni_notification.proto new file mode 100644 index 0000000000000000000000000000000000000000..088e9756f81c0b361bc88438f6f721caf0c566ce --- /dev/null +++ b/proto3/models/prov_chg_uu_uni_notification.proto @@ -0,0 +1,34 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/location_info.proto"; +import public "models/time_stamp.proto"; +import public "models/uu_uni_neighbour_cell_info.proto"; +import public "models/v2x_application_server.proto"; + +message ProvChgUuUniNotification { + + LocationInfo location_info = 1; + + // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. + repeated UuUniNeighbourCellInfo neighbour_cell_info = 2; + + // Shall be set to \"ProvChgUuUniNotification\". + string notification_type = 3; + + TimeStamp time_stamp = 4; + + V2xApplicationServer v2x_application_server = 5; + +} diff --git a/proto3/models/prov_chg_uu_uni_subscription.proto b/proto3/models/prov_chg_uu_uni_subscription.proto new file mode 100644 index 0000000000000000000000000000000000000000..3b9eed02254064fc020d379cb8e03e7cb0e249a7 --- /dev/null +++ b/proto3/models/prov_chg_uu_uni_subscription.proto @@ -0,0 +1,33 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/prov_chg_uu_uni_subscription_filter_criteria.proto"; +import public "models/prov_chg_uu_uni_subscription_links.proto"; +import public "models/time_stamp.proto"; + +message ProvChgUuUniSubscription { + + ProvChgUuUniSubscriptionLinks links = 1; + + // URI selected by the service consumer to receive notifications on the subscribed VIS information. This shall be included both in the request and in response. + string callback_reference = 2; + + TimeStamp expiry_deadline = 3; + + ProvChgUuUniSubscriptionFilterCriteria filter_criteria = 4; + + // Shall be set to \"ProvChgUuUniSubscription\". + string subscription_type = 5; + +} diff --git a/proto3/models/prov_chg_uu_uni_subscription_filter_criteria.proto b/proto3/models/prov_chg_uu_uni_subscription_filter_criteria.proto new file mode 100644 index 0000000000000000000000000000000000000000..7a7918e2c25ea3378c2cd745f18fe3d5b1be996b --- /dev/null +++ b/proto3/models/prov_chg_uu_uni_subscription_filter_criteria.proto @@ -0,0 +1,28 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/location_info.proto"; +import public "models/uu_uni_neighbour_cell_info.proto"; +import public "models/v2x_application_server.proto"; + +message ProvChgUuUniSubscriptionFilterCriteria { + + LocationInfo location_info = 1; + + // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. + repeated UuUniNeighbourCellInfo neighbour_cell_info = 2; + + V2xApplicationServer v2x_application_server = 3; + +} diff --git a/proto3/models/prov_chg_uu_uni_subscription_links.proto b/proto3/models/prov_chg_uu_uni_subscription_links.proto new file mode 100644 index 0000000000000000000000000000000000000000..e2a26bfdf4083807d4c9119b1b0f2c70ff54d01d --- /dev/null +++ b/proto3/models/prov_chg_uu_uni_subscription_links.proto @@ -0,0 +1,21 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/link_type.proto"; + +message ProvChgUuUniSubscriptionLinks { + + LinkType self = 1; + +} diff --git a/proto3/models/subscription.proto b/proto3/models/subscription.proto new file mode 100644 index 0000000000000000000000000000000000000000..fe35039ecab589deb2038831e18a5c7369f32181 --- /dev/null +++ b/proto3/models/subscription.proto @@ -0,0 +1,27 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/prov_chg_uu_uni_subscription.proto"; +import public "models/prov_chg_uu_mbms_subscription.proto"; +import public "models/prov_chg_pc5_subscription.proto"; +import public "models/v2x_msg_subscription.proto"; + +message Subscription { + oneof subscription { + ProvChgUuUniSubscription prov_chg_uu_uni_subscription = 1; + ProvChgUuMbmsSubscription prov_chg_uu_mbms_subscription = 2; + ProvChgPc5Subscription prov_chg_pc5_subscription = 3; + V2xMsgSubscription v2x_msg_subscription = 4; + } +} diff --git a/proto3/models/subscription_link_list.proto b/proto3/models/subscription_link_list.proto new file mode 100644 index 0000000000000000000000000000000000000000..11714370521b9ab91c1407531d37309809b71bde --- /dev/null +++ b/proto3/models/subscription_link_list.proto @@ -0,0 +1,21 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/subscription_link_list_links.proto"; + +message SubscriptionLinkList { + + SubscriptionLinkListLinks links = 1; + +} diff --git a/proto3/models/subscription_link_list_links.proto b/proto3/models/subscription_link_list_links.proto new file mode 100644 index 0000000000000000000000000000000000000000..de49d73dea9854895f0189db601d0946341548ca --- /dev/null +++ b/proto3/models/subscription_link_list_links.proto @@ -0,0 +1,24 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/link_type.proto"; +import public "models/subscription_link_list_links_subscriptions.proto"; + +message SubscriptionLinkListLinks { + + LinkType self = 1; + + repeated SubscriptionLinkListLinksSubscriptions subscriptions = 2; + +} diff --git a/proto3/models/subscription_link_list_links_subscriptions.proto b/proto3/models/subscription_link_list_links_subscriptions.proto new file mode 100644 index 0000000000000000000000000000000000000000..611fe6a623432eb30140e21e29f9afb2c201b3aa --- /dev/null +++ b/proto3/models/subscription_link_list_links_subscriptions.proto @@ -0,0 +1,24 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + + +message SubscriptionLinkListLinksSubscriptions { + + // The URI referring to the subscription. + string href = 1; + + // Type of the subscription. The values are as defined in the \\\"subscription_type\\\" attribute for each different V2X information event subscription data type. + string subscription_type = 2; + +} diff --git a/proto3/models/tdd_info.proto b/proto3/models/tdd_info.proto new file mode 100644 index 0000000000000000000000000000000000000000..ccf0b36e05fea71bb1636067b8edba2a315e24d6 --- /dev/null +++ b/proto3/models/tdd_info.proto @@ -0,0 +1,27 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/earfcn.proto"; +import public "models/transmission_bandwidth.proto"; + +message TddInfo { + + Earfcn earfcn = 1; + + // Uplink-downlink subframe configuration information. + string subframe_assignment = 2; + + TransmissionBandwidth transmission_bandwidth = 3; + +} diff --git a/proto3/models/time_stamp.proto b/proto3/models/time_stamp.proto new file mode 100644 index 0000000000000000000000000000000000000000..f6f3b2619feaee48e30e44d21b3b3c510fc83d34 --- /dev/null +++ b/proto3/models/time_stamp.proto @@ -0,0 +1,24 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + + +message TimeStamp { + + // The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC. + int32 nano_seconds = 1; + + // The seconds part of the time. Time is defined as Unixtime since January 1, 1970, 00:00:00 UTC. + int32 seconds = 2; + +} diff --git a/proto3/models/transmission_bandwidth.proto b/proto3/models/transmission_bandwidth.proto new file mode 100644 index 0000000000000000000000000000000000000000..efb16e47c86ef6bc26662623467a0818a65cc0e4 --- /dev/null +++ b/proto3/models/transmission_bandwidth.proto @@ -0,0 +1,21 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/transmission_bandwidth_transmission_bandwidth.proto"; + +message TransmissionBandwidth { + + TransmissionBandwidthTransmissionBandwidth transmission_bandwidth = 1; + +} diff --git a/proto3/models/transmission_bandwidth_transmission_bandwidth.proto b/proto3/models/transmission_bandwidth_transmission_bandwidth.proto new file mode 100644 index 0000000000000000000000000000000000000000..ab960071963ee6a80eb33c508cf7b107a1091234 --- /dev/null +++ b/proto3/models/transmission_bandwidth_transmission_bandwidth.proto @@ -0,0 +1,25 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + + +message TransmissionBandwidthTransmissionBandwidth { +enum TypeEnum { + TRANSMISSION_BANDWIDTH_TRANSMISSION_BANDWIDTH_TYPE_ENUM_1 = 0; + TRANSMISSION_BANDWIDTH_TRANSMISSION_BANDWIDTH_TYPE_ENUM_2 = 1; + TRANSMISSION_BANDWIDTH_TRANSMISSION_BANDWIDTH_TYPE_ENUM_3 = 2; + TRANSMISSION_BANDWIDTH_TRANSMISSION_BANDWIDTH_TYPE_ENUM_4 = 3; + TRANSMISSION_BANDWIDTH_TRANSMISSION_BANDWIDTH_TYPE_ENUM_5 = 4; + TRANSMISSION_BANDWIDTH_TRANSMISSION_BANDWIDTH_TYPE_ENUM_6 = 5; + } +} diff --git a/proto3/models/uu_mbms_neighbour_cell_info.proto b/proto3/models/uu_mbms_neighbour_cell_info.proto new file mode 100644 index 0000000000000000000000000000000000000000..c6b92c3146a98611ea66a5f5d6ebd2d8c701cefc --- /dev/null +++ b/proto3/models/uu_mbms_neighbour_cell_info.proto @@ -0,0 +1,36 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/ecgi.proto"; +import public "models/fdd_info.proto"; +import public "models/plmn.proto"; +import public "models/tdd_info.proto"; + +message UuMbmsNeighbourCellInfo { + + Ecgi ecgi = 1; + + FddInfo fdd_info = 2; + + // Supported MBMS Service Area Identities in the cell. + repeated string mbms_service_area_identity = 3; + + // Physical Cell Identifier. + int32 pci = 4; + + Plmn plmn = 5; + + TddInfo tdd_info = 6; + +} diff --git a/proto3/models/uu_mbms_provisioning_info.proto b/proto3/models/uu_mbms_provisioning_info.proto new file mode 100644 index 0000000000000000000000000000000000000000..1e64c19c08f696f8d134e7707f440e9e7db23d01 --- /dev/null +++ b/proto3/models/uu_mbms_provisioning_info.proto @@ -0,0 +1,24 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/time_stamp.proto"; +import public "models/uu_mbms_provisioning_info_pro_info_uu_mbms.proto"; + +message UuMbmsProvisioningInfo { + + UuMbmsProvisioningInfoProInfoUuMbms pro_info_uu_mbms = 1; + + TimeStamp time_stamp = 2; + +} diff --git a/proto3/models/uu_mbms_provisioning_info_pro_info_uu_mbms.proto b/proto3/models/uu_mbms_provisioning_info_pro_info_uu_mbms.proto new file mode 100644 index 0000000000000000000000000000000000000000..d53981a5f8a8f564b6605700d50163d4dfcaf1fd --- /dev/null +++ b/proto3/models/uu_mbms_provisioning_info_pro_info_uu_mbms.proto @@ -0,0 +1,28 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/location_info.proto"; +import public "models/uu_mbms_neighbour_cell_info.proto"; +import public "models/v2x_server_usd.proto"; + +message UuMbmsProvisioningInfoProInfoUuMbms { + + LocationInfo location_info = 1; + + // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu MBMS. + repeated UuMbmsNeighbourCellInfo neighbour_cell_info = 2; + + V2xServerUsd v2x_server_usd = 3; + +} diff --git a/proto3/models/uu_uni_neighbour_cell_info.proto b/proto3/models/uu_uni_neighbour_cell_info.proto new file mode 100644 index 0000000000000000000000000000000000000000..eb8192c6a93ec150e056a725db87d73bba9f8e9d --- /dev/null +++ b/proto3/models/uu_uni_neighbour_cell_info.proto @@ -0,0 +1,33 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/ecgi.proto"; +import public "models/fdd_info.proto"; +import public "models/plmn.proto"; +import public "models/tdd_info.proto"; + +message UuUniNeighbourCellInfo { + + Ecgi ecgi = 1; + + FddInfo fdd_info = 2; + + // Physical Cell Identifier. + int32 pci = 3; + + Plmn plmn = 4; + + TddInfo tdd_info = 5; + +} diff --git a/proto3/models/uu_unicast_provisioning_info.proto b/proto3/models/uu_unicast_provisioning_info.proto new file mode 100644 index 0000000000000000000000000000000000000000..7e205864cfd719919d11387ad59d0ff816c9bbc2 --- /dev/null +++ b/proto3/models/uu_unicast_provisioning_info.proto @@ -0,0 +1,24 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/time_stamp.proto"; +import public "models/uu_unicast_provisioning_info_pro_info_uu_unicast.proto"; + +message UuUnicastProvisioningInfo { + + repeated UuUnicastProvisioningInfoProInfoUuUnicast pro_info_uu_unicast = 1; + + TimeStamp time_stamp = 2; + +} diff --git a/proto3/models/uu_unicast_provisioning_info_pro_info_uu_unicast.proto b/proto3/models/uu_unicast_provisioning_info_pro_info_uu_unicast.proto new file mode 100644 index 0000000000000000000000000000000000000000..695979b3c657545caa09c30ff84bc3d2970c0d29 --- /dev/null +++ b/proto3/models/uu_unicast_provisioning_info_pro_info_uu_unicast.proto @@ -0,0 +1,28 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/location_info.proto"; +import public "models/uu_uni_neighbour_cell_info.proto"; +import public "models/v2x_application_server.proto"; + +message UuUnicastProvisioningInfoProInfoUuUnicast { + + LocationInfo location_info = 1; + + // The information of the neighbour cells in a visiting PLMN that support V2X communication over Uu unicast. + repeated UuUniNeighbourCellInfo neighbour_cell_info = 2; + + V2xApplicationServer v2x_application_server = 3; + +} diff --git a/proto3/models/v2x_application_server.proto b/proto3/models/v2x_application_server.proto new file mode 100644 index 0000000000000000000000000000000000000000..8aa8c6464277bb7d8fd51eef26d7a1290fdd8ce9 --- /dev/null +++ b/proto3/models/v2x_application_server.proto @@ -0,0 +1,23 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +option java_outer_classname = "V2xApplicationServerProto"; + +message V2xApplicationServer { + + string ip_address = 1; + + string udp_port = 2; + +} diff --git a/proto3/models/v2x_msg_notification.proto b/proto3/models/v2x_msg_notification.proto new file mode 100644 index 0000000000000000000000000000000000000000..31ba38001f605ff369357ca07bd98b104aa2e916 --- /dev/null +++ b/proto3/models/v2x_msg_notification.proto @@ -0,0 +1,43 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/msg_type.proto"; +import public "models/time_stamp.proto"; +import public "models/v2x_msg_notification_links.proto"; + +option java_outer_classname = "V2xMsgNotificationProto"; + +message V2xMsgNotification { + + // Shall be set to \"V2xMsgNotification\". + string notification_type = 1; + + TimeStamp time_stamp = 2; + + // Standardization organization which defines the published V2X message type ETSI: European Telecommunications Standards Institute. See note 1. + enum stdOrganization { + ETSI = 0; + } + + MsgType msg_type = 4; + + // The encode format of the V2X message, for example base64 + string msg_encode_format = 5; + + // Published V2X message content. The format of the string is defined by the standardization organization indicated by the attribute stdOrganization. + string msg_content = 6; + + V2xMsgNotificationLinks links = 7; + +} diff --git a/proto3/models/v2x_msg_notification_links.proto b/proto3/models/v2x_msg_notification_links.proto new file mode 100644 index 0000000000000000000000000000000000000000..5bc0123c1ad67a8750a110446007d002b954fc33 --- /dev/null +++ b/proto3/models/v2x_msg_notification_links.proto @@ -0,0 +1,22 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; +option java_outer_classname = "V2xMsgNotificationLinksProto"; + +import public "models/link_type.proto"; + +message V2xMsgNotificationLinks { + + LinkType subscription = 1; + +} diff --git a/proto3/models/v2x_msg_publication.proto b/proto3/models/v2x_msg_publication.proto new file mode 100644 index 0000000000000000000000000000000000000000..ea9d00ea23fda6cea0454888be759e252605131f --- /dev/null +++ b/proto3/models/v2x_msg_publication.proto @@ -0,0 +1,34 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/msg_type.proto"; + +option java_outer_classname = "V2xMsgPublicationProto"; + +message V2xMsgPublication { + + // Published V2X message content. Its format is defined by the standardization organization indicated by the attribute stdOrganization. + string msg_content = 1; + + // The encode format of the V2X message, for example base64. + string msg_encode_format = 2; + + MsgType msg_type = 3; + + // Standardization organization which defines the published V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. + enum stdOrganization { + ETSI = 0; + } + +} diff --git a/proto3/models/v2x_msg_subscription.proto b/proto3/models/v2x_msg_subscription.proto new file mode 100644 index 0000000000000000000000000000000000000000..c4908d900b4c337c366ba2800b201dc917f5acaf --- /dev/null +++ b/proto3/models/v2x_msg_subscription.proto @@ -0,0 +1,34 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/time_stamp.proto"; +import public "models/v2x_msg_subscription_filter_criteria.proto"; +import public "models/v2x_msg_subscription_links.proto"; + +option java_outer_classname = "V2xMsgSubscriptionProto"; +message V2xMsgSubscription { + + V2xMsgSubscriptionLinks links = 1; + + // URI selected by the service consumer to receive notifications on the subscribed V2X message. This shall be included both in the request and in response. + string callback_reference = 2; + + TimeStamp expiry_deadline = 3; + + V2xMsgSubscriptionFilterCriteria filter_criteria = 4; + + // Shall be set to \"V2xMsgSubscription\". + string subscription_type = 5; + +} diff --git a/proto3/models/v2x_msg_subscription_filter_criteria.proto b/proto3/models/v2x_msg_subscription_filter_criteria.proto new file mode 100644 index 0000000000000000000000000000000000000000..1283c6ceeb0e3caab3c32d9ea7f95e1d95a1e195 --- /dev/null +++ b/proto3/models/v2x_msg_subscription_filter_criteria.proto @@ -0,0 +1,27 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; +option java_outer_classname = "V2xMsgSubscriptionFilterCriteriaProto"; + + +message V2xMsgSubscriptionFilterCriteria { + + // Subscribed V2X message type. Its value is defined by the standardization organization indicated by the attribute stdOrganization. See note 2. + repeated string msg_type = 1; + + // Standardization organization which defines the subscribed V2X message type: ETSI: European Telecommunications Standards Institute. See note 1. + enum stdOrganization { + ETSI = 0; + } + +} diff --git a/proto3/models/v2x_msg_subscription_links.proto b/proto3/models/v2x_msg_subscription_links.proto new file mode 100644 index 0000000000000000000000000000000000000000..fc22f1d3996ed5815a2aab78841f588be8392428 --- /dev/null +++ b/proto3/models/v2x_msg_subscription_links.proto @@ -0,0 +1,23 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/link_type.proto"; + +option java_outer_classname = "V2xMsgSubscriptionLinksProto"; + +message V2xMsgSubscriptionLinks { + + LinkType self = 1; + +} diff --git a/proto3/models/v2x_server_usd.proto b/proto3/models/v2x_server_usd.proto new file mode 100644 index 0000000000000000000000000000000000000000..81c04bb3e12f96f62eb2881010b5e06a2f4dc286 --- /dev/null +++ b/proto3/models/v2x_server_usd.proto @@ -0,0 +1,29 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/v2x_server_usd_sdp_info.proto"; +import public "models/v2x_server_usd_tmgi.proto"; + +option java_outer_classname = "V2xServerUsdProto"; + +message V2xServerUsd { + + V2xServerUsdSdpInfo sdp_info = 1; + + // A list of service area identifier for the applicable MBMS broadcast area. + repeated string service_area_identifier = 2; + + V2xServerUsdTmgi tmgi = 3; + +} diff --git a/proto3/models/v2x_server_usd_sdp_info.proto b/proto3/models/v2x_server_usd_sdp_info.proto new file mode 100644 index 0000000000000000000000000000000000000000..1195d26bd78f9daabdfd087728775cca9c6507c3 --- /dev/null +++ b/proto3/models/v2x_server_usd_sdp_info.proto @@ -0,0 +1,23 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +option java_outer_classname ="V2xServerUsdSdpInfoProto"; + +message V2xServerUsdSdpInfo { + + string ip_multicast_address = 1; + + string port_number = 2; + +} diff --git a/proto3/models/v2x_server_usd_tmgi.proto b/proto3/models/v2x_server_usd_tmgi.proto new file mode 100644 index 0000000000000000000000000000000000000000..edc3995067a5872406e87ea77f46700d1e5978ad --- /dev/null +++ b/proto3/models/v2x_server_usd_tmgi.proto @@ -0,0 +1,28 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +option java_outer_classname ="V2xServerUsdTmgiProto"; + +message V2xServerUsdTmgi { + + // MBMS Service ID consisting of three octets. + string mbms_service_id = 1; + + // The Mobile Country Code part of PLMN Identity. + string mcc = 2; + + // The Mobile Network Code part of PLMN Identity. + string mnc = 3; + +} diff --git a/proto3/services/qo_s_service.proto b/proto3/services/qo_s_service.proto new file mode 100644 index 0000000000000000000000000000000000000000..d9d5bb7be17ec49177098f63a20d802cc9f00413 --- /dev/null +++ b/proto3/services/qo_s_service.proto @@ -0,0 +1,27 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/predicted_qos.proto"; +import public "models/problem_details.proto"; + +service QoSService { + rpc PredictedQosPOST (PredictedQosPOSTRequest) returns (PredictedQos); + +} + +message PredictedQosPOSTRequest { + PredictedQos predicted_qos = 1; + +} + diff --git a/proto3/services/queries_service.proto b/proto3/services/queries_service.proto new file mode 100644 index 0000000000000000000000000000000000000000..50e73a9100681e18858d0dcc5bfb2a82e0b17993 --- /dev/null +++ b/proto3/services/queries_service.proto @@ -0,0 +1,46 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import public "models/pc5_provisioning_info.proto"; +import public "models/problem_details.proto"; +import public "models/uu_mbms_provisioning_info.proto"; +import public "models/uu_unicast_provisioning_info.proto"; + +service QueriesService { + rpc ProvInfoGET (ProvInfoGETRequest) returns (Pc5ProvisioningInfo); + + rpc ProvInfoUuMbmsGET (ProvInfoUuMbmsGETRequest) returns (UuMbmsProvisioningInfo); + + rpc ProvInfoUuUnicastGET (ProvInfoUuUnicastGETRequest) returns (UuUnicastProvisioningInfo); + +} + +message ProvInfoGETRequest { + // Comma separated list of locations to identify a cell of a base station or a particular geographical area + string location_info = 1; + +} + +message ProvInfoUuMbmsGETRequest { + // omma separated list of locations to identify a cell of a base station or a particular geographical area + string location_info = 1; + +} + +message ProvInfoUuUnicastGETRequest { + // Comma separated list of locations to identify a cell of a base station or a particular geographical area + string location_info = 1; + +} + diff --git a/proto3/services/subscription_service.proto b/proto3/services/subscription_service.proto new file mode 100644 index 0000000000000000000000000000000000000000..e75d351eb40139f3c1504d0826cd87ab7e490da6 --- /dev/null +++ b/proto3/services/subscription_service.proto @@ -0,0 +1,62 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import "google/protobuf/empty.proto"; +import public "models/subscription.proto"; +import public "models/problem_details.proto"; +import public "models/subscription_link_list.proto"; + +service SubscriptionService { + rpc IndividualSubscriptionDELETE (IndividualSubscriptionDELETERequest) returns (google.protobuf.Empty); + + rpc IndividualSubscriptionGET (IndividualSubscriptionGETRequest) returns (Subscription); + + rpc IndividualSubscriptionPUT (IndividualSubscriptionPUTRequest) returns (Subscription); + + rpc SubGET (SubGETRequest) returns (SubscriptionLinkList); + + rpc SubPOST (SubPOSTRequest) returns (Subscription); + +} + +message IndividualSubscriptionDELETERequest { + // Refers to created subscription, where the VIS API allocates a unique resource name for this subscription + string subscription_id = 1; + +} + +message IndividualSubscriptionGETRequest { + // Refers to created subscription, where the VIS API allocates a unique resource name for this subscription + string subscription_id = 1; + +} + +message IndividualSubscriptionPUTRequest { + // Refers to created subscription, where the VIS API allocates a unique resource name for this subscription + string subscription_id = 1; + Subscription subscription = 2; + +} + +message SubGETRequest { + // Query parameter to filter on a specific subscription type. Permitted values: prov_chg_uu_uni: provisioning information change for V2X communication over Uuunicast prov_chg_uu_mbms: provisioning information change for V2X communication over Uu MBMS prov_chg_uu_pc5: provisioning information change for V2X communication over PC5. v2x_msg: V2X interoperability message + string subscription_type = 1; + +} + +message SubPOSTRequest { + Subscription subscription = 1; + +} + diff --git a/proto3/services/v2_x_msg_service.proto b/proto3/services/v2_x_msg_service.proto new file mode 100644 index 0000000000000000000000000000000000000000..bf580b97c0bd4c00cf7b0af4392e64f86d4f4b3a --- /dev/null +++ b/proto3/services/v2_x_msg_service.proto @@ -0,0 +1,28 @@ +/* + ETSI GS MEC 030 V2X Information Service API + + ETSI GS MEC 030 V2X Information Service API described using OpenAPI. + + The version of the OpenAPI document: 2.1.1 + Contact: cti_support@etsi.org + Generated by OpenAPI Generator: https://openapi-generator.tech +*/ + +syntax = "proto3"; + +package mec030; + +import "google/protobuf/empty.proto"; +import public "models/problem_details.proto"; +import public "models/v2x_msg_publication.proto"; + +service V2XMsgService { + rpc V2xMessagePOST (V2xMessagePOSTRequest) returns (google.protobuf.Empty); + +} + +message V2xMessagePOSTRequest { + V2xMsgPublication v2x_msg_publication = 1; + +} +