From 55ee81792dd1d3c2ba6c48348c0ebf3d76d4c264 Mon Sep 17 00:00:00 2001 From: Masaharu Hattori <112887632+Masa8106@users.noreply.github.com> Date: Thu, 16 Apr 2026 12:13:46 +0100 Subject: [PATCH 1/2] Add AreaID schema --- code/API_definitions/qos-booking.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/code/API_definitions/qos-booking.yaml b/code/API_definitions/qos-booking.yaml index 21b0709..73ca8a0 100644 --- a/code/API_definitions/qos-booking.yaml +++ b/code/API_definitions/qos-booking.yaml @@ -742,6 +742,7 @@ components: mapping: CIRCLE: "#/components/schemas/Circle" POLYGON: "#/components/schemas/Polygon" + AREAID: "#/components/schemas/AreaId" AREANAME: "#/components/schemas/AreaName" AreaType: @@ -750,10 +751,12 @@ components: Type of this area. CIRCLE - The area is defined as a circle. POLYGON - The area is defined as a polygon. + AREAID - The area is defined as an area ID. AREANAME - The area is defined as an area name. enum: - CIRCLE - POLYGON + - AREAID - AREANAME Circle: @@ -782,6 +785,17 @@ components: properties: boundary: $ref: "#/components/schemas/PointList" + AreaId: + description: The area is defined as an area ID. + allOf: + - $ref: "#/components/schemas/Area" + - type: object + required: + - areaId + properties: + areaId: + type: string + format: uuid AreaName: description: The value of "AreaName" might be predefined and only regional or even an operator-specific in this API version. As a prerequisite, the API Provider may offer API Consumer the "AreaName" values, which API consumer can request, in a preparation phase. And then API Consumers can select from the "AreaNames" as Service Areas. From 37f66fb23c481dfd2a8ff947a9ba8f47648c79c0 Mon Sep 17 00:00:00 2001 From: Masaharu Hattori <112887632+Masa8106@users.noreply.github.com> Date: Thu, 16 Apr 2026 12:29:31 +0100 Subject: [PATCH 2/2] Linting error correction --- code/API_definitions/qos-booking.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/API_definitions/qos-booking.yaml b/code/API_definitions/qos-booking.yaml index 73ca8a0..ce550aa 100644 --- a/code/API_definitions/qos-booking.yaml +++ b/code/API_definitions/qos-booking.yaml @@ -795,7 +795,7 @@ components: properties: areaId: type: string - format: uuid + format: uuid AreaName: description: The value of "AreaName" might be predefined and only regional or even an operator-specific in this API version. As a prerequisite, the API Provider may offer API Consumer the "AreaName" values, which API consumer can request, in a preparation phase. And then API Consumers can select from the "AreaNames" as Service Areas.