From 808127619e01674d77fa72d1242fdf1ec1194db2 Mon Sep 17 00:00:00 2001 From: Roi Cohen <213414225+roicohen326@users.noreply.github.com> Date: Sun, 21 Jun 2026 16:01:10 +0300 Subject: [PATCH 1/4] feat: add keywords field to base raster layer metadata schema --- src/schemas/ingestion/metadata.schema.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/schemas/ingestion/metadata.schema.ts b/src/schemas/ingestion/metadata.schema.ts index deae894..ffd92a8 100644 --- a/src/schemas/ingestion/metadata.schema.ts +++ b/src/schemas/ingestion/metadata.schema.ts @@ -9,6 +9,7 @@ export const baseRasterLayerMetadataSchema = z classification: z .string() .regex(new RegExp(INGESTION_VALIDATIONS.classification.pattern), { message: 'Classification value must be between 0 and 100' }), + keywords: z.string().optional(), }) .describe('baseRasterLayerMetadataSchema'); From 9316f332b9242e27b9ca64769104a7e73b932bb8 Mon Sep 17 00:00:00 2001 From: Roi Cohen <213414225+roicohen326@users.noreply.github.com> Date: Sun, 21 Jun 2026 17:12:02 +0300 Subject: [PATCH 2/4] feat: add Keywords OpenAPI schema to layerMetadata --- src/openapi/core/layerMetadata.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/openapi/core/layerMetadata.yaml b/src/openapi/core/layerMetadata.yaml index e11293b..b24d5e2 100644 --- a/src/openapi/core/layerMetadata.yaml +++ b/src/openapi/core/layerMetadata.yaml @@ -15,6 +15,9 @@ components: Description: type: string description: Layer's description + Keywords: + type: string + description: The keywords of the product Footprint: type: object oneOf: From 2e0e0701a28a580de40c2fd4273372d359273dd3 Mon Sep 17 00:00:00 2001 From: Roi Cohen <213414225+roicohen326@users.noreply.github.com> Date: Wed, 24 Jun 2026 13:18:03 +0300 Subject: [PATCH 3/4] Apply suggestion from @razbroc Co-authored-by: razbroc <77406876+razbroc@users.noreply.github.com> --- src/openapi/core/layerMetadata.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openapi/core/layerMetadata.yaml b/src/openapi/core/layerMetadata.yaml index b24d5e2..aef8ad8 100644 --- a/src/openapi/core/layerMetadata.yaml +++ b/src/openapi/core/layerMetadata.yaml @@ -17,7 +17,7 @@ components: description: Layer's description Keywords: type: string - description: The keywords of the product + description: Layer's keywords Footprint: type: object oneOf: From c6ee53c08dc2e0729dd1a67ee54b85c919408495 Mon Sep 17 00:00:00 2001 From: Roi Cohen <213414225+roicohen326@users.noreply.github.com> Date: Wed, 24 Jun 2026 15:44:54 +0300 Subject: [PATCH 4/4] feat: add keywords to RasterLayerMetadata type Add keywords?: string to the hand-written RasterLayerMetadata type (it is not z.inferred from the schema, so the schema change did not propagate) and align the OpenAPI Keywords description per review. Co-Authored-By: Claude Opus 4.8 --- src/types/core/metadata.type.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/core/metadata.type.ts b/src/types/core/metadata.type.ts index b7b8e64..665b775 100644 --- a/src/types/core/metadata.type.ts +++ b/src/types/core/metadata.type.ts @@ -24,6 +24,7 @@ export type RasterLayerMetadata = { minResolutionMeter: number; productSubType?: string; productBoundingBox?: string; + keywords?: string; displayPath: string; transparency: Transparency; tileMimeFormat: TilesMimeFormat;