waha-shared 1.0.165 → 1.0.167

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 (43) hide show
  1. package/package.json +1 -1
  2. package/dist/data/areas/areas.schema.json +0 -101
  3. package/dist/data/aslTimestamps/aslTimestamps.schema.json +0 -82
  4. package/dist/data/bibleAudios/bibleAudios.schema.json +0 -61
  5. package/dist/data/bibleBooks/bibleBooks.schema.json +0 -124
  6. package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +0 -19
  7. package/dist/data/bibleStatuses/bibleStatuses.schema.json +0 -58
  8. package/dist/data/bibleTexts/bibleTexts.schema.json +0 -74
  9. package/dist/data/clones/clones.schema.json +0 -75
  10. package/dist/data/countries/countries.schema.json +0 -109
  11. package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +0 -56
  12. package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +0 -41
  13. package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +0 -33
  14. package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +0 -47
  15. package/dist/data/curriculumTopics/curriculumTopics.schema.json +0 -33
  16. package/dist/data/dblAudioLicenses/dblAudioLicenses.json +0 -6409
  17. package/dist/data/dblTextLicenses/dblTextLicenses.json +0 -14951
  18. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +0 -19
  19. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +0 -19
  20. package/dist/data/languageAssets/languageAssets.json +0 -282955
  21. package/dist/data/languageAssets/languageAssets.schema.json +0 -25
  22. package/dist/data/languages/languages.schema.json +0 -374
  23. package/dist/data/mediaDurations/mediaDurations.schema.json +0 -27
  24. package/dist/data/notification/notification.schema.json +0 -121
  25. package/dist/data/numeralMaps/numeralMaps.schema.json +0 -80
  26. package/dist/data/orphanedBibleTexts/orphanedBibleTexts.json +0 -2750
  27. package/dist/data/phoneLanguages/phoneLanguages.schema.json +0 -48
  28. package/dist/data/questions/questions.schema.json +0 -52
  29. package/dist/data/releaseNotes/releaseNotes.schema.json +0 -33
  30. package/dist/data/screenshots/screenshots.schema.json +0 -21
  31. package/dist/data/scripts/scripts.json +0 -20
  32. package/dist/data/scripts/scripts.schema.json +0 -26
  33. package/dist/data/sets/sets.schema.json +0 -135
  34. package/dist/data/specialIds/specialIds.schema.json +0 -132
  35. package/dist/data/translationsApp/translationsApp.schema.json +0 -1602
  36. package/dist/data/translationsFtb/translationsFtb.schema.json +0 -361
  37. package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +0 -232
  38. package/dist/data/translationsQuestion/translationsQuestion.schema.json +0 -35
  39. package/dist/data/translationsSet/translationsSet.schema.json +0 -96
  40. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +0 -240
  41. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +0 -35
  42. package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +0 -18
  43. package/dist/data/youtubeVideos/youtubeVideos.schema.json +0 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waha-shared",
3
- "version": "1.0.165",
3
+ "version": "1.0.167",
4
4
  "author": "Waha",
5
5
  "dependencies": {
6
6
  "@types/signale": "^1.4.7",
@@ -1,101 +0,0 @@
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": "Geographic Areas Schema",
10
- "$id": "https://waha-app.com/schemas/areas.json",
11
- "description": "Schema for geographic areas with coordinates and metadata",
12
- "examples": [
13
- [
14
- {
15
- "name": "North America",
16
- "id": "north-america",
17
- "lat": 35,
18
- "lng": -70
19
- },
20
- {
21
- "name": "Western Europe",
22
- "id": "western-europe",
23
- "lat": 48.8566,
24
- "lng": 2.3522
25
- }
26
- ]
27
- ],
28
- "items": {
29
- "title": "Area",
30
- "additionalProperties": false,
31
- "description": "A geographic area with identification, coordinates, and display information",
32
- "properties": {
33
- "name": {
34
- "description": "Human-readable display name for the area",
35
- "examples": [
36
- "North America",
37
- "Latin America and the Caribbean",
38
- "Western Europe"
39
- ],
40
- "minLength": 1,
41
- "type": "string"
42
- },
43
- "id": {
44
- "description": "The geographical area identifier",
45
- "enum": [
46
- "north-america",
47
- "latin-america-caribbean",
48
- "sub-saharan-africa",
49
- "middle-east-north-africa",
50
- "western-asia",
51
- "western-europe",
52
- "eastern-europe",
53
- "southern-asia",
54
- "central-asia",
55
- "eastern-asia",
56
- "southeast-asia",
57
- "oceania"
58
- ],
59
- "type": "string"
60
- },
61
- "lat": {
62
- "description": "Latitude coordinate for the area center point",
63
- "examples": [
64
- 35,
65
- -14.235,
66
- 48.8566
67
- ],
68
- "maximum": 90,
69
- "minimum": -90,
70
- "type": "number"
71
- },
72
- "lng": {
73
- "description": "Longitude coordinate for the area center point",
74
- "examples": [
75
- -70,
76
- -51.9253,
77
- 2.3522
78
- ],
79
- "maximum": 180,
80
- "minimum": -180,
81
- "type": "number"
82
- }
83
- },
84
- "required": [
85
- "id",
86
- "lat",
87
- "lng",
88
- "name"
89
- ],
90
- "type": "object"
91
- },
92
- "minItems": 1,
93
- "type": "array",
94
- "uniqueItems": true
95
- }
96
- },
97
- "required": [
98
- "$schema",
99
- "data"
100
- ]
101
- }
@@ -1,82 +0,0 @@
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
- "bookId": {
13
- "type": "string",
14
- "description": "The book ID (e.g., GEN, EXO)"
15
- },
16
- "chapters": {
17
- "type": "array",
18
- "items": {
19
- "type": "integer"
20
- },
21
- "minItems": 2,
22
- "maxItems": 2,
23
- "description": "The start and end chapter numbers for this section"
24
- },
25
- "section": {
26
- "type": "array",
27
- "items": {
28
- "type": "string"
29
- },
30
- "minItems": 2,
31
- "maxItems": 2,
32
- "description": "The start and end verse IDs for this section (e.g., GEN.1.1, GEN.2.4)"
33
- },
34
- "verses": {
35
- "type": "array",
36
- "items": {
37
- "additionalProperties": false,
38
- "properties": {
39
- "chapter": {
40
- "type": "integer",
41
- "description": "The chapter number"
42
- },
43
- "timestamp": {
44
- "type": "number",
45
- "description": "The timestamp in seconds for this verse"
46
- },
47
- "verse": {
48
- "type": "integer",
49
- "description": "The verse number"
50
- },
51
- "verseId": {
52
- "type": "string",
53
- "description": "The verse ID (e.g., GEN.1.1)"
54
- }
55
- },
56
- "required": [
57
- "chapter",
58
- "timestamp",
59
- "verse",
60
- "verseId"
61
- ],
62
- "type": "object"
63
- },
64
- "description": "Array of verse timing information"
65
- }
66
- },
67
- "required": [
68
- "bookId",
69
- "chapters",
70
- "section",
71
- "verses"
72
- ],
73
- "type": "object"
74
- },
75
- "type": "array"
76
- }
77
- },
78
- "required": [
79
- "$schema",
80
- "data"
81
- ]
82
- }
@@ -1,61 +0,0 @@
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
- "bibleAudioId": {
13
- "type": "string"
14
- },
15
- "audioSource": {
16
- "additionalProperties": false,
17
- "description": "The best place to get audio bible chapters for this bible translation. Audio is hopefully available on the DBL via API.Bible when the license is granted. If not, it may be available on YouVersion. If not, the license holder may provide the audio. If not, the audio may be available to be scraped somewhere on the internet. For the last 2 options, use `custom`.",
18
- "properties": {
19
- "source": {
20
- "enum": [
21
- "dbl",
22
- "youVersion",
23
- "bibleBrain",
24
- "custom"
25
- ]
26
- },
27
- "sourceId": {
28
- "type": "string"
29
- }
30
- },
31
- "required": [
32
- "source"
33
- ]
34
- },
35
- "canDownload": {
36
- "description": "Whether or not the audio can be downloaded for offline use on the web. Most likely false, unless the translation is creative commons.",
37
- "type": "boolean"
38
- },
39
- "copyright": {
40
- "description": "Any copyright attribution text required to be added to the app for this translation for legal purposes.",
41
- "type": "string"
42
- },
43
- "disableStar": {
44
- "description": "Star refers to adding a <star> string before the first line passed to mms forced alignment. Disabling it means that there is not any content read out before the start of verse 1. Most translations read out names of chapters or section headings, which is why adding <star> is the default behavior."
45
- }
46
- },
47
- "required": [
48
- "bibleAudioId",
49
- "audioSource",
50
- "canDownload"
51
- ],
52
- "type": "object"
53
- },
54
- "type": "array"
55
- }
56
- },
57
- "required": [
58
- "$schema",
59
- "data"
60
- ]
61
- }
@@ -1,124 +0,0 @@
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
- "properties": {
11
- "name": {
12
- "description": "The name of the book.",
13
- "type": "string"
14
- },
15
- "title": {
16
- "description": "The title of the book.",
17
- "type": "string"
18
- },
19
- "bookId": {
20
- "description": "The book identifier from the second JSON file.",
21
- "type": "string"
22
- },
23
- "chapters": {
24
- "description": "An array of chapter identifiers for the book.",
25
- "items": {
26
- "properties": {
27
- "id": {
28
- "type": "string"
29
- },
30
- "verses": {
31
- "type": "number"
32
- }
33
- },
34
- "required": [
35
- "id",
36
- "verses"
37
- ],
38
- "type": "object"
39
- },
40
- "type": "array"
41
- },
42
- "englishDivision": {
43
- "description": "The English division of the book (e.g., 'Pentateuch', 'Wisdom').",
44
- "type": "string"
45
- },
46
- "hebrewDivision": {
47
- "description": "The Hebrew division of the book (e.g., 'Torah', 'Ketuvim').",
48
- "type": [
49
- "string",
50
- "null"
51
- ]
52
- },
53
- "hebrewOrder": {
54
- "description": "The order of the book in the Hebrew Bible.",
55
- "type": [
56
- "integer",
57
- "null"
58
- ]
59
- },
60
- "isNt": {
61
- "description": "Indicates if the book is in the New Testament.",
62
- "type": "boolean"
63
- },
64
- "lowercase": {
65
- "description": "The lowercase title of the book.",
66
- "type": "string"
67
- },
68
- "lowercase_dashes": {
69
- "description": "The lowercase title of the book with dashes.",
70
- "type": "string"
71
- },
72
- "number": {
73
- "description": "The numeric order of the book in the Bible.",
74
- "type": "integer"
75
- },
76
- "order": {
77
- "description": "The order of the book in the Bible.",
78
- "type": "integer"
79
- },
80
- "testament": {
81
- "description": "The testament of the book ('old' or 'new').",
82
- "type": "string"
83
- },
84
- "title_dashes": {
85
- "description": "The title of the book with dashes.",
86
- "type": "string"
87
- },
88
- "usfm": {
89
- "description": "The USFM code for the book.",
90
- "type": "string"
91
- },
92
- "nameAlternates": {
93
- "description": "Alternative names for the book.",
94
- "type": "array",
95
- "items": {
96
- "type": "string"
97
- }
98
- }
99
- },
100
- "required": [
101
- "isNt",
102
- "lowercase",
103
- "lowercase_dashes",
104
- "number",
105
- "title",
106
- "title_dashes",
107
- "usfm",
108
- "bookId",
109
- "chapters",
110
- "englishDivision",
111
- "name",
112
- "order",
113
- "testament"
114
- ],
115
- "type": "object"
116
- },
117
- "type": "array"
118
- }
119
- },
120
- "required": [
121
- "$schema",
122
- "data"
123
- ]
124
- }
@@ -1,19 +0,0 @@
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": "string",
12
- "description": "Chapter ID in format BOOK.CHAPTER (e.g., GEN.1)"
13
- },
14
- "description": "List of all Bible chapter IDs"
15
- }
16
- },
17
- "required": ["data"],
18
- "description": "Complete list of Bible chapter identifiers"
19
- }
@@ -1,58 +0,0 @@
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
- }
@@ -1,74 +0,0 @@
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
- }
@@ -1,75 +0,0 @@
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
- }