1 /**
2 * @schema AdminTranslationStatisticsResponse
3 * type: object
4 * description: The translation statistics details.
5 * x-schemaName: AdminTranslationStatisticsResponse
6 * required:
7 * - statistics
8 * properties:
9 * statistics:
10 * type: object
11 * description: The translation statistics for different entity types. The key is the entity type, and the value is an object containing the statistics for that entity type.
12 * example:
13 * product:
14 * expected: 150
15 * translated: 120
16 * missing: 30
17 * by_locale:
18 * fr-FR:
19 * expected: 150
20 * translated: 120
21 * missing: 30
22 * required:
23 * - by_locale
24 * - expected
25 * - translated
26 * - missing
27 * additionalProperties:
28 * type: object
29 * properties:
30 * by_locale:
31 * type: object
32 * description: The translation statistics of an entity type broken down by locale. The key is the locale code in BCP 47 format, and the value is an object containing the statistics for that locale.
33 * example:
34 * fr-FR:
35 * expected: 150
36 * translated: 120
37 * missing: 30
38 * required:
39 * - expected
40 * - translated
41 * - missing
42 * additionalProperties:
43 * type: object
44 * properties:
45 * expected:
46 * type: number
47 * title: expected
48 * description: The total number of translatable fields.
49 * translated:
50 * type: number
51 * title: translated
52 * description: The number of translated fields.
53 * missing:
54 * type: number
55 * title: missing
56 * description: The number of fields that are yet to be translated.
57 * expected:
58 * type: number
59 * title: expected
60 * description: The total number of translatable fields across specified locales.
61 * translated:
62 * type: number
63 * title: translated
64 * description: The number of translated fields across specified locales.
65 * missing:
66 * type: number
67 * title: missing
68 * description: The number of fields that are yet to be translated across specified locales.
69 *
70 */
71