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