1 /**
2 * @schema AdminTranslation
3 * type: object
4 * description: The translation's details.
5 * x-schemaName: AdminTranslation
6 * required:
7 * - id
8 * - reference_id
9 * - reference
10 * - locale_code
11 * - translations
12 * - created_at
13 * - updated_at
14 * - deleted_at
15 * properties:
16 * id:
17 * type: string
18 * title: id
19 * description: The translation's ID.
20 * reference_id:
21 * type: string
22 * title: reference_id
23 * description: The ID of the resource that the translation belongs to. For example, the ID of a product.
24 * example: prod_123
25 * reference:
26 * type: string
27 * title: reference
28 * description: The resource that the translation belongs to.
29 * example: product
30 * locale_code:
31 * type: string
32 * title: locale_code
33 * description: The translation's locale code in BCP 47 format.
34 * example: fr-FR
35 * translations:
36 * type: object
37 * description: The translation key-value pairs. Each key is a field in the resource, and the value is the translated text.
38 * example:
39 * title: Chaussures
40 * description: Des chaussures élégantes.
41 * created_at:
42 * type: string
43 * format: date-time
44 * title: created_at
45 * description: The date that the translation was created.
46 * updated_at:
47 * type: string
48 * format: date-time
49 * title: updated_at
50 * description: The date that the translation was updated.
51 * deleted_at:
52 * type: string
53 * format: date-time
54 * title: deleted_at
55 * description: The date that the translation was deleted.
56 *
57 */
58