1 type: object
2 description: The translation's details.
3 x-schemaName: AdminTranslation
4 required:
5 - id
6 - reference_id
7 - reference
8 - locale_code
9 - translations
10 - created_at
11 - updated_at
12 - deleted_at
13 properties:
14 id:
15 type: string
16 title: id
17 description: The translation's ID.
18 reference_id:
19 type: string
20 title: reference_id
21 description: >-
22 The ID of the resource that the translation belongs to. For example, the
23 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: >-
38 The translation key-value pairs. Each key is a field in the resource, and
39 the value is the translated text.
40 example:
41 title: Chaussures
42 description: Des chaussures élégantes.
43 created_at:
44 type: string
45 format: date-time
46 title: created_at
47 description: The date that the translation was created.
48 updated_at:
49 type: string
50 format: date-time
51 title: updated_at
52 description: The date that the translation was updated.
53 deleted_at:
54 type: string
55 format: date-time
56 title: deleted_at
57 description: The date that the translation was deleted.