From 5805255ba8ed110c196b31e097db7ebac8724ea0 Mon Sep 17 00:00:00 2001 From: vblajan Date: Thu, 5 Feb 2026 11:48:54 +0200 Subject: [PATCH 1/3] LTLC-127915 - adding Adjacent Language changes --- articles/LCPublicAPI/api/Public-API.v1.json | 26 +++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/articles/LCPublicAPI/api/Public-API.v1.json b/articles/LCPublicAPI/api/Public-API.v1.json index dcfdcc4..e0297b8 100644 --- a/articles/LCPublicAPI/api/Public-API.v1.json +++ b/articles/LCPublicAPI/api/Public-API.v1.json @@ -29158,6 +29158,9 @@ "items": { "$ref": "#/components/schemas/language-pair-resource" } + }, + "adjacentLanguagePair": { + "$ref": "#/components/schemas/translation-engine-definition-adjacent-language-pair" } }, "required": [ @@ -29165,6 +29168,29 @@ "resources" ] }, + "translation-engine-definition-adjacent-language-pair": { + "title": "Adjacent Language Pair Definition", + "type": "object", + "properties": { + "languagePair": { + "$ref": "#/components/schemas/language-pair" + }, + "settings": { + "type": "object", + "properties": { + "tmPenalty": { + "type": "integer", + "minimum": 0, + "maximum": 30, + "default": 0 + } + } + } + }, + "required": [ + "languagePair" + ] + }, "translation-memory-field": { "title": "Translation Memory Field", "type": "object", From 76bfe778bf723b7762658c2773aadf8853a114d3 Mon Sep 17 00:00:00 2001 From: vblajan Date: Fri, 6 Feb 2026 15:57:27 +0200 Subject: [PATCH 2/3] LTLC-127915 - making adjacentLanguagePair required --- articles/LCPublicAPI/api/Public-API.v1.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/articles/LCPublicAPI/api/Public-API.v1.json b/articles/LCPublicAPI/api/Public-API.v1.json index e0297b8..d9daeb9 100644 --- a/articles/LCPublicAPI/api/Public-API.v1.json +++ b/articles/LCPublicAPI/api/Public-API.v1.json @@ -29165,7 +29165,8 @@ }, "required": [ "languagePair", - "resources" + "resources", + "adjacentLanguagePair" ] }, "translation-engine-definition-adjacent-language-pair": { From 9464488e1eaadae28a0dbbe3b84aed055f7785e5 Mon Sep 17 00:00:00 2001 From: vblajan Date: Wed, 18 Feb 2026 10:46:19 +0200 Subject: [PATCH 3/3] moving adjacentLanguagePenalty --- articles/LCPublicAPI/api/Public-API.v1.json | 36 +++++++-------------- 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/articles/LCPublicAPI/api/Public-API.v1.json b/articles/LCPublicAPI/api/Public-API.v1.json index d9daeb9..f9c0c1e 100644 --- a/articles/LCPublicAPI/api/Public-API.v1.json +++ b/articles/LCPublicAPI/api/Public-API.v1.json @@ -29109,6 +29109,12 @@ }, "sequence": { "$ref": "#/components/schemas/remote-translation-engine-sequence" + }, + "adjacentLanguagePenalty": { + "type": "integer", + "minimum": 0, + "maximum": 30, + "default": 0 } } }, @@ -29159,8 +29165,11 @@ "$ref": "#/components/schemas/language-pair-resource" } }, - "adjacentLanguagePair": { - "$ref": "#/components/schemas/translation-engine-definition-adjacent-language-pair" + "adjacentLanguagePairs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/language-pair" + } } }, "required": [ @@ -29169,29 +29178,6 @@ "adjacentLanguagePair" ] }, - "translation-engine-definition-adjacent-language-pair": { - "title": "Adjacent Language Pair Definition", - "type": "object", - "properties": { - "languagePair": { - "$ref": "#/components/schemas/language-pair" - }, - "settings": { - "type": "object", - "properties": { - "tmPenalty": { - "type": "integer", - "minimum": 0, - "maximum": 30, - "default": 0 - } - } - } - }, - "required": [ - "languagePair" - ] - }, "translation-memory-field": { "title": "Translation Memory Field", "type": "object",