waha-shared 1.0.211 → 1.0.213

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/dist/data/areas/areas.schema.json +53 -19
  2. package/dist/data/areas/areas.zod.d.ts +12 -15
  3. package/dist/data/aslTimestamps/aslTimestamps.schema.json +11 -18
  4. package/dist/data/aslTimestamps/aslTimestamps.zod.d.ts +34 -4
  5. package/dist/data/bibleAudios/bibleAudios.schema.json +11 -14
  6. package/dist/data/bibleAudios/bibleAudios.zod.d.ts +15 -11
  7. package/dist/data/bibleAudios/bibleAudios.zod.js +4 -5
  8. package/dist/data/bibleAudios/index.d.ts +2 -5
  9. package/dist/data/bibleBooks/bibleBooks.schema.json +50 -71
  10. package/dist/data/bibleBooks/bibleBooks.zod.d.ts +51 -5
  11. package/dist/data/bibleBooks/index.d.ts +2 -2
  12. package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +2 -5
  13. package/dist/data/bibleChaptersList/bibleChaptersList.zod.d.ts +1 -1
  14. package/dist/data/bibleStatuses/bibleStatuses.json +110 -2
  15. package/dist/data/bibleStatuses/bibleStatuses.schema.json +40 -46
  16. package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +25 -5
  17. package/dist/data/bibleStatuses/bibleStatuses.zod.js +27 -2
  18. package/dist/data/bibleTexts/bibleTexts.schema.json +24 -40
  19. package/dist/data/bibleTexts/bibleTexts.zod.d.ts +39 -11
  20. package/dist/data/bibleTexts/index.d.ts +3 -3
  21. package/dist/data/clones/clones.schema.json +26 -27
  22. package/dist/data/clones/clones.zod.d.ts +24 -2
  23. package/dist/data/clones/clones.zod.js +1 -1
  24. package/dist/data/clones/index.d.ts +3 -3
  25. package/dist/data/countries/countries.schema.json +90 -91
  26. package/dist/data/countries/countries.zod.d.ts +88 -19
  27. package/dist/data/countries/countries.zod.js +138 -49
  28. package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +8 -19
  29. package/dist/data/countriesAndLanguages/countriesAndLanguages.zod.d.ts +28 -2
  30. package/dist/data/countriesAndLanguages/index.d.ts +2 -2
  31. package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +4 -13
  32. package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +13 -1
  33. package/dist/data/crowdinLanguages/index.d.ts +1 -1
  34. package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +8 -16
  35. package/dist/data/curriculumFoundations/curriculumFoundations.zod.d.ts +10 -2
  36. package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +13 -24
  37. package/dist/data/curriculumQuestions/curriculumQuestions.zod.d.ts +23 -3
  38. package/dist/data/curriculumTopics/curriculumTopics.schema.json +8 -16
  39. package/dist/data/curriculumTopics/curriculumTopics.zod.d.ts +10 -2
  40. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +2 -5
  41. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.zod.d.ts +1 -1
  42. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +2 -8
  43. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.zod.js +1 -1
  44. package/dist/data/languageAssets/languageAssets.json +37702 -0
  45. package/dist/data/languageAssets/languageAssets.schema.json +12 -15
  46. package/dist/data/languageAssets/languageAssets.zod.d.ts +1 -1
  47. package/dist/data/languageAssets/languageAssets.zod.js +43 -3
  48. package/dist/data/languages/index.d.ts +4 -8
  49. package/dist/data/languages/languages.json +1 -1
  50. package/dist/data/languages/languages.schema.json +89 -136
  51. package/dist/data/languages/languages.zod.d.ts +116 -194
  52. package/dist/data/languages/languages.zod.js +1 -7
  53. package/dist/data/mediaDurations/mediaDurations.schema.json +14 -21
  54. package/dist/data/mediaDurations/mediaDurations.zod.d.ts +1 -1
  55. package/dist/data/mediaDurations/mediaDurations.zod.js +41 -3
  56. package/dist/data/notification/notification.schema.json +57 -67
  57. package/dist/data/notification/notification.zod.d.ts +39 -15
  58. package/dist/data/notification/notification.zod.js +134 -4
  59. package/dist/data/numeralMaps/numeralMaps.schema.json +62 -62
  60. package/dist/data/numeralMaps/numeralMaps.zod.d.ts +46 -2
  61. package/dist/data/numeralMaps/numeralMaps.zod.js +64 -14
  62. package/dist/data/phoneLanguages/index.d.ts +1 -1
  63. package/dist/data/phoneLanguages/phoneLanguages.schema.json +8 -18
  64. package/dist/data/phoneLanguages/phoneLanguages.zod.d.ts +22 -2
  65. package/dist/data/questions/index.d.ts +1 -1
  66. package/dist/data/questions/questions.schema.json +11 -11
  67. package/dist/data/questions/questions.zod.d.ts +14 -6
  68. package/dist/data/releaseNotes/index.d.ts +1 -1
  69. package/dist/data/releaseNotes/releaseNotes.schema.json +11 -23
  70. package/dist/data/releaseNotes/releaseNotes.zod.d.ts +9 -1
  71. package/dist/data/releaseNotes/releaseNotes.zod.js +1 -1
  72. package/dist/data/screenshots/screenshots.schema.json +6 -12
  73. package/dist/data/screenshots/screenshots.zod.d.ts +5 -1
  74. package/dist/data/scripts/scripts.schema.json +4 -11
  75. package/dist/data/scripts/scripts.zod.d.ts +7 -1
  76. package/dist/data/sets/index.d.ts +2 -2
  77. package/dist/data/sets/sets.schema.json +22 -25
  78. package/dist/data/sets/sets.zod.d.ts +39 -61
  79. package/dist/data/specialIds/specialIds.schema.json +1 -5
  80. package/dist/data/specialIds/specialIds.zod.d.ts +41 -11
  81. package/dist/data/translationsApp/index.d.ts +9 -9
  82. package/dist/data/translationsApp/translationsApp.json +1 -0
  83. package/dist/data/translationsApp/translationsApp.schema.json +668 -667
  84. package/dist/data/translationsApp/translationsApp.zod.d.ts +631 -1
  85. package/dist/data/translationsApp/translationsApp.zod.js +2 -2
  86. package/dist/data/translationsFtb/translationsFtb.json +884 -0
  87. package/dist/data/translationsFtb/translationsFtb.schema.json +149 -147
  88. package/dist/data/translationsFtb/translationsFtb.zod.d.ts +135 -1
  89. package/dist/data/translationsFtb/translationsFtb.zod.js +1 -1
  90. package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +18 -15
  91. package/dist/data/translationsIntroduction/translationsIntroduction.zod.d.ts +160 -2
  92. package/dist/data/translationsIntroduction/translationsIntroduction.zod.js +1 -1
  93. package/dist/data/translationsQuestion/translationsQuestion.json +480 -0
  94. package/dist/data/translationsQuestion/translationsQuestion.schema.json +14 -9
  95. package/dist/data/translationsQuestion/translationsQuestion.zod.js +1 -1
  96. package/dist/data/translationsSet/translationsSet.json +20694 -11135
  97. package/dist/data/translationsSet/translationsSet.schema.json +56 -52
  98. package/dist/data/translationsSet/translationsSet.zod.d.ts +19 -1
  99. package/dist/data/translationsSet/translationsSet.zod.js +4 -4
  100. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +100 -98
  101. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.d.ts +87 -1
  102. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.js +1 -1
  103. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +480 -0
  104. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +23 -18
  105. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.zod.js +1 -1
  106. package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +2 -9
  107. package/dist/data/youtubePlaylists/youtubePlaylists.zod.js +1 -1
  108. package/dist/data/youtubeVideos/youtubeVideos.schema.json +2 -9
  109. package/dist/data/youtubeVideos/youtubeVideos.zod.js +1 -1
  110. package/dist/types/analytics.d.ts +1 -14
  111. package/dist/types/articles.d.ts +344 -94
  112. package/dist/types/articles.js +13 -13
  113. package/dist/types/bibleChapters.d.ts +91 -13
  114. package/dist/types/bibleChapters.js +1 -1
  115. package/dist/types/feedback.d.ts +41 -3
  116. package/dist/types/feedback.js +1 -1
  117. package/dist/types/microLessons.d.ts +869 -70
  118. package/dist/types/microLessons.js +29 -29
  119. package/dist/types/notifications.d.ts +119 -19
  120. package/dist/types/scripturePassages.d.ts +34 -4
  121. package/dist/types/users.d.ts +776 -221
  122. package/dist/types/users.js +1 -2
  123. package/dist/types/webContent.d.ts +20 -8
  124. package/package.json +3 -3
@@ -1,282 +1,284 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
+ "required": [
5
+ "$schema",
6
+ "data"
7
+ ],
8
+ "additionalProperties": false,
4
9
  "properties": {
5
10
  "$schema": {
6
- "type": "string"
11
+ "type": "string",
12
+ "description": "Path to the JSON schema file"
7
13
  },
8
14
  "data": {
9
- "$schema": "https://json-schema.org/draft/2020-12/schema",
10
- "type": "object",
11
- "propertyNames": {
12
- "type": "string"
13
- },
15
+ "title": "From the Book Translations",
14
16
  "additionalProperties": {
15
- "type": "object",
17
+ "description": "Translations for a single language (identified by a 3-letter code)_",
16
18
  "properties": {
17
19
  "1CH": {
18
- "type": "string",
19
- "minLength": 1
20
+ "minLength": 1,
21
+ "type": "string"
20
22
  },
21
23
  "1CO": {
22
- "type": "string",
23
- "minLength": 1
24
+ "minLength": 1,
25
+ "type": "string"
24
26
  },
25
27
  "1JN": {
26
- "type": "string",
27
- "minLength": 1
28
+ "minLength": 1,
29
+ "type": "string"
28
30
  },
29
31
  "1KI": {
30
- "type": "string",
31
- "minLength": 1
32
+ "minLength": 1,
33
+ "type": "string"
32
34
  },
33
35
  "1PE": {
34
- "type": "string",
35
- "minLength": 1
36
+ "minLength": 1,
37
+ "type": "string"
36
38
  },
37
39
  "1SA": {
38
- "type": "string",
39
- "minLength": 1
40
+ "minLength": 1,
41
+ "type": "string"
40
42
  },
41
43
  "1TH": {
42
- "type": "string",
43
- "minLength": 1
44
+ "minLength": 1,
45
+ "type": "string"
44
46
  },
45
47
  "1TI": {
46
- "type": "string",
47
- "minLength": 1
48
+ "minLength": 1,
49
+ "type": "string"
48
50
  },
49
51
  "2CH": {
50
- "type": "string",
51
- "minLength": 1
52
+ "minLength": 1,
53
+ "type": "string"
52
54
  },
53
55
  "2CO": {
54
- "type": "string",
55
- "minLength": 1
56
+ "minLength": 1,
57
+ "type": "string"
56
58
  },
57
59
  "2JN": {
58
- "type": "string",
59
- "minLength": 1
60
+ "minLength": 1,
61
+ "type": "string"
60
62
  },
61
63
  "2KI": {
62
- "type": "string",
63
- "minLength": 1
64
+ "minLength": 1,
65
+ "type": "string"
64
66
  },
65
67
  "2PE": {
66
- "type": "string",
67
- "minLength": 1
68
+ "minLength": 1,
69
+ "type": "string"
68
70
  },
69
71
  "2SA": {
70
- "type": "string",
71
- "minLength": 1
72
+ "minLength": 1,
73
+ "type": "string"
72
74
  },
73
75
  "2TH": {
74
- "type": "string",
75
- "minLength": 1
76
+ "minLength": 1,
77
+ "type": "string"
76
78
  },
77
79
  "2TI": {
78
- "type": "string",
79
- "minLength": 1
80
+ "minLength": 1,
81
+ "type": "string"
80
82
  },
81
83
  "3JN": {
82
- "type": "string",
83
- "minLength": 1
84
+ "minLength": 1,
85
+ "type": "string"
84
86
  },
85
87
  "ACT": {
86
- "type": "string",
87
- "minLength": 1
88
+ "minLength": 1,
89
+ "type": "string"
88
90
  },
89
91
  "AMO": {
90
- "type": "string",
91
- "minLength": 1
92
+ "minLength": 1,
93
+ "type": "string"
92
94
  },
93
95
  "COL": {
94
- "type": "string",
95
- "minLength": 1
96
+ "minLength": 1,
97
+ "type": "string"
96
98
  },
97
99
  "DAN": {
98
- "type": "string",
99
- "minLength": 1
100
+ "minLength": 1,
101
+ "type": "string"
100
102
  },
101
103
  "DEU": {
102
- "type": "string",
103
- "minLength": 1
104
+ "minLength": 1,
105
+ "type": "string"
104
106
  },
105
107
  "ECC": {
106
- "type": "string",
107
- "minLength": 1
108
+ "minLength": 1,
109
+ "type": "string"
108
110
  },
109
111
  "EPH": {
110
- "type": "string",
111
- "minLength": 1
112
+ "minLength": 1,
113
+ "type": "string"
112
114
  },
113
115
  "EST": {
114
- "type": "string",
115
- "minLength": 1
116
+ "minLength": 1,
117
+ "type": "string"
116
118
  },
117
119
  "EXO": {
118
- "type": "string",
119
- "minLength": 1
120
+ "minLength": 1,
121
+ "type": "string"
120
122
  },
121
123
  "EZK": {
122
- "type": "string",
123
- "minLength": 1
124
+ "minLength": 1,
125
+ "type": "string"
124
126
  },
125
127
  "EZR": {
126
- "type": "string",
127
- "minLength": 1
128
+ "minLength": 1,
129
+ "type": "string"
128
130
  },
129
131
  "GAL": {
130
- "type": "string",
131
- "minLength": 1
132
+ "minLength": 1,
133
+ "type": "string"
132
134
  },
133
135
  "GEN": {
134
- "type": "string",
135
- "minLength": 1
136
+ "minLength": 1,
137
+ "type": "string"
136
138
  },
137
139
  "HAB": {
138
- "type": "string",
139
- "minLength": 1
140
+ "minLength": 1,
141
+ "type": "string"
140
142
  },
141
143
  "HAG": {
142
- "type": "string",
143
- "minLength": 1
144
+ "minLength": 1,
145
+ "type": "string"
144
146
  },
145
147
  "HEB": {
146
- "type": "string",
147
- "minLength": 1
148
+ "minLength": 1,
149
+ "type": "string"
148
150
  },
149
151
  "HOS": {
150
- "type": "string",
151
- "minLength": 1
152
+ "minLength": 1,
153
+ "type": "string"
152
154
  },
153
155
  "ISA": {
154
- "type": "string",
155
- "minLength": 1
156
+ "minLength": 1,
157
+ "type": "string"
156
158
  },
157
159
  "JAS": {
158
- "type": "string",
159
- "minLength": 1
160
+ "minLength": 1,
161
+ "type": "string"
160
162
  },
161
163
  "JDG": {
162
- "type": "string",
163
- "minLength": 1
164
+ "minLength": 1,
165
+ "type": "string"
164
166
  },
165
167
  "JER": {
166
- "type": "string",
167
- "minLength": 1
168
+ "minLength": 1,
169
+ "type": "string"
168
170
  },
169
171
  "JHN": {
170
- "type": "string",
171
- "minLength": 1
172
+ "minLength": 1,
173
+ "type": "string"
172
174
  },
173
175
  "JOB": {
174
- "type": "string",
175
- "minLength": 1
176
+ "minLength": 1,
177
+ "type": "string"
176
178
  },
177
179
  "JOL": {
178
- "type": "string",
179
- "minLength": 1
180
+ "minLength": 1,
181
+ "type": "string"
180
182
  },
181
183
  "JON": {
182
- "type": "string",
183
- "minLength": 1
184
+ "minLength": 1,
185
+ "type": "string"
184
186
  },
185
187
  "JOS": {
186
- "type": "string",
187
- "minLength": 1
188
+ "minLength": 1,
189
+ "type": "string"
188
190
  },
189
191
  "JUD": {
190
- "type": "string",
191
- "minLength": 1
192
+ "minLength": 1,
193
+ "type": "string"
192
194
  },
193
195
  "LAM": {
194
- "type": "string",
195
- "minLength": 1
196
+ "minLength": 1,
197
+ "type": "string"
196
198
  },
197
199
  "LEV": {
198
- "type": "string",
199
- "minLength": 1
200
+ "minLength": 1,
201
+ "type": "string"
200
202
  },
201
203
  "LUK": {
202
- "type": "string",
203
- "minLength": 1
204
+ "minLength": 1,
205
+ "type": "string"
204
206
  },
205
207
  "MAL": {
206
- "type": "string",
207
- "minLength": 1
208
+ "minLength": 1,
209
+ "type": "string"
208
210
  },
209
211
  "MAT": {
210
- "type": "string",
211
- "minLength": 1
212
+ "minLength": 1,
213
+ "type": "string"
212
214
  },
213
215
  "MIC": {
214
- "type": "string",
215
- "minLength": 1
216
+ "minLength": 1,
217
+ "type": "string"
216
218
  },
217
219
  "MRK": {
218
- "type": "string",
219
- "minLength": 1
220
+ "minLength": 1,
221
+ "type": "string"
220
222
  },
221
223
  "NAM": {
222
- "type": "string",
223
- "minLength": 1
224
+ "minLength": 1,
225
+ "type": "string"
224
226
  },
225
227
  "NEH": {
226
- "type": "string",
227
- "minLength": 1
228
+ "minLength": 1,
229
+ "type": "string"
228
230
  },
229
231
  "NUM": {
230
- "type": "string",
231
- "minLength": 1
232
+ "minLength": 1,
233
+ "type": "string"
232
234
  },
233
235
  "OBA": {
234
- "type": "string",
235
- "minLength": 1
236
+ "minLength": 1,
237
+ "type": "string"
236
238
  },
237
239
  "PHM": {
238
- "type": "string",
239
- "minLength": 1
240
+ "minLength": 1,
241
+ "type": "string"
240
242
  },
241
243
  "PHP": {
242
- "type": "string",
243
- "minLength": 1
244
+ "minLength": 1,
245
+ "type": "string"
244
246
  },
245
247
  "PRO": {
246
- "type": "string",
247
- "minLength": 1
248
+ "minLength": 1,
249
+ "type": "string"
248
250
  },
249
251
  "PSA": {
250
- "type": "string",
251
- "minLength": 1
252
+ "minLength": 1,
253
+ "type": "string"
252
254
  },
253
255
  "REV": {
254
- "type": "string",
255
- "minLength": 1
256
+ "minLength": 1,
257
+ "type": "string"
256
258
  },
257
259
  "ROM": {
258
- "type": "string",
259
- "minLength": 1
260
+ "minLength": 1,
261
+ "type": "string"
260
262
  },
261
263
  "RUT": {
262
- "type": "string",
263
- "minLength": 1
264
+ "minLength": 1,
265
+ "type": "string"
264
266
  },
265
267
  "SNG": {
266
- "type": "string",
267
- "minLength": 1
268
+ "minLength": 1,
269
+ "type": "string"
268
270
  },
269
271
  "TIT": {
270
- "type": "string",
271
- "minLength": 1
272
+ "minLength": 1,
273
+ "type": "string"
272
274
  },
273
275
  "ZEC": {
274
- "type": "string",
275
- "minLength": 1
276
+ "minLength": 1,
277
+ "type": "string"
276
278
  },
277
279
  "ZEP": {
278
- "type": "string",
279
- "minLength": 1
280
+ "minLength": 1,
281
+ "type": "string"
280
282
  }
281
283
  },
282
284
  "required": [
@@ -347,13 +349,13 @@
347
349
  "ZEC",
348
350
  "ZEP"
349
351
  ],
350
- "additionalProperties": false,
351
- "description": "Translations for a single language (identified by a 3-letter code)_"
352
- }
352
+ "type": "object"
353
+ },
354
+ "propertyNames": {
355
+ "description": "Language id (3 lowercase letters).",
356
+ "pattern": "^[a-z]{3}$"
357
+ },
358
+ "type": "object"
353
359
  }
354
- },
355
- "required": [
356
- "$schema",
357
- "data"
358
- ]
360
+ }
359
361
  }
@@ -66,5 +66,139 @@ export declare const TranslationsFtb: z.ZodRecord<z.ZodString, z.ZodObject<{
66
66
  TIT: z.ZodString;
67
67
  ZEC: z.ZodString;
68
68
  ZEP: z.ZodString;
69
- }, z.core.$strip>>;
69
+ }, "strip", z.ZodTypeAny, {
70
+ '1CH': string;
71
+ '1CO': string;
72
+ '1JN': string;
73
+ '1KI': string;
74
+ '1PE': string;
75
+ '1SA': string;
76
+ '1TH': string;
77
+ '1TI': string;
78
+ '2CH': string;
79
+ '2CO': string;
80
+ '2JN': string;
81
+ '2KI': string;
82
+ '2PE': string;
83
+ '2SA': string;
84
+ '2TH': string;
85
+ '2TI': string;
86
+ '3JN': string;
87
+ ACT: string;
88
+ AMO: string;
89
+ COL: string;
90
+ DAN: string;
91
+ DEU: string;
92
+ ECC: string;
93
+ EPH: string;
94
+ EST: string;
95
+ EXO: string;
96
+ EZK: string;
97
+ EZR: string;
98
+ GAL: string;
99
+ GEN: string;
100
+ HAB: string;
101
+ HAG: string;
102
+ HEB: string;
103
+ HOS: string;
104
+ ISA: string;
105
+ JAS: string;
106
+ JDG: string;
107
+ JER: string;
108
+ JHN: string;
109
+ JOB: string;
110
+ JOL: string;
111
+ JON: string;
112
+ JOS: string;
113
+ JUD: string;
114
+ LAM: string;
115
+ LEV: string;
116
+ LUK: string;
117
+ MAL: string;
118
+ MAT: string;
119
+ MIC: string;
120
+ MRK: string;
121
+ NAM: string;
122
+ NEH: string;
123
+ NUM: string;
124
+ OBA: string;
125
+ PHM: string;
126
+ PHP: string;
127
+ PRO: string;
128
+ PSA: string;
129
+ REV: string;
130
+ ROM: string;
131
+ RUT: string;
132
+ SNG: string;
133
+ TIT: string;
134
+ ZEC: string;
135
+ ZEP: string;
136
+ }, {
137
+ '1CH': string;
138
+ '1CO': string;
139
+ '1JN': string;
140
+ '1KI': string;
141
+ '1PE': string;
142
+ '1SA': string;
143
+ '1TH': string;
144
+ '1TI': string;
145
+ '2CH': string;
146
+ '2CO': string;
147
+ '2JN': string;
148
+ '2KI': string;
149
+ '2PE': string;
150
+ '2SA': string;
151
+ '2TH': string;
152
+ '2TI': string;
153
+ '3JN': string;
154
+ ACT: string;
155
+ AMO: string;
156
+ COL: string;
157
+ DAN: string;
158
+ DEU: string;
159
+ ECC: string;
160
+ EPH: string;
161
+ EST: string;
162
+ EXO: string;
163
+ EZK: string;
164
+ EZR: string;
165
+ GAL: string;
166
+ GEN: string;
167
+ HAB: string;
168
+ HAG: string;
169
+ HEB: string;
170
+ HOS: string;
171
+ ISA: string;
172
+ JAS: string;
173
+ JDG: string;
174
+ JER: string;
175
+ JHN: string;
176
+ JOB: string;
177
+ JOL: string;
178
+ JON: string;
179
+ JOS: string;
180
+ JUD: string;
181
+ LAM: string;
182
+ LEV: string;
183
+ LUK: string;
184
+ MAL: string;
185
+ MAT: string;
186
+ MIC: string;
187
+ MRK: string;
188
+ NAM: string;
189
+ NEH: string;
190
+ NUM: string;
191
+ OBA: string;
192
+ PHM: string;
193
+ PHP: string;
194
+ PRO: string;
195
+ PSA: string;
196
+ REV: string;
197
+ ROM: string;
198
+ RUT: string;
199
+ SNG: string;
200
+ TIT: string;
201
+ ZEC: string;
202
+ ZEP: string;
203
+ }>>;
70
204
  export type TranslationsFtb = z.infer<typeof TranslationsFtb>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TranslationsFtb = void 0;
4
4
  const zod_1 = require("zod");
5
- exports.TranslationsFtb = zod_1.z.record(zod_1.z.string(), zod_1.z
5
+ exports.TranslationsFtb = zod_1.z.record(zod_1.z
6
6
  .object({
7
7
  '1CH': zod_1.z.string().min(1),
8
8
  '1CO': zod_1.z.string().min(1),
@@ -1,24 +1,35 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "type": "object",
4
+ "required": [
5
+ "$schema",
6
+ "data"
7
+ ],
8
+ "additionalProperties": false,
4
9
  "properties": {
5
10
  "$schema": {
6
- "type": "string"
11
+ "type": "string",
12
+ "description": "Path to the JSON schema file"
7
13
  },
8
14
  "data": {
9
- "$schema": "https://json-schema.org/draft/2020-12/schema",
15
+ "$id": "https://waha_app/schemas/introductionTranslations_schema_json",
16
+ "title": "Introduction Translations",
10
17
  "type": "object",
18
+ "description": "Schema for introductionTranslations_json. Root keys are 3-letter language identifiers (ISO-639 style). Each language object contains an 'introduction' string and an 'introductions' object mapping lesson identifiers (e.g. 03.005.001) or the key 'eq' to localized string content.",
11
19
  "propertyNames": {
12
- "type": "string"
20
+ "pattern": "^[a-z]{3}$",
21
+ "description": "Language id (3 lowercase letters)."
13
22
  },
14
23
  "additionalProperties": {
15
24
  "type": "object",
25
+ "description": "Translations for a single language (identified by a 3-letter code).",
16
26
  "properties": {
17
27
  "introduction": {
18
28
  "type": "string"
19
29
  },
20
30
  "introductions": {
21
31
  "type": "object",
32
+ "description": "Mapping of lesson identifiers (NN.NNN.NNN) or 'eq' to translated strings.",
22
33
  "properties": {
23
34
  "03.005.001": {
24
35
  "type": "string",
@@ -207,23 +218,15 @@
207
218
  "03.007.011",
208
219
  "03.007.012",
209
220
  "eq"
210
- ],
211
- "additionalProperties": false,
212
- "description": "Mapping of lesson identifiers (NN.NNN.NNN) or 'eq' to translated strings."
221
+ ]
213
222
  }
214
223
  },
215
224
  "required": [
216
225
  "introduction",
217
226
  "introductions"
218
227
  ],
219
- "additionalProperties": false,
220
- "description": "Translations for a single language (identified by a 3-letter code)."
221
- },
222
- "description": "Schema for introductionTranslations_json. Root keys are 3-letter language identifiers (ISO-639 style). Each language object contains an 'introduction' string and an 'introductions' object mapping lesson identifiers (e.g. 03.005.001) or the key 'eq' to localized string content."
228
+ "additionalProperties": false
229
+ }
223
230
  }
224
- },
225
- "required": [
226
- "$schema",
227
- "data"
228
- ]
231
+ }
229
232
  }