waha-shared 1.0.167 → 1.0.169

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 (52) hide show
  1. package/dist/data/areas/areas.schema.json +101 -0
  2. package/dist/data/aslTimestamps/aslTimestamps.schema.json +82 -0
  3. package/dist/data/bibleAudios/bibleAudios.schema.json +61 -0
  4. package/dist/data/bibleBooks/bibleBooks.schema.json +124 -0
  5. package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +19 -0
  6. package/dist/data/bibleStatuses/bibleStatuses.json +235 -58
  7. package/dist/data/bibleStatuses/bibleStatuses.schema.json +58 -0
  8. package/dist/data/bibleTexts/bibleTexts.schema.json +74 -0
  9. package/dist/data/clones/clones.schema.json +75 -0
  10. package/dist/data/countries/countries.schema.json +109 -0
  11. package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +56 -0
  12. package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +41 -0
  13. package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +33 -0
  14. package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +47 -0
  15. package/dist/data/curriculumTopics/curriculumTopics.schema.json +33 -0
  16. package/dist/data/dblAudioLicenses/dblAudioLicenses.json +6409 -0
  17. package/dist/data/dblTextLicenses/dblTextLicenses.json +14951 -0
  18. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +19 -0
  19. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +19 -0
  20. package/dist/data/languageAssets/languageAssets.json +499305 -0
  21. package/dist/data/languageAssets/languageAssets.schema.json +25 -0
  22. package/dist/data/languages/languages.json +2 -2
  23. package/dist/data/languages/languages.schema.json +374 -0
  24. package/dist/data/mediaDurations/mediaDurations.json +32 -0
  25. package/dist/data/mediaDurations/mediaDurations.schema.json +27 -0
  26. package/dist/data/notification/notification.schema.json +121 -0
  27. package/dist/data/numeralMaps/numeralMaps.schema.json +80 -0
  28. package/dist/data/orphanedBibleTexts/orphanedBibleTexts.json +2750 -0
  29. package/dist/data/phoneLanguages/phoneLanguages.schema.json +48 -0
  30. package/dist/data/questions/questions.schema.json +52 -0
  31. package/dist/data/releaseNotes/releaseNotes.json +82 -2
  32. package/dist/data/releaseNotes/releaseNotes.schema.json +33 -0
  33. package/dist/data/screenshots/screenshots.schema.json +21 -0
  34. package/dist/data/scripts/scripts.json +20 -0
  35. package/dist/data/scripts/scripts.schema.json +26 -0
  36. package/dist/data/sets/sets.schema.json +135 -0
  37. package/dist/data/specialIds/specialIds.schema.json +132 -0
  38. package/dist/data/translationsApp/translationsApp.json +388 -0
  39. package/dist/data/translationsApp/translationsApp.schema.json +1602 -0
  40. package/dist/data/translationsFtb/translationsFtb.json +68 -0
  41. package/dist/data/translationsFtb/translationsFtb.schema.json +361 -0
  42. package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +232 -0
  43. package/dist/data/translationsQuestion/translationsQuestion.json +32 -0
  44. package/dist/data/translationsQuestion/translationsQuestion.schema.json +35 -0
  45. package/dist/data/translationsSet/translationsSet.json +789 -0
  46. package/dist/data/translationsSet/translationsSet.schema.json +96 -0
  47. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +240 -0
  48. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +32 -0
  49. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +35 -0
  50. package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +18 -0
  51. package/dist/data/youtubeVideos/youtubeVideos.schema.json +18 -0
  52. package/package.json +1 -1
@@ -0,0 +1,58 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "$schema": {
6
+ "type": "string"
7
+ },
8
+ "data": {
9
+ "type": "object",
10
+ "description": "Consolidated bible data containing text chapters, audio chapters, timings, and book names for each translation. Entries can be testament IDs ('OT', 'NT'), book IDs (e.g., 'GEN') for complete books, or chapter IDs (e.g., 'GEN.1') for individual chapters.",
11
+ "patternProperties": {
12
+ "^[A-Z0-9]+$": {
13
+ "type": "object",
14
+ "properties": {
15
+ "text": {
16
+ "type": "array",
17
+ "items": {
18
+ "type": "string",
19
+ "pattern": "^([A-Z0-9]{3}(\\.[0-9]+)?|OT|NT)$"
20
+ }
21
+ },
22
+ "audio": {
23
+ "type": "array",
24
+ "items": {
25
+ "type": "string",
26
+ "pattern": "^([A-Z0-9]{3}(\\.[0-9]+)?|OT|NT)$"
27
+ }
28
+ },
29
+ "timings": {
30
+ "type": "array",
31
+ "items": {
32
+ "type": "string",
33
+ "pattern": "^([A-Z0-9]{3}(\\.[0-9]+)?|OT|NT)$"
34
+ }
35
+ },
36
+ "bookNames": {
37
+ "type": "object",
38
+ "additionalProperties": {
39
+ "type": "string"
40
+ }
41
+ }
42
+ },
43
+ "required": [
44
+ "text",
45
+ "audio",
46
+ "timings",
47
+ "bookNames"
48
+ ],
49
+ "additionalProperties": false
50
+ }
51
+ }
52
+ }
53
+ },
54
+ "required": [
55
+ "$schema",
56
+ "data"
57
+ ]
58
+ }
@@ -0,0 +1,74 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "data": {
5
+ "type": "array",
6
+ "items": {
7
+ "additionalProperties": false,
8
+ "properties": {
9
+ "bibleTextId": {
10
+ "type": "string"
11
+ },
12
+ "name": {
13
+ "description": "The name of the bible translation in its own language.",
14
+ "type": "string"
15
+ },
16
+ "alternativeFull": {
17
+ "description": "If a bible isn't available for the full Bible due to licensing restrictions, define an alternative Bible that does support full Bible here.",
18
+ "type": "string"
19
+ },
20
+ "audioId": {
21
+ "description": "The bibleAudioId of the corresponding audio bible translation, if available.",
22
+ "type": "string"
23
+ },
24
+ "copyright": {
25
+ "description": "The copyright attribution text required to be shown in-app for this translation.",
26
+ "type": "string"
27
+ },
28
+ "copyrightImage": {
29
+ "description": "The image to display with the copyright.",
30
+ "type": "string"
31
+ },
32
+ "languageId": {
33
+ "description": "The language of the translation.",
34
+ "pattern": "^[a-z]{3}$",
35
+ "type": "string"
36
+ },
37
+ "nameEnglish": {
38
+ "description": "The name of the bible translation in English.",
39
+ "type": "string"
40
+ },
41
+ "textSource": {
42
+ "additionalProperties": false,
43
+ "description": "Information about how to retrieve the text. Ideally, text is available on the DBL via API.Bible when the license is granted, but there are a few other options. We have access to translations available on BibleBrain as well as being able to parse USFX files. Some translations may be available on the YouVersion Platform (yvp). If none of these work, 'custom' can be used and some custom code added to leviathan to retrieve and parse the text.",
44
+ "properties": {
45
+ "includeSectionTitles": {
46
+ "description": "Whether or not to include section titles in the text.",
47
+ "type": "boolean"
48
+ },
49
+ "source": {
50
+ "enum": [
51
+ "dbl",
52
+ "bibleBrain",
53
+ "usfm",
54
+ "usfx",
55
+ "yvp",
56
+ "custom",
57
+ "usx"
58
+ ]
59
+ },
60
+ "sourceId": {
61
+ "type": "string"
62
+ }
63
+ },
64
+ "required": ["source"],
65
+ "type": "object"
66
+ }
67
+ },
68
+ "required": ["bibleTextId", "textSource", "name", "languageId"],
69
+ "type": "object"
70
+ }
71
+ }
72
+ },
73
+ "required": ["$schema", "data"]
74
+ }
@@ -0,0 +1,75 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "$schema": {
6
+ "type": "string"
7
+ },
8
+ "data": {
9
+ "additionalProperties": false,
10
+ "items": {
11
+ "additionalProperties": false,
12
+ "properties": {
13
+ "appId": {
14
+ "pattern": "^[a-z]*$",
15
+ "type": "string"
16
+ },
17
+ "appIdCaps": {
18
+ "pattern": "^[A-Z]*$",
19
+ "type": "string"
20
+ },
21
+ "appName": {
22
+ "type": "string"
23
+ },
24
+ "color": {
25
+ "pattern": "^#[0-9A-Fa-f]{6}$",
26
+ "type": "string"
27
+ },
28
+ "icon": {
29
+ "pattern": "^src\\/assets\\/clones/[A-Za-z\\-\\_]*\\.png$",
30
+ "type": "string"
31
+ },
32
+ "iconNoBg": {
33
+ "pattern": "^src\\/assets\\/clones/[A-Za-z\\-\\_]*\\.png$",
34
+ "type": "string"
35
+ },
36
+ "languages": {
37
+ "items": {
38
+ "pattern": "^[a-z]{3}$",
39
+ "type": "string"
40
+ }
41
+ },
42
+ "linkAndroid": {
43
+ "description": "URL to the app in the Google Play Store. Just `https://play.google.com/store/apps/details?id=com.kingdomstrategies.` + the clone appId.",
44
+ "type": "string"
45
+ },
46
+ "linkIos": {
47
+ "description": "URL to the app in the Apple App Store. After creating app on ASC, go to App Store Connect > App Information > Additional Information > App Store ID.",
48
+ "type": "string"
49
+ },
50
+ "removeTraining": {
51
+ "description": "If true, the training section and content will be removed from the clone.",
52
+ "type": "boolean"
53
+ }
54
+ },
55
+ "required": [
56
+ "appId",
57
+ "appIdCaps",
58
+ "appName",
59
+ "icon",
60
+ "removeTraining",
61
+ "iconNoBg",
62
+ "color",
63
+ "linkIos",
64
+ "linkAndroid"
65
+ ],
66
+ "type": "object"
67
+ },
68
+ "type": "array"
69
+ }
70
+ },
71
+ "required": [
72
+ "$schema",
73
+ "data"
74
+ ]
75
+ }
@@ -0,0 +1,109 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "$schema": {
6
+ "type": "string"
7
+ },
8
+ "data": {
9
+ "title": "Countries",
10
+ "additionalProperties": false,
11
+ "description": "A mapping of country codes to country information including name, area, and bounding box coordinates",
12
+ "patternProperties": {
13
+ "^[A-Z]{2}$": {
14
+ "additionalProperties": false,
15
+ "properties": {
16
+ "name": {
17
+ "description": "The display name of the country",
18
+ "type": "string"
19
+ },
20
+ "areaId": {
21
+ "description": "The geographical area identifier",
22
+ "enum": [
23
+ "north-america",
24
+ "latin-america-caribbean",
25
+ "sub-saharan-africa",
26
+ "middle-east-north-africa",
27
+ "western-asia",
28
+ "western-europe",
29
+ "eastern-europe",
30
+ "southern-asia",
31
+ "central-asia",
32
+ "eastern-asia",
33
+ "southeast-asia",
34
+ "oceania"
35
+ ],
36
+ "type": "string"
37
+ },
38
+ "boundingBox": {
39
+ "additionalProperties": false,
40
+ "description": "Bounding box coordinates for the country",
41
+ "properties": {
42
+ "ne": {
43
+ "additionalProperties": false,
44
+ "properties": {
45
+ "lat": {
46
+ "description": "Northeast latitude coordinate",
47
+ "maximum": 90,
48
+ "minimum": -90,
49
+ "type": "number"
50
+ },
51
+ "lon": {
52
+ "description": "Northeast longitude coordinate",
53
+ "maximum": 180,
54
+ "minimum": -180,
55
+ "type": "number"
56
+ }
57
+ },
58
+ "required": [
59
+ "lat",
60
+ "lon"
61
+ ],
62
+ "type": "object"
63
+ },
64
+ "sw": {
65
+ "additionalProperties": false,
66
+ "properties": {
67
+ "lat": {
68
+ "description": "Southwest latitude coordinate",
69
+ "maximum": 90,
70
+ "minimum": -90,
71
+ "type": "number"
72
+ },
73
+ "lon": {
74
+ "description": "Southwest longitude coordinate",
75
+ "maximum": 180,
76
+ "minimum": -180,
77
+ "type": "number"
78
+ }
79
+ },
80
+ "required": [
81
+ "lat",
82
+ "lon"
83
+ ],
84
+ "type": "object"
85
+ }
86
+ },
87
+ "required": [
88
+ "sw",
89
+ "ne"
90
+ ],
91
+ "type": "object"
92
+ }
93
+ },
94
+ "required": [
95
+ "name",
96
+ "areaId",
97
+ "boundingBox"
98
+ ],
99
+ "type": "object"
100
+ }
101
+ },
102
+ "type": "object"
103
+ }
104
+ },
105
+ "required": [
106
+ "$schema",
107
+ "data"
108
+ ]
109
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "$schema": {
6
+ "type": "string"
7
+ },
8
+ "data": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "object",
12
+ "additionalProperties": false,
13
+ "properties": {
14
+ "countryCode": {
15
+ "type": "string",
16
+ "description": "Two-letter ISO 3166-1 alpha-2 country code"
17
+ },
18
+ "countryName": {
19
+ "type": "string",
20
+ "description": "English name of the country"
21
+ },
22
+ "population": {
23
+ "type": "number",
24
+ "description": "Total population of the country"
25
+ },
26
+ "languages": {
27
+ "type": "array",
28
+ "description": "Languages spoken in this country",
29
+ "items": {
30
+ "type": "object",
31
+ "additionalProperties": false,
32
+ "properties": {
33
+ "languageId": {
34
+ "type": "string",
35
+ "description": "Three-letter ISO 639-3 language code"
36
+ },
37
+ "languageName": {
38
+ "type": "string",
39
+ "description": "English name of the language"
40
+ },
41
+ "numSpeakers": {
42
+ "type": "number",
43
+ "description": "Number of speakers of this language in this country"
44
+ }
45
+ },
46
+ "required": ["languageId", "languageName", "numSpeakers"]
47
+ }
48
+ }
49
+ },
50
+ "required": ["countryCode", "countryName", "languages"]
51
+ }
52
+ }
53
+ },
54
+ "required": ["data"],
55
+ "description": "Mapping of countries to languages spoken within them"
56
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "$schema": {
6
+ "type": "string"
7
+ },
8
+ "data": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "object",
12
+ "additionalProperties": false,
13
+ "properties": {
14
+ "crowdin_id": {
15
+ "type": "string",
16
+ "description": "Crowdin language identifier"
17
+ },
18
+ "name": {
19
+ "type": "string",
20
+ "description": "English name of the language"
21
+ },
22
+ "iso": {
23
+ "type": "string",
24
+ "description": "ISO 639-3 language code"
25
+ },
26
+ "locale": {
27
+ "type": "string",
28
+ "description": "Locale code in format language-COUNTRY"
29
+ },
30
+ "duplicate_iso": {
31
+ "type": "boolean",
32
+ "description": "Whether this ISO code is duplicated across multiple Crowdin languages"
33
+ }
34
+ },
35
+ "required": ["crowdin_id", "name", "iso", "locale", "duplicate_iso"]
36
+ }
37
+ }
38
+ },
39
+ "required": ["data"],
40
+ "description": "Mapping of Crowdin language identifiers to ISO codes and locales"
41
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "$schema": {
6
+ "type": "string"
7
+ },
8
+ "data": {
9
+ "items": {
10
+ "additionalProperties": false,
11
+ "properties": {
12
+ "curriculumId": {
13
+ "type": "string"
14
+ },
15
+ "crowdinProjectId": {
16
+ "type": "string"
17
+ },
18
+ "sets": {
19
+ "description": "An array of set ids that make up this foundations curriculum. Set ids must be linked to valid sets present in data/sets.json.",
20
+ "items": {
21
+ "type": "string"
22
+ },
23
+ "type": "array"
24
+ }
25
+ },
26
+ "required": ["curriculumId", "crowdinProjectId", "sets"],
27
+ "type": "object"
28
+ },
29
+ "type": "array"
30
+ }
31
+ },
32
+ "required": ["$schema", "data"]
33
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "$schema": {
6
+ "type": "string"
7
+ },
8
+ "data": {
9
+ "items": {
10
+ "additionalProperties": false,
11
+ "properties": {
12
+ "curriculumId": {
13
+ "type": "string"
14
+ },
15
+ "crowdinProjectId": {
16
+ "type": "string"
17
+ },
18
+ "questionSets": {
19
+ "description": "An array of question sets that make up this questions curriculum.",
20
+ "items": {
21
+ "additionalProperties": false,
22
+ "properties": {
23
+ "questionSetId": {
24
+ "type": "string"
25
+ },
26
+ "questions": {
27
+ "description": "An array of question ids that make up this question set.",
28
+ "items": {
29
+ "type": "string"
30
+ },
31
+ "type": "array"
32
+ }
33
+ },
34
+ "required": ["questionSetId", "questions"],
35
+ "type": "object"
36
+ },
37
+ "type": "array"
38
+ }
39
+ },
40
+ "required": ["curriculumId", "crowdinProjectId", "questionSets"],
41
+ "type": "object"
42
+ },
43
+ "type": "array"
44
+ }
45
+ },
46
+ "required": ["$schema", "data"]
47
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "$schema": {
6
+ "type": "string"
7
+ },
8
+ "data": {
9
+ "items": {
10
+ "additionalProperties": false,
11
+ "properties": {
12
+ "curriculumId": {
13
+ "type": "string"
14
+ },
15
+ "crowdinProjectId": {
16
+ "type": "string"
17
+ },
18
+ "sets": {
19
+ "description": "An array of set ids that make up this topics curriculum. Set ids must be linked to valid sets present in data/sets.json.",
20
+ "items": {
21
+ "type": "string"
22
+ },
23
+ "type": "array"
24
+ }
25
+ },
26
+ "required": ["curriculumId", "crowdinProjectId", "sets"],
27
+ "type": "object"
28
+ },
29
+ "type": "array"
30
+ }
31
+ },
32
+ "required": ["$schema", "data"]
33
+ }