1 /**
2 * @schema AdminUpdateTranslation
3 * type: object
4 * description: The data for updating a translation.
5 * required:
6 * - id
7 * properties:
8 * id:
9 * type: string
10 * title: id
11 * description: The ID of the translation to update.
12 * reference:
13 * type: string
14 * title: reference
15 * description: The resource that the translation belongs to.
16 * example: product
17 * reference_id:
18 * type: string
19 * title: reference_id
20 * description: The ID of the resource that the translation belongs to. For example, the ID of a product.
21 * example: prod_123
22 * locale_code:
23 * type: string
24 * title: locale_code
25 * description: The translation's locale code in BCP 47 format.
26 * example: fr-FR
27 * translations:
28 * type: object
29 * description: The translation key-value pairs. Each key is a field in the resource, and the value is the translated text.
30 * example:
31 * title: Chaussures Modifiées
32 * description: Des chaussures élégantes et modifiées.
33 * x-schemaName: AdminUpdateTranslation
34 *
35 */
36