From 5cfa343c56456da7c8fd0018b1f9b38618ccd61e Mon Sep 17 00:00:00 2001 From: Ionut Banu Date: Thu, 10 Sep 2026 15:01:56 +0300 Subject: [PATCH] LTLC-130267 Add ownerType and group details to translator and reviewer schemas --- .../LCPublicAPI/api/Data-Bridge-API.v1.json | 170 ++++++++++++++---- 1 file changed, 135 insertions(+), 35 deletions(-) diff --git a/articles/LCPublicAPI/api/Data-Bridge-API.v1.json b/articles/LCPublicAPI/api/Data-Bridge-API.v1.json index 140829f..2432b67 100644 --- a/articles/LCPublicAPI/api/Data-Bridge-API.v1.json +++ b/articles/LCPublicAPI/api/Data-Bridge-API.v1.json @@ -5417,21 +5417,21 @@ "x-examples": { "Example 1": { "internalId": 1234567, + "ownerType": "user", "accountUserId": "1234abcd5678efgh9012ijkl", - "accountId": "2345bcde6789fgha0123ijkl", - "accountName": "Test Account", "firstName": "First", "lastName": "Last", "userEmail": "user@example.com", "accountUserLocationId": "N/A", "membership": "ROLE", - "status": "STATUS", - "authorId": "1234abcd5678efgh9012ijkl", "creationDate": "2023-01-01T00:00:00Z", "lastModificationDate": "2023-01-01T00:00:00Z", "deletionDate": "9999-12-31T00:00:00Z", "vendorId": "3456cdef7890ghij1234klmn", "vendorName": "Vendor Name", + "groupId": "N/A", + "groupName": "N/A", + "groupDescription": "N/A", "deleted": false } }, @@ -5442,6 +5442,14 @@ "type": "integer", "description": "A unique internal identifier for the translator." }, + "ownerType": { + "type": "string", + "description": "The type of owner for the translator, indicating whether the translator is a user or a group.", + "enum": [ + "user", + "group" + ] + }, "accountUserId": { "type": "string", "description": "A unique identifier for the account user associated with the translator." @@ -5468,17 +5476,17 @@ }, "createdAt": { "type": "string", - "description": "The date and time when the translator's account was created. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the translator's account was created. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, "lastModifiedAt": { "type": "string", - "description": "The date and time when the translator's account was last modified. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the translator's account was last modified. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, "deletedAt": { "type": "string", - "description": "The date and time when the translator's account was deleted, if applicable. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the translator's account was deleted, if applicable. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, "vendorId": { @@ -5489,6 +5497,18 @@ "type": "string", "description": "The name of the vendor associated with the translator." }, + "groupId": { + "type": "string", + "description": "The identifier for the group associated with the translator, if applicable." + }, + "groupName": { + "type": "string", + "description": "The name of the group associated with the translator, if applicable." + }, + "groupDescription": { + "type": "string", + "description": "A description of the group associated with the translator, if applicable." + }, "deleted": { "type": "boolean", "description": "A boolean indicating whether the translator's account has been deleted." @@ -5500,21 +5520,21 @@ "x-examples": { "Example 1": { "internalId": 1234567, + "ownerType": "user", "accountUserId": "1234abcd5678efgh9012ijkl", - "accountId": "2345bcde6789fgha0123ijkl", - "accountName": "Test Account", "firstName": "First", "lastName": "Last", "userEmail": "user@example.com", "accountUserLocationId": "N/A", "membership": "ROLE", - "status": "STATUS", - "authorId": "N/A", "creationDate": "2023-01-01T00:00:00Z", "lastModificationDate": "2024-01-01T00:00:00Z", "deletionDate": "9999-12-31T00:00:00Z", "vendorId": "N/A", "vendorName": "N/A", + "groupId": "N/A", + "groupName": "N/A", + "groupDescription": "N/A", "deleted": false } }, @@ -5525,6 +5545,14 @@ "type": "integer", "description": "A unique internal identifier for the reviewer." }, + "ownerType": { + "type": "string", + "description": "The type of owner for the reviewer, indicating whether it is a user or a group.", + "enum": [ + "user", + "group" + ] + }, "accountUserId": { "type": "string", "description": "A unique identifier for the account user associated with the reviewer." @@ -5551,17 +5579,17 @@ }, "createdAt": { "type": "string", - "description": "The date and time when the reviewer's account was created. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the reviewer's account was created. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, "lastModifiedAt": { "type": "string", - "description": "The date and time when the reviewer's account was last modified. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the reviewer's account was last modified. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, "deletedAt": { "type": "string", - "description": "The date and time when the reviewer's account was deleted, if applicable. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the reviewer's account was deleted, if applicable. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, "vendorId": { @@ -5572,6 +5600,18 @@ "type": "string", "description": "The name of the vendor associated with the reviewer." }, + "groupId": { + "type": "string", + "description": "The identifier for the group associated with the reviewer, if applicable." + }, + "groupName": { + "type": "string", + "description": "The name of the group associated with the reviewer, if applicable." + }, + "groupDescription": { + "type": "string", + "description": "A description of the group associated with the reviewer, if applicable." + }, "deleted": { "type": "boolean", "description": "A boolean indicating whether the reviewer's account has been deleted." @@ -5583,19 +5623,19 @@ "x-examples": { "Example 1": { "internalId": 1234567, + "ownerType": "user", "accountUserId": "1234abcd5678efgh9012ijkl", - "accountId": "2345bcde6789fgha0123ijkl", - "accountName": "Test Account", "firstName": "First", "lastName": "Last", "userEmail": "user@example.com", "accountUserLocationId": "N/A", "membership": "ROLE", - "status": "STATUS", - "authorId": "N/A", "creationDate": "2023-01-01T00:00:00Z", "lastModificationDate": "2024-01-01T00:00:00Z", "deletionDate": "9999-12-31T00:00:00Z", + "groupId": "N/A", + "groupName": "N/A", + "groupDescription": "N/A", "deleted": false } }, @@ -5606,6 +5646,14 @@ "type": "integer", "description": "A unique internal identifier for the customer reviewer." }, + "ownerType": { + "type": "string", + "description": "The type of owner for the customer reviewer, indicating whether it is a user or a group.", + "enum": [ + "user", + "group" + ] + }, "accountUserId": { "type": "string", "description": "A unique identifier for the account user associated with the customer reviewer." @@ -5632,19 +5680,31 @@ }, "createdAt": { "type": "string", - "description": "The date and time when the customer reviewer's account was created. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the customer reviewer's account was created. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, "lastModifiedAt": { "type": "string", - "description": "The date and time when the customer reviewer's account was last modified. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the customer reviewer's account was last modified. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, "deletedAt": { "type": "string", - "description": "The date and time when the customer reviewer's account was deleted, if applicable. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the customer reviewer's account was deleted, if applicable. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, + "groupId": { + "type": "string", + "description": "The identifier for the group associated with the customer reviewer, if applicable." + }, + "groupName": { + "type": "string", + "description": "The name of the group associated with the customer reviewer, if applicable." + }, + "groupDescription": { + "type": "string", + "description": "The description of the group associated with the customer reviewer, if applicable." + }, "deleted": { "type": "boolean", "description": "A boolean indicating whether the customer reviewer's account has been deleted." @@ -5908,21 +5968,21 @@ "x-examples": { "Example 1": { "internalId": 1234567, + "ownerType": "user", "accountUserId": "1234abcd5678efgh9012ijkl", - "accountId": "2345bcde6789fgha0123ijkl", - "accountName": "Test Account", "firstName": "First", "lastName": "Last", "userEmail": "user@example.com", "accountUserLocationId": "N/A", "membership": "ROLE", - "status": "STATUS", - "authorId": "N/A", "creationDate": "2023-01-01T00:00:00Z", "lastModificationDate": "2024-01-01T00:00:00Z", "deletionDate": "9999-12-31T00:00:00Z", "vendorId": "N/A", "vendorName": "N/A", + "groupId": "N/A", + "groupName": "N/A", + "groupDescription": "N/A", "deleted": false } }, @@ -5932,6 +5992,14 @@ "type": "integer", "description": "A unique internal identifier for the task owner." }, + "ownerType": { + "type": "string", + "description": "The type of owner, which can be either 'user' or 'group'.", + "enum": [ + "user", + "group" + ] + }, "accountUserId": { "type": "string", "description": "A unique identifier for the account user associated with the task owner." @@ -5958,17 +6026,17 @@ }, "createdAt": { "type": "string", - "description": "The date and time when the task owner's account was created. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the task owner's account was created. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, "lastModifiedAt": { "type": "string", - "description": "The date and time when the task owner's account was last modified. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the task owner's account was last modified. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, "deletedAt": { "type": "string", - "description": "The date and time when the task owner's account was deleted, if applicable. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the task owner's account was deleted, if applicable. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, "vendorId": { @@ -5979,6 +6047,18 @@ "type": "string", "description": "The name of the vendor associated with the task owner." }, + "groupId": { + "type": "string", + "description": "The identifier for the group associated with the task owner, if applicable." + }, + "groupName": { + "type": "string", + "description": "The name of the group associated with the task owner, if applicable." + }, + "groupDescription": { + "type": "string", + "description": "The description of the group associated with the task owner, if applicable." + }, "deleted": { "type": "boolean", "description": "A boolean indicating whether the task owner's account has been deleted." @@ -6293,21 +6373,21 @@ "x-examples": { "Example 1": { "internalId": 1234567, + "ownerType": "user", "accountUserId": "1234abcd5678efgh9012ijkl", - "accountId": "2345bcde6789fgha0123ijkl", - "accountName": "Test Account", "firstName": "First", "lastName": "Last", "userEmail": "user@example.com", "accountUserLocationId": "N/A", "membership": "ROLE", - "status": "STATUS", - "authorId": "N/A", "creationDate": "2023-01-01T00:00:00Z", "lastModificationDate": "2024-01-01T00:00:00Z", "deletionDate": "9999-12-31T00:00:00Z", "vendorId": "N/A", "vendorName": "N/A", + "groupId": "N/A", + "groupName": "N/A", + "groupDescription": "N/A", "deleted": false } }, @@ -6317,6 +6397,14 @@ "type": "integer", "description": "A unique internal identifier for the linguist." }, + "ownerType": { + "type": "string", + "description": "The type of owner, which can be either 'user' or 'group'.", + "enum": [ + "user", + "group" + ] + }, "accountUserId": { "type": "string", "description": "A unique identifier for the account user associated with the linguist." @@ -6343,17 +6431,17 @@ }, "createdAt": { "type": "string", - "description": "The date and time when the linguist's account was created. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the linguist's account was created. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, "lastModifiedAt": { "type": "string", - "description": "The date and time when the linguist's account was last modified. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the linguist's account was last modified. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, "deletedAt": { "type": "string", - "description": "The date and time when the linguist's account was deleted, if applicable. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format.", + "description": "The date and time when the linguist's account was deleted, if applicable. Timestamp with 'YYYY-MM-DDTHH:MM:SSZ' format. '2499-12-31T00:00:00Z' for groups.", "format": "date-time" }, "vendorId": { @@ -6364,6 +6452,18 @@ "type": "string", "description": "The name of the vendor associated with the linguist." }, + "groupId": { + "type": "string", + "description": "The identifier for the group associated with the linguist, if applicable." + }, + "groupName": { + "type": "string", + "description": "The name of the group associated with the linguist, if applicable." + }, + "groupDescription": { + "type": "string", + "description": "The description of the group associated with the linguist, if applicable." + }, "deleted": { "type": "boolean", "description": "A boolean indicating whether the linguist's account has been deleted."