@keymanapp/common-types 18.0.41-alpha → 18.0.46-alpha

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 (189) hide show
  1. package/build/src/consts/virtual-key-constants.d.ts +191 -191
  2. package/build/src/consts/virtual-key-constants.js +221 -221
  3. package/build/src/consts/virtual-key-constants.js.map +1 -1
  4. package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.d.ts +5 -5
  5. package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.js +72 -72
  6. package/build/src/keyman-touch-layout/keyman-touch-layout-file-reader.js.map +1 -1
  7. package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.d.ts +28 -28
  8. package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.js +120 -120
  9. package/build/src/keyman-touch-layout/keyman-touch-layout-file-writer.js.map +1 -1
  10. package/build/src/keyman-touch-layout/keyman-touch-layout-file.d.ts +95 -95
  11. package/build/src/keyman-touch-layout/keyman-touch-layout-file.js +52 -52
  12. package/build/src/kmx/element-string.d.ts +23 -23
  13. package/build/src/kmx/element-string.js +125 -125
  14. package/build/src/kmx/element-string.js.map +1 -1
  15. package/build/src/kmx/keyman-targets.d.ts +20 -20
  16. package/build/src/kmx/keyman-targets.js +79 -79
  17. package/build/src/kmx/keyman-targets.js.map +1 -1
  18. package/build/src/kmx/kmx-builder.d.ts +32 -32
  19. package/build/src/kmx/kmx-builder.js +189 -189
  20. package/build/src/kmx/kmx-builder.js.map +1 -1
  21. package/build/src/kmx/kmx-file-reader.d.ts +13 -13
  22. package/build/src/kmx/kmx-file-reader.js +134 -134
  23. package/build/src/kmx/kmx-file-reader.js.map +1 -1
  24. package/build/src/kmx/kmx-plus-builder/build-disp.d.ts +18 -18
  25. package/build/src/kmx/kmx-plus-builder/build-disp.js +27 -27
  26. package/build/src/kmx/kmx-plus-builder/build-disp.js.map +1 -1
  27. package/build/src/kmx/kmx-plus-builder/build-elem.d.ts +28 -28
  28. package/build/src/kmx/kmx-plus-builder/build-elem.js +89 -89
  29. package/build/src/kmx/kmx-plus-builder/build-elem.js.map +1 -1
  30. package/build/src/kmx/kmx-plus-builder/build-keys.d.ts +56 -56
  31. package/build/src/kmx/kmx-plus-builder/build-keys.js +107 -107
  32. package/build/src/kmx/kmx-plus-builder/build-keys.js.map +1 -1
  33. package/build/src/kmx/kmx-plus-builder/build-layr.d.ts +53 -53
  34. package/build/src/kmx/kmx-plus-builder/build-layr.js +101 -101
  35. package/build/src/kmx/kmx-plus-builder/build-layr.js.map +1 -1
  36. package/build/src/kmx/kmx-plus-builder/build-list.d.ts +35 -35
  37. package/build/src/kmx/kmx-plus-builder/build-list.js +66 -66
  38. package/build/src/kmx/kmx-plus-builder/build-list.js.map +1 -1
  39. package/build/src/kmx/kmx-plus-builder/build-loca.d.ts +11 -11
  40. package/build/src/kmx/kmx-plus-builder/build-loca.js +21 -21
  41. package/build/src/kmx/kmx-plus-builder/build-loca.js.map +1 -1
  42. package/build/src/kmx/kmx-plus-builder/build-meta.d.ts +16 -16
  43. package/build/src/kmx/kmx-plus-builder/build-meta.js +20 -20
  44. package/build/src/kmx/kmx-plus-builder/build-sect.d.ts +15 -15
  45. package/build/src/kmx/kmx-plus-builder/build-sect.js +15 -15
  46. package/build/src/kmx/kmx-plus-builder/build-sect.js.map +1 -1
  47. package/build/src/kmx/kmx-plus-builder/build-strs.d.ts +22 -22
  48. package/build/src/kmx/kmx-plus-builder/build-strs.js +46 -46
  49. package/build/src/kmx/kmx-plus-builder/build-strs.js.map +1 -1
  50. package/build/src/kmx/kmx-plus-builder/build-tran.d.ts +32 -32
  51. package/build/src/kmx/kmx-plus-builder/build-tran.js +69 -69
  52. package/build/src/kmx/kmx-plus-builder/build-tran.js.map +1 -1
  53. package/build/src/kmx/kmx-plus-builder/build-uset.d.ts +30 -30
  54. package/build/src/kmx/kmx-plus-builder/build-uset.js +60 -60
  55. package/build/src/kmx/kmx-plus-builder/build-uset.js.map +1 -1
  56. package/build/src/kmx/kmx-plus-builder/build-vars.d.ts +21 -21
  57. package/build/src/kmx/kmx-plus-builder/build-vars.js +48 -48
  58. package/build/src/kmx/kmx-plus-builder/build-vars.js.map +1 -1
  59. package/build/src/kmx/kmx-plus-builder/builder-section.d.ts +9 -9
  60. package/build/src/kmx/kmx-plus-builder/builder-section.js +2 -2
  61. package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.d.ts +42 -42
  62. package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.js +137 -137
  63. package/build/src/kmx/kmx-plus-builder/kmx-plus-builder.js.map +1 -1
  64. package/build/src/kmx/kmx-plus.d.ts +322 -322
  65. package/build/src/kmx/kmx-plus.js +830 -830
  66. package/build/src/kmx/kmx-plus.js.map +1 -1
  67. package/build/src/kmx/kmx.d.ts +233 -233
  68. package/build/src/kmx/kmx.js +302 -302
  69. package/build/src/kmx/kmx.js.map +1 -1
  70. package/build/src/kmx/string-list.d.ts +35 -35
  71. package/build/src/kmx/string-list.js +88 -88
  72. package/build/src/kmx/string-list.js.map +1 -1
  73. package/build/src/kpj/keyman-developer-project.d.ts +78 -78
  74. package/build/src/kpj/keyman-developer-project.js +195 -195
  75. package/build/src/kpj/keyman-developer-project.js.map +1 -1
  76. package/build/src/kpj/kpj-file-reader.d.ts +18 -18
  77. package/build/src/kpj/kpj-file-reader.js +119 -119
  78. package/build/src/kpj/kpj-file-reader.js.map +1 -1
  79. package/build/src/kpj/kpj-file.d.ts +39 -39
  80. package/build/src/kpj/kpj-file.js +10 -10
  81. package/build/src/kvk/kvk-file-reader.d.ts +4 -4
  82. package/build/src/kvk/kvk-file-reader.js +37 -37
  83. package/build/src/kvk/kvk-file-reader.js.map +1 -1
  84. package/build/src/kvk/kvk-file-writer.d.ts +19 -19
  85. package/build/src/kvk/kvk-file-writer.js +77 -77
  86. package/build/src/kvk/kvk-file-writer.js.map +1 -1
  87. package/build/src/kvk/kvk-file.d.ts +66 -66
  88. package/build/src/kvk/kvk-file.d.ts.map +1 -1
  89. package/build/src/kvk/kvk-file.js +90 -90
  90. package/build/src/kvk/kvk-file.js.map +1 -1
  91. package/build/src/kvk/kvks-file-reader.d.ts +23 -23
  92. package/build/src/kvk/kvks-file-reader.js +175 -175
  93. package/build/src/kvk/kvks-file-reader.js.map +1 -1
  94. package/build/src/kvk/kvks-file-writer.d.ts +6 -6
  95. package/build/src/kvk/kvks-file-writer.js +106 -106
  96. package/build/src/kvk/kvks-file-writer.js.map +1 -1
  97. package/build/src/kvk/kvks-file.d.ts +43 -43
  98. package/build/src/kvk/kvks-file.js +9 -9
  99. package/build/src/kvk/visual-keyboard.d.ts +44 -44
  100. package/build/src/kvk/visual-keyboard.js +75 -75
  101. package/build/src/kvk/visual-keyboard.js.map +1 -1
  102. package/build/src/ldml-keyboard/ldml-keyboard-testdata-xml.d.ts +60 -60
  103. package/build/src/ldml-keyboard/ldml-keyboard-testdata-xml.js +19 -19
  104. package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.d.ts +95 -95
  105. package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.js +409 -409
  106. package/build/src/ldml-keyboard/ldml-keyboard-xml-reader.js.map +1 -1
  107. package/build/src/ldml-keyboard/ldml-keyboard-xml.d.ts +170 -170
  108. package/build/src/ldml-keyboard/ldml-keyboard-xml.js +55 -55
  109. package/build/src/ldml-keyboard/pattern-parser.d.ts +201 -201
  110. package/build/src/ldml-keyboard/pattern-parser.js +490 -490
  111. package/build/src/ldml-keyboard/pattern-parser.js.map +1 -1
  112. package/build/src/ldml-keyboard/unicodeset-parser-api.d.ts +37 -37
  113. package/build/src/ldml-keyboard/unicodeset-parser-api.js +27 -27
  114. package/build/src/main.d.ts +33 -33
  115. package/build/src/main.js +32 -32
  116. package/build/src/package/kmp-json-file.d.ts +115 -115
  117. package/build/src/package/kmp-json-file.js +1 -1
  118. package/build/src/package/kps-file.d.ts +175 -175
  119. package/build/src/package/kps-file.js +15 -15
  120. package/build/src/schema-validators.d.ts +13 -13
  121. package/build/src/schema-validators.js +25 -25
  122. package/build/src/schemas/displaymap.schema.d.ts +57 -57
  123. package/build/src/schemas/displaymap.schema.js +35 -35
  124. package/build/src/schemas/displaymap.schema.validator.d.mts +2 -2
  125. package/build/src/schemas/displaymap.schema.validator.mjs +266 -266
  126. package/build/src/schemas/displaymap.schema.validator.mjs.map +1 -1
  127. package/build/src/schemas/keyboard_info.schema.d.ts +209 -209
  128. package/build/src/schemas/keyboard_info.schema.js +98 -98
  129. package/build/src/schemas/keyboard_info.schema.validator.d.mts +2 -2
  130. package/build/src/schemas/keyboard_info.schema.validator.mjs +1160 -1160
  131. package/build/src/schemas/keyboard_info.schema.validator.mjs.map +1 -1
  132. package/build/src/schemas/keyman-touch-layout.clean.spec.d.ts +227 -227
  133. package/build/src/schemas/keyman-touch-layout.clean.spec.js +151 -151
  134. package/build/src/schemas/keyman-touch-layout.clean.spec.validator.d.mts +2 -2
  135. package/build/src/schemas/keyman-touch-layout.clean.spec.validator.mjs +1094 -1094
  136. package/build/src/schemas/keyman-touch-layout.clean.spec.validator.mjs.map +1 -1
  137. package/build/src/schemas/keyman-touch-layout.spec.d.ts +229 -229
  138. package/build/src/schemas/keyman-touch-layout.spec.js +140 -140
  139. package/build/src/schemas/keyman-touch-layout.spec.validator.d.mts +2 -2
  140. package/build/src/schemas/keyman-touch-layout.spec.validator.mjs +1436 -1436
  141. package/build/src/schemas/keyman-touch-layout.spec.validator.mjs.map +1 -1
  142. package/build/src/schemas/kmp.schema.d.ts +324 -324
  143. package/build/src/schemas/kmp.schema.js +353 -353
  144. package/build/src/schemas/kmp.schema.validator.d.mts +2 -2
  145. package/build/src/schemas/kmp.schema.validator.mjs +1627 -1627
  146. package/build/src/schemas/kmp.schema.validator.mjs.map +1 -1
  147. package/build/src/schemas/kpj-9.0.schema.d.ts +152 -152
  148. package/build/src/schemas/kpj-9.0.schema.js +131 -131
  149. package/build/src/schemas/kpj-9.0.schema.validator.d.mts +2 -2
  150. package/build/src/schemas/kpj-9.0.schema.validator.mjs +655 -655
  151. package/build/src/schemas/kpj-9.0.schema.validator.mjs.map +1 -1
  152. package/build/src/schemas/kpj.schema.d.ts +122 -122
  153. package/build/src/schemas/kpj.schema.js +129 -129
  154. package/build/src/schemas/kpj.schema.validator.d.mts +2 -2
  155. package/build/src/schemas/kpj.schema.validator.mjs +515 -515
  156. package/build/src/schemas/kpj.schema.validator.mjs.map +1 -1
  157. package/build/src/schemas/kvks.schema.d.ts +160 -160
  158. package/build/src/schemas/kvks.schema.js +182 -182
  159. package/build/src/schemas/kvks.schema.validator.d.mts +2 -2
  160. package/build/src/schemas/kvks.schema.validator.mjs +625 -625
  161. package/build/src/schemas/kvks.schema.validator.mjs.map +1 -1
  162. package/build/src/schemas/ldml-keyboard3.schema.d.ts +635 -635
  163. package/build/src/schemas/ldml-keyboard3.schema.js +696 -696
  164. package/build/src/schemas/ldml-keyboard3.schema.validator.d.mts +2 -2
  165. package/build/src/schemas/ldml-keyboard3.schema.validator.mjs +3117 -3117
  166. package/build/src/schemas/ldml-keyboard3.schema.validator.mjs.map +1 -1
  167. package/build/src/schemas/ldml-keyboardtest3.schema.d.ts +192 -192
  168. package/build/src/schemas/ldml-keyboardtest3.schema.js +225 -225
  169. package/build/src/schemas/ldml-keyboardtest3.schema.validator.d.mts +2 -2
  170. package/build/src/schemas/ldml-keyboardtest3.schema.validator.mjs +744 -744
  171. package/build/src/schemas/ldml-keyboardtest3.schema.validator.mjs.map +1 -1
  172. package/build/src/schemas.d.ts +2300 -2300
  173. package/build/src/schemas.js +23 -23
  174. package/build/src/util/common-events.d.ts +44 -44
  175. package/build/src/util/common-events.js +26 -26
  176. package/build/src/util/compiler-interfaces.d.ts +371 -371
  177. package/build/src/util/compiler-interfaces.d.ts.map +1 -1
  178. package/build/src/util/compiler-interfaces.js +380 -380
  179. package/build/src/util/compiler-interfaces.js.map +1 -1
  180. package/build/src/util/errors.d.ts +5 -5
  181. package/build/src/util/errors.js +5 -5
  182. package/build/src/util/file-types.d.ts +93 -93
  183. package/build/src/util/file-types.d.ts.map +1 -1
  184. package/build/src/util/file-types.js +142 -142
  185. package/build/src/util/file-types.js.map +1 -1
  186. package/build/src/util/util.d.ts +98 -98
  187. package/build/src/util/util.js +368 -368
  188. package/build/src/util/util.js.map +1 -1
  189. package/package.json +3 -3
@@ -1,657 +1,657 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="be725a55-2ce2-597c-a4b9-e781734b0a68")}catch(e){}}();
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __commonJS = (cb, mod) => function __require() {
5
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
6
- };
7
- // obj/schemas/kpj-9.0.schema.validator.cjs
8
- var require_kpj_9_0_schema_validator = __commonJS({
9
- "obj/schemas/kpj-9.0.schema.validator.cjs"(exports, module) {
10
- module.exports = validate20;
11
- module.exports.default = validate20;
12
- var pattern0 = new RegExp("^(True|False)$", "u");
13
- var pattern3 = new RegExp("^(keyboard|lexicalmodel)$", "u");
14
- var pattern4 = new RegExp("^(1\\.0|2\\.0)$", "u");
15
- var schema25 = { "type": "object", "properties": { "ID": { "type": "string" }, "Filename": { "type": "string" }, "Filepath": { "type": "string" }, "FileVersion": { "type": "string" }, "FileType": { "type": "string" }, "Details": { "$ref": "#/definitions/FileDetails" }, "ParentFileID": { "type": "string" }, "FullPath": { "type": "string", "$comment": "Keyman Developer 9, no longer used in modern .kpj files" }, "IDEState": { "type": "object", "$comment": "Keyman Developer 9, no longer used in modern .kpj files" } }, "required": ["Filename"], "additionalProperties": false };
16
- var func4 = Object.prototype.hasOwnProperty;
17
- function validate22(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
18
- let vErrors = null;
19
- let errors = 0;
20
- if (errors === 0) {
21
- if (data && typeof data == "object" && !Array.isArray(data)) {
22
- let missing0;
23
- if (data.Filename === void 0 && (missing0 = "Filename")) {
24
- validate22.errors = [{ instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: missing0 }, message: "must have required property '" + missing0 + "'" }];
25
- return false;
26
- }
27
- else {
28
- const _errs1 = errors;
29
- for (const key0 in data) {
30
- if (!func4.call(schema25.properties, key0)) {
31
- validate22.errors = [{ instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" }];
32
- return false;
33
- break;
34
- }
35
- }
36
- if (_errs1 === errors) {
37
- if (data.ID !== void 0) {
38
- const _errs2 = errors;
39
- if (typeof data.ID !== "string") {
40
- validate22.errors = [{ instancePath: instancePath + "/ID", schemaPath: "#/properties/ID/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
41
- return false;
42
- }
43
- var valid0 = _errs2 === errors;
44
- }
45
- else {
46
- var valid0 = true;
47
- }
48
- if (valid0) {
49
- if (data.Filename !== void 0) {
50
- const _errs4 = errors;
51
- if (typeof data.Filename !== "string") {
52
- validate22.errors = [{ instancePath: instancePath + "/Filename", schemaPath: "#/properties/Filename/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
53
- return false;
54
- }
55
- var valid0 = _errs4 === errors;
56
- }
57
- else {
58
- var valid0 = true;
59
- }
60
- if (valid0) {
61
- if (data.Filepath !== void 0) {
62
- const _errs6 = errors;
63
- if (typeof data.Filepath !== "string") {
64
- validate22.errors = [{ instancePath: instancePath + "/Filepath", schemaPath: "#/properties/Filepath/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
65
- return false;
66
- }
67
- var valid0 = _errs6 === errors;
68
- }
69
- else {
70
- var valid0 = true;
71
- }
72
- if (valid0) {
73
- if (data.FileVersion !== void 0) {
74
- const _errs8 = errors;
75
- if (typeof data.FileVersion !== "string") {
76
- validate22.errors = [{ instancePath: instancePath + "/FileVersion", schemaPath: "#/properties/FileVersion/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
77
- return false;
78
- }
79
- var valid0 = _errs8 === errors;
80
- }
81
- else {
82
- var valid0 = true;
83
- }
84
- if (valid0) {
85
- if (data.FileType !== void 0) {
86
- const _errs10 = errors;
87
- if (typeof data.FileType !== "string") {
88
- validate22.errors = [{ instancePath: instancePath + "/FileType", schemaPath: "#/properties/FileType/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
89
- return false;
90
- }
91
- var valid0 = _errs10 === errors;
92
- }
93
- else {
94
- var valid0 = true;
95
- }
96
- if (valid0) {
97
- if (data.Details !== void 0) {
98
- let data5 = data.Details;
99
- const _errs12 = errors;
100
- const _errs13 = errors;
101
- if (errors === _errs13) {
102
- if (data5 && typeof data5 == "object" && !Array.isArray(data5)) {
103
- const _errs15 = errors;
104
- for (const key1 in data5) {
105
- if (!(key1 === "Name" || key1 === "Copyright" || key1 === "Message" || key1 === "Version" || key1 === "Debug")) {
106
- validate22.errors = [{ instancePath: instancePath + "/Details", schemaPath: "#/definitions/FileDetails/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" }];
107
- return false;
108
- break;
109
- }
110
- }
111
- if (_errs15 === errors) {
112
- if (data5.Name !== void 0) {
113
- const _errs16 = errors;
114
- if (typeof data5.Name !== "string") {
115
- validate22.errors = [{ instancePath: instancePath + "/Details/Name", schemaPath: "#/definitions/FileDetails/properties/Name/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
116
- return false;
117
- }
118
- var valid2 = _errs16 === errors;
119
- }
120
- else {
121
- var valid2 = true;
122
- }
123
- if (valid2) {
124
- if (data5.Copyright !== void 0) {
125
- const _errs18 = errors;
126
- if (typeof data5.Copyright !== "string") {
127
- validate22.errors = [{ instancePath: instancePath + "/Details/Copyright", schemaPath: "#/definitions/FileDetails/properties/Copyright/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
128
- return false;
129
- }
130
- var valid2 = _errs18 === errors;
131
- }
132
- else {
133
- var valid2 = true;
134
- }
135
- if (valid2) {
136
- if (data5.Message !== void 0) {
137
- const _errs20 = errors;
138
- if (typeof data5.Message !== "string") {
139
- validate22.errors = [{ instancePath: instancePath + "/Details/Message", schemaPath: "#/definitions/FileDetails/properties/Message/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
140
- return false;
141
- }
142
- var valid2 = _errs20 === errors;
143
- }
144
- else {
145
- var valid2 = true;
146
- }
147
- if (valid2) {
148
- if (data5.Version !== void 0) {
149
- const _errs22 = errors;
150
- if (typeof data5.Version !== "string") {
151
- validate22.errors = [{ instancePath: instancePath + "/Details/Version", schemaPath: "#/definitions/FileDetails/properties/Version/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
152
- return false;
153
- }
154
- var valid2 = _errs22 === errors;
155
- }
156
- else {
157
- var valid2 = true;
158
- }
159
- if (valid2) {
160
- if (data5.Debug !== void 0) {
161
- const _errs24 = errors;
162
- if (typeof data5.Debug !== "string") {
163
- validate22.errors = [{ instancePath: instancePath + "/Details/Debug", schemaPath: "#/definitions/FileDetails/properties/Debug/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
164
- return false;
165
- }
166
- var valid2 = _errs24 === errors;
167
- }
168
- else {
169
- var valid2 = true;
170
- }
171
- }
172
- }
173
- }
174
- }
175
- }
176
- }
177
- else {
178
- validate22.errors = [{ instancePath: instancePath + "/Details", schemaPath: "#/definitions/FileDetails/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
179
- return false;
180
- }
181
- }
182
- var valid0 = _errs12 === errors;
183
- }
184
- else {
185
- var valid0 = true;
186
- }
187
- if (valid0) {
188
- if (data.ParentFileID !== void 0) {
189
- const _errs27 = errors;
190
- if (typeof data.ParentFileID !== "string") {
191
- validate22.errors = [{ instancePath: instancePath + "/ParentFileID", schemaPath: "#/properties/ParentFileID/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
192
- return false;
193
- }
194
- var valid0 = _errs27 === errors;
195
- }
196
- else {
197
- var valid0 = true;
198
- }
199
- if (valid0) {
200
- if (data.FullPath !== void 0) {
201
- const _errs29 = errors;
202
- if (typeof data.FullPath !== "string") {
203
- validate22.errors = [{ instancePath: instancePath + "/FullPath", schemaPath: "#/properties/FullPath/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
204
- return false;
205
- }
206
- var valid0 = _errs29 === errors;
207
- }
208
- else {
209
- var valid0 = true;
210
- }
211
- if (valid0) {
212
- if (data.IDEState !== void 0) {
213
- let data13 = data.IDEState;
214
- const _errs32 = errors;
215
- if (!(data13 && typeof data13 == "object" && !Array.isArray(data13))) {
216
- validate22.errors = [{ instancePath: instancePath + "/IDEState", schemaPath: "#/properties/IDEState/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
217
- return false;
218
- }
219
- var valid0 = _errs32 === errors;
220
- }
221
- else {
222
- var valid0 = true;
223
- }
224
- }
225
- }
226
- }
227
- }
228
- }
229
- }
230
- }
231
- }
232
- }
233
- }
234
- }
235
- else {
236
- validate22.errors = [{ instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
237
- return false;
238
- }
239
- }
240
- validate22.errors = vErrors;
241
- return errors === 0;
242
- }
243
- function validate21(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
244
- let vErrors = null;
245
- let errors = 0;
246
- if (errors === 0) {
247
- if (data && typeof data == "object" && !Array.isArray(data)) {
248
- let missing0;
249
- if (data.File === void 0 && (missing0 = "File")) {
250
- validate21.errors = [{ instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: missing0 }, message: "must have required property '" + missing0 + "'" }];
251
- return false;
252
- }
253
- else {
254
- const _errs1 = errors;
255
- for (const key0 in data) {
256
- if (!(key0 === "File")) {
257
- validate21.errors = [{ instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" }];
258
- return false;
259
- break;
260
- }
261
- }
262
- if (_errs1 === errors) {
263
- if (data.File !== void 0) {
264
- let data0 = data.File;
265
- const _errs2 = errors;
266
- if (errors === _errs2) {
267
- if (Array.isArray(data0)) {
268
- var valid1 = true;
269
- const len0 = data0.length;
270
- for (let i0 = 0; i0 < len0; i0++) {
271
- const _errs4 = errors;
272
- if (!validate22(data0[i0], { instancePath: instancePath + "/File/" + i0, parentData: data0, parentDataProperty: i0, rootData })) {
273
- vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);
274
- errors = vErrors.length;
275
- }
276
- var valid1 = _errs4 === errors;
277
- if (!valid1) {
278
- break;
279
- }
280
- }
281
- }
282
- else {
283
- validate21.errors = [{ instancePath: instancePath + "/File", schemaPath: "#/properties/File/type", keyword: "type", params: { type: "array" }, message: "must be array" }];
284
- return false;
285
- }
286
- }
287
- }
288
- }
289
- }
290
- }
291
- else {
292
- validate21.errors = [{ instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
293
- return false;
294
- }
295
- }
296
- validate21.errors = vErrors;
297
- return errors === 0;
298
- }
299
- function validate20(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
300
- let vErrors = null;
301
- let errors = 0;
302
- if (errors === 0) {
303
- if (data && typeof data == "object" && !Array.isArray(data)) {
304
- let missing0;
305
- if (data.KeymanDeveloperProject === void 0 && (missing0 = "KeymanDeveloperProject")) {
306
- validate20.errors = [{ instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: missing0 }, message: "must have required property '" + missing0 + "'" }];
307
- return false;
308
- }
309
- else {
310
- const _errs1 = errors;
311
- for (const key0 in data) {
312
- if (!(key0 === "KeymanDeveloperProject")) {
313
- validate20.errors = [{ instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" }];
314
- return false;
315
- break;
316
- }
317
- }
318
- if (_errs1 === errors) {
319
- if (data.KeymanDeveloperProject !== void 0) {
320
- let data0 = data.KeymanDeveloperProject;
321
- const _errs2 = errors;
322
- if (errors === _errs2) {
323
- if (data0 && typeof data0 == "object" && !Array.isArray(data0)) {
324
- const _errs4 = errors;
325
- for (const key1 in data0) {
326
- if (!(key1 === "Options" || key1 === "Files" || key1 === "templatepath" || key1 === "stringspath" || key1 === "state" || key1 === "Modules" || key1 === "MRU")) {
327
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject", schemaPath: "#/properties/KeymanDeveloperProject/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" }];
328
- return false;
329
- break;
330
- }
331
- }
332
- if (_errs4 === errors) {
333
- if (data0.Options !== void 0) {
334
- let data1 = data0.Options;
335
- const _errs5 = errors;
336
- const _errs6 = errors;
337
- if (errors === _errs6) {
338
- if (data1 && typeof data1 == "object" && !Array.isArray(data1)) {
339
- const _errs8 = errors;
340
- for (const key2 in data1) {
341
- if (!(key2 === "BuildPath" || key2 === "SourcePath" || key2 === "CompilerWarningsAsErrors" || key2 === "WarnDeprecatedCode" || key2 === "CheckFilenameConventions" || key2 === "ProjectType" || key2 === "Version")) {
342
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options", schemaPath: "#/definitions/Options/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key2 }, message: "must NOT have additional properties" }];
343
- return false;
344
- break;
345
- }
346
- }
347
- if (_errs8 === errors) {
348
- if (data1.BuildPath !== void 0) {
349
- const _errs9 = errors;
350
- if (typeof data1.BuildPath !== "string") {
351
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/BuildPath", schemaPath: "#/definitions/Options/properties/BuildPath/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
352
- return false;
353
- }
354
- var valid3 = _errs9 === errors;
355
- }
356
- else {
357
- var valid3 = true;
358
- }
359
- if (valid3) {
360
- if (data1.SourcePath !== void 0) {
361
- const _errs11 = errors;
362
- if (typeof data1.SourcePath !== "string") {
363
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/SourcePath", schemaPath: "#/definitions/Options/properties/SourcePath/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
364
- return false;
365
- }
366
- var valid3 = _errs11 === errors;
367
- }
368
- else {
369
- var valid3 = true;
370
- }
371
- if (valid3) {
372
- if (data1.CompilerWarningsAsErrors !== void 0) {
373
- let data4 = data1.CompilerWarningsAsErrors;
374
- const _errs13 = errors;
375
- if (errors === _errs13) {
376
- if (typeof data4 === "string") {
377
- if (!pattern0.test(data4)) {
378
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/CompilerWarningsAsErrors", schemaPath: "#/definitions/Options/properties/CompilerWarningsAsErrors/pattern", keyword: "pattern", params: { pattern: "^(True|False)$" }, message: 'must match pattern "^(True|False)$"' }];
379
- return false;
380
- }
381
- }
382
- else {
383
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/CompilerWarningsAsErrors", schemaPath: "#/definitions/Options/properties/CompilerWarningsAsErrors/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
384
- return false;
385
- }
386
- }
387
- var valid3 = _errs13 === errors;
388
- }
389
- else {
390
- var valid3 = true;
391
- }
392
- if (valid3) {
393
- if (data1.WarnDeprecatedCode !== void 0) {
394
- let data5 = data1.WarnDeprecatedCode;
395
- const _errs15 = errors;
396
- if (errors === _errs15) {
397
- if (typeof data5 === "string") {
398
- if (!pattern0.test(data5)) {
399
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/WarnDeprecatedCode", schemaPath: "#/definitions/Options/properties/WarnDeprecatedCode/pattern", keyword: "pattern", params: { pattern: "^(True|False)$" }, message: 'must match pattern "^(True|False)$"' }];
400
- return false;
401
- }
402
- }
403
- else {
404
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/WarnDeprecatedCode", schemaPath: "#/definitions/Options/properties/WarnDeprecatedCode/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
405
- return false;
406
- }
407
- }
408
- var valid3 = _errs15 === errors;
409
- }
410
- else {
411
- var valid3 = true;
412
- }
413
- if (valid3) {
414
- if (data1.CheckFilenameConventions !== void 0) {
415
- let data6 = data1.CheckFilenameConventions;
416
- const _errs17 = errors;
417
- if (errors === _errs17) {
418
- if (typeof data6 === "string") {
419
- if (!pattern0.test(data6)) {
420
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/CheckFilenameConventions", schemaPath: "#/definitions/Options/properties/CheckFilenameConventions/pattern", keyword: "pattern", params: { pattern: "^(True|False)$" }, message: 'must match pattern "^(True|False)$"' }];
421
- return false;
422
- }
423
- }
424
- else {
425
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/CheckFilenameConventions", schemaPath: "#/definitions/Options/properties/CheckFilenameConventions/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
426
- return false;
427
- }
428
- }
429
- var valid3 = _errs17 === errors;
430
- }
431
- else {
432
- var valid3 = true;
433
- }
434
- if (valid3) {
435
- if (data1.ProjectType !== void 0) {
436
- let data7 = data1.ProjectType;
437
- const _errs19 = errors;
438
- if (errors === _errs19) {
439
- if (typeof data7 === "string") {
440
- if (!pattern3.test(data7)) {
441
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/ProjectType", schemaPath: "#/definitions/Options/properties/ProjectType/pattern", keyword: "pattern", params: { pattern: "^(keyboard|lexicalmodel)$" }, message: 'must match pattern "^(keyboard|lexicalmodel)$"' }];
442
- return false;
443
- }
444
- }
445
- else {
446
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/ProjectType", schemaPath: "#/definitions/Options/properties/ProjectType/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
447
- return false;
448
- }
449
- }
450
- var valid3 = _errs19 === errors;
451
- }
452
- else {
453
- var valid3 = true;
454
- }
455
- if (valid3) {
456
- if (data1.Version !== void 0) {
457
- let data8 = data1.Version;
458
- const _errs21 = errors;
459
- if (errors === _errs21) {
460
- if (typeof data8 === "string") {
461
- if (!pattern4.test(data8)) {
462
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/Version", schemaPath: "#/definitions/Options/properties/Version/pattern", keyword: "pattern", params: { pattern: "^(1\\.0|2\\.0)$" }, message: 'must match pattern "^(1\\.0|2\\.0)$"' }];
463
- return false;
464
- }
465
- }
466
- else {
467
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/Version", schemaPath: "#/definitions/Options/properties/Version/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
468
- return false;
469
- }
470
- }
471
- var valid3 = _errs21 === errors;
472
- }
473
- else {
474
- var valid3 = true;
475
- }
476
- }
477
- }
478
- }
479
- }
480
- }
481
- }
482
- }
483
- }
484
- else {
485
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options", schemaPath: "#/definitions/Options/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
486
- return false;
487
- }
488
- }
489
- var valid1 = _errs5 === errors;
490
- }
491
- else {
492
- var valid1 = true;
493
- }
494
- if (valid1) {
495
- if (data0.Files !== void 0) {
496
- const _errs23 = errors;
497
- if (!validate21(data0.Files, { instancePath: instancePath + "/KeymanDeveloperProject/Files", parentData: data0, parentDataProperty: "Files", rootData })) {
498
- vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);
499
- errors = vErrors.length;
500
- }
501
- var valid1 = _errs23 === errors;
502
- }
503
- else {
504
- var valid1 = true;
505
- }
506
- if (valid1) {
507
- if (data0.templatepath !== void 0) {
508
- const _errs24 = errors;
509
- if (typeof data0.templatepath !== "string") {
510
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/templatepath", schemaPath: "#/properties/KeymanDeveloperProject/properties/templatepath/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
511
- return false;
512
- }
513
- var valid1 = _errs24 === errors;
514
- }
515
- else {
516
- var valid1 = true;
517
- }
518
- if (valid1) {
519
- if (data0.stringspath !== void 0) {
520
- const _errs27 = errors;
521
- if (typeof data0.stringspath !== "string") {
522
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/stringspath", schemaPath: "#/properties/KeymanDeveloperProject/properties/stringspath/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
523
- return false;
524
- }
525
- var valid1 = _errs27 === errors;
526
- }
527
- else {
528
- var valid1 = true;
529
- }
530
- if (valid1) {
531
- if (data0.state !== void 0) {
532
- const _errs30 = errors;
533
- if (typeof data0.state !== "string") {
534
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/state", schemaPath: "#/properties/KeymanDeveloperProject/properties/state/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
535
- return false;
536
- }
537
- var valid1 = _errs30 === errors;
538
- }
539
- else {
540
- var valid1 = true;
541
- }
542
- if (valid1) {
543
- if (data0.Modules !== void 0) {
544
- let data13 = data0.Modules;
545
- const _errs33 = errors;
546
- const _errs35 = errors;
547
- let valid4 = false;
548
- let passing0 = null;
549
- const _errs36 = errors;
550
- if (!(data13 && typeof data13 == "object" && !Array.isArray(data13))) {
551
- const err0 = { instancePath: instancePath + "/KeymanDeveloperProject/Modules", schemaPath: "#/properties/KeymanDeveloperProject/properties/Modules/oneOf/0/type", keyword: "type", params: { type: "object" }, message: "must be object" };
552
- if (vErrors === null) {
553
- vErrors = [err0];
554
- }
555
- else {
556
- vErrors.push(err0);
557
- }
558
- errors++;
559
- }
560
- var _valid0 = _errs36 === errors;
561
- if (_valid0) {
562
- valid4 = true;
563
- passing0 = 0;
564
- }
565
- const _errs38 = errors;
566
- if (typeof data13 !== "string") {
567
- const err1 = { instancePath: instancePath + "/KeymanDeveloperProject/Modules", schemaPath: "#/properties/KeymanDeveloperProject/properties/Modules/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
568
- if (vErrors === null) {
569
- vErrors = [err1];
570
- }
571
- else {
572
- vErrors.push(err1);
573
- }
574
- errors++;
575
- }
576
- var _valid0 = _errs38 === errors;
577
- if (_valid0 && valid4) {
578
- valid4 = false;
579
- passing0 = [passing0, 1];
580
- }
581
- else {
582
- if (_valid0) {
583
- valid4 = true;
584
- passing0 = 1;
585
- }
586
- }
587
- if (!valid4) {
588
- const err2 = { instancePath: instancePath + "/KeymanDeveloperProject/Modules", schemaPath: "#/properties/KeymanDeveloperProject/properties/Modules/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
589
- if (vErrors === null) {
590
- vErrors = [err2];
591
- }
592
- else {
593
- vErrors.push(err2);
594
- }
595
- errors++;
596
- validate20.errors = vErrors;
597
- return false;
598
- }
599
- else {
600
- errors = _errs35;
601
- if (vErrors !== null) {
602
- if (_errs35) {
603
- vErrors.length = _errs35;
604
- }
605
- else {
606
- vErrors = null;
607
- }
608
- }
609
- }
610
- var valid1 = _errs33 === errors;
611
- }
612
- else {
613
- var valid1 = true;
614
- }
615
- if (valid1) {
616
- if (data0.MRU !== void 0) {
617
- let data14 = data0.MRU;
618
- const _errs40 = errors;
619
- if (!(data14 && typeof data14 == "object" && !Array.isArray(data14))) {
620
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/MRU", schemaPath: "#/properties/KeymanDeveloperProject/properties/MRU/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
621
- return false;
622
- }
623
- var valid1 = _errs40 === errors;
624
- }
625
- else {
626
- var valid1 = true;
627
- }
628
- }
629
- }
630
- }
631
- }
632
- }
633
- }
634
- }
635
- }
636
- else {
637
- validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject", schemaPath: "#/properties/KeymanDeveloperProject/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
638
- return false;
639
- }
640
- }
641
- }
642
- }
643
- }
644
- }
645
- else {
646
- validate20.errors = [{ instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
647
- return false;
648
- }
649
- }
650
- validate20.errors = vErrors;
651
- return errors === 0;
652
- }
653
- }
654
- });
655
- export default require_kpj_9_0_schema_validator();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1a1116a7-e7ea-541b-ab97-f2cdec2ef7fb")}catch(e){}}();
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __commonJS = (cb, mod) => function __require() {
5
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
6
+ };
7
+ // obj/schemas/kpj-9.0.schema.validator.cjs
8
+ var require_kpj_9_0_schema_validator = __commonJS({
9
+ "obj/schemas/kpj-9.0.schema.validator.cjs"(exports, module) {
10
+ module.exports = validate20;
11
+ module.exports.default = validate20;
12
+ var pattern0 = new RegExp("^(True|False)$", "u");
13
+ var pattern3 = new RegExp("^(keyboard|lexicalmodel)$", "u");
14
+ var pattern4 = new RegExp("^(1\\.0|2\\.0)$", "u");
15
+ var schema25 = { "type": "object", "properties": { "ID": { "type": "string" }, "Filename": { "type": "string" }, "Filepath": { "type": "string" }, "FileVersion": { "type": "string" }, "FileType": { "type": "string" }, "Details": { "$ref": "#/definitions/FileDetails" }, "ParentFileID": { "type": "string" }, "FullPath": { "type": "string", "$comment": "Keyman Developer 9, no longer used in modern .kpj files" }, "IDEState": { "type": "object", "$comment": "Keyman Developer 9, no longer used in modern .kpj files" } }, "required": ["Filename"], "additionalProperties": false };
16
+ var func4 = Object.prototype.hasOwnProperty;
17
+ function validate22(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
18
+ let vErrors = null;
19
+ let errors = 0;
20
+ if (errors === 0) {
21
+ if (data && typeof data == "object" && !Array.isArray(data)) {
22
+ let missing0;
23
+ if (data.Filename === void 0 && (missing0 = "Filename")) {
24
+ validate22.errors = [{ instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: missing0 }, message: "must have required property '" + missing0 + "'" }];
25
+ return false;
26
+ }
27
+ else {
28
+ const _errs1 = errors;
29
+ for (const key0 in data) {
30
+ if (!func4.call(schema25.properties, key0)) {
31
+ validate22.errors = [{ instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" }];
32
+ return false;
33
+ break;
34
+ }
35
+ }
36
+ if (_errs1 === errors) {
37
+ if (data.ID !== void 0) {
38
+ const _errs2 = errors;
39
+ if (typeof data.ID !== "string") {
40
+ validate22.errors = [{ instancePath: instancePath + "/ID", schemaPath: "#/properties/ID/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
41
+ return false;
42
+ }
43
+ var valid0 = _errs2 === errors;
44
+ }
45
+ else {
46
+ var valid0 = true;
47
+ }
48
+ if (valid0) {
49
+ if (data.Filename !== void 0) {
50
+ const _errs4 = errors;
51
+ if (typeof data.Filename !== "string") {
52
+ validate22.errors = [{ instancePath: instancePath + "/Filename", schemaPath: "#/properties/Filename/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
53
+ return false;
54
+ }
55
+ var valid0 = _errs4 === errors;
56
+ }
57
+ else {
58
+ var valid0 = true;
59
+ }
60
+ if (valid0) {
61
+ if (data.Filepath !== void 0) {
62
+ const _errs6 = errors;
63
+ if (typeof data.Filepath !== "string") {
64
+ validate22.errors = [{ instancePath: instancePath + "/Filepath", schemaPath: "#/properties/Filepath/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
65
+ return false;
66
+ }
67
+ var valid0 = _errs6 === errors;
68
+ }
69
+ else {
70
+ var valid0 = true;
71
+ }
72
+ if (valid0) {
73
+ if (data.FileVersion !== void 0) {
74
+ const _errs8 = errors;
75
+ if (typeof data.FileVersion !== "string") {
76
+ validate22.errors = [{ instancePath: instancePath + "/FileVersion", schemaPath: "#/properties/FileVersion/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
77
+ return false;
78
+ }
79
+ var valid0 = _errs8 === errors;
80
+ }
81
+ else {
82
+ var valid0 = true;
83
+ }
84
+ if (valid0) {
85
+ if (data.FileType !== void 0) {
86
+ const _errs10 = errors;
87
+ if (typeof data.FileType !== "string") {
88
+ validate22.errors = [{ instancePath: instancePath + "/FileType", schemaPath: "#/properties/FileType/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
89
+ return false;
90
+ }
91
+ var valid0 = _errs10 === errors;
92
+ }
93
+ else {
94
+ var valid0 = true;
95
+ }
96
+ if (valid0) {
97
+ if (data.Details !== void 0) {
98
+ let data5 = data.Details;
99
+ const _errs12 = errors;
100
+ const _errs13 = errors;
101
+ if (errors === _errs13) {
102
+ if (data5 && typeof data5 == "object" && !Array.isArray(data5)) {
103
+ const _errs15 = errors;
104
+ for (const key1 in data5) {
105
+ if (!(key1 === "Name" || key1 === "Copyright" || key1 === "Message" || key1 === "Version" || key1 === "Debug")) {
106
+ validate22.errors = [{ instancePath: instancePath + "/Details", schemaPath: "#/definitions/FileDetails/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" }];
107
+ return false;
108
+ break;
109
+ }
110
+ }
111
+ if (_errs15 === errors) {
112
+ if (data5.Name !== void 0) {
113
+ const _errs16 = errors;
114
+ if (typeof data5.Name !== "string") {
115
+ validate22.errors = [{ instancePath: instancePath + "/Details/Name", schemaPath: "#/definitions/FileDetails/properties/Name/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
116
+ return false;
117
+ }
118
+ var valid2 = _errs16 === errors;
119
+ }
120
+ else {
121
+ var valid2 = true;
122
+ }
123
+ if (valid2) {
124
+ if (data5.Copyright !== void 0) {
125
+ const _errs18 = errors;
126
+ if (typeof data5.Copyright !== "string") {
127
+ validate22.errors = [{ instancePath: instancePath + "/Details/Copyright", schemaPath: "#/definitions/FileDetails/properties/Copyright/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
128
+ return false;
129
+ }
130
+ var valid2 = _errs18 === errors;
131
+ }
132
+ else {
133
+ var valid2 = true;
134
+ }
135
+ if (valid2) {
136
+ if (data5.Message !== void 0) {
137
+ const _errs20 = errors;
138
+ if (typeof data5.Message !== "string") {
139
+ validate22.errors = [{ instancePath: instancePath + "/Details/Message", schemaPath: "#/definitions/FileDetails/properties/Message/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
140
+ return false;
141
+ }
142
+ var valid2 = _errs20 === errors;
143
+ }
144
+ else {
145
+ var valid2 = true;
146
+ }
147
+ if (valid2) {
148
+ if (data5.Version !== void 0) {
149
+ const _errs22 = errors;
150
+ if (typeof data5.Version !== "string") {
151
+ validate22.errors = [{ instancePath: instancePath + "/Details/Version", schemaPath: "#/definitions/FileDetails/properties/Version/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
152
+ return false;
153
+ }
154
+ var valid2 = _errs22 === errors;
155
+ }
156
+ else {
157
+ var valid2 = true;
158
+ }
159
+ if (valid2) {
160
+ if (data5.Debug !== void 0) {
161
+ const _errs24 = errors;
162
+ if (typeof data5.Debug !== "string") {
163
+ validate22.errors = [{ instancePath: instancePath + "/Details/Debug", schemaPath: "#/definitions/FileDetails/properties/Debug/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
164
+ return false;
165
+ }
166
+ var valid2 = _errs24 === errors;
167
+ }
168
+ else {
169
+ var valid2 = true;
170
+ }
171
+ }
172
+ }
173
+ }
174
+ }
175
+ }
176
+ }
177
+ else {
178
+ validate22.errors = [{ instancePath: instancePath + "/Details", schemaPath: "#/definitions/FileDetails/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
179
+ return false;
180
+ }
181
+ }
182
+ var valid0 = _errs12 === errors;
183
+ }
184
+ else {
185
+ var valid0 = true;
186
+ }
187
+ if (valid0) {
188
+ if (data.ParentFileID !== void 0) {
189
+ const _errs27 = errors;
190
+ if (typeof data.ParentFileID !== "string") {
191
+ validate22.errors = [{ instancePath: instancePath + "/ParentFileID", schemaPath: "#/properties/ParentFileID/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
192
+ return false;
193
+ }
194
+ var valid0 = _errs27 === errors;
195
+ }
196
+ else {
197
+ var valid0 = true;
198
+ }
199
+ if (valid0) {
200
+ if (data.FullPath !== void 0) {
201
+ const _errs29 = errors;
202
+ if (typeof data.FullPath !== "string") {
203
+ validate22.errors = [{ instancePath: instancePath + "/FullPath", schemaPath: "#/properties/FullPath/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
204
+ return false;
205
+ }
206
+ var valid0 = _errs29 === errors;
207
+ }
208
+ else {
209
+ var valid0 = true;
210
+ }
211
+ if (valid0) {
212
+ if (data.IDEState !== void 0) {
213
+ let data13 = data.IDEState;
214
+ const _errs32 = errors;
215
+ if (!(data13 && typeof data13 == "object" && !Array.isArray(data13))) {
216
+ validate22.errors = [{ instancePath: instancePath + "/IDEState", schemaPath: "#/properties/IDEState/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
217
+ return false;
218
+ }
219
+ var valid0 = _errs32 === errors;
220
+ }
221
+ else {
222
+ var valid0 = true;
223
+ }
224
+ }
225
+ }
226
+ }
227
+ }
228
+ }
229
+ }
230
+ }
231
+ }
232
+ }
233
+ }
234
+ }
235
+ else {
236
+ validate22.errors = [{ instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
237
+ return false;
238
+ }
239
+ }
240
+ validate22.errors = vErrors;
241
+ return errors === 0;
242
+ }
243
+ function validate21(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
244
+ let vErrors = null;
245
+ let errors = 0;
246
+ if (errors === 0) {
247
+ if (data && typeof data == "object" && !Array.isArray(data)) {
248
+ let missing0;
249
+ if (data.File === void 0 && (missing0 = "File")) {
250
+ validate21.errors = [{ instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: missing0 }, message: "must have required property '" + missing0 + "'" }];
251
+ return false;
252
+ }
253
+ else {
254
+ const _errs1 = errors;
255
+ for (const key0 in data) {
256
+ if (!(key0 === "File")) {
257
+ validate21.errors = [{ instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" }];
258
+ return false;
259
+ break;
260
+ }
261
+ }
262
+ if (_errs1 === errors) {
263
+ if (data.File !== void 0) {
264
+ let data0 = data.File;
265
+ const _errs2 = errors;
266
+ if (errors === _errs2) {
267
+ if (Array.isArray(data0)) {
268
+ var valid1 = true;
269
+ const len0 = data0.length;
270
+ for (let i0 = 0; i0 < len0; i0++) {
271
+ const _errs4 = errors;
272
+ if (!validate22(data0[i0], { instancePath: instancePath + "/File/" + i0, parentData: data0, parentDataProperty: i0, rootData })) {
273
+ vErrors = vErrors === null ? validate22.errors : vErrors.concat(validate22.errors);
274
+ errors = vErrors.length;
275
+ }
276
+ var valid1 = _errs4 === errors;
277
+ if (!valid1) {
278
+ break;
279
+ }
280
+ }
281
+ }
282
+ else {
283
+ validate21.errors = [{ instancePath: instancePath + "/File", schemaPath: "#/properties/File/type", keyword: "type", params: { type: "array" }, message: "must be array" }];
284
+ return false;
285
+ }
286
+ }
287
+ }
288
+ }
289
+ }
290
+ }
291
+ else {
292
+ validate21.errors = [{ instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
293
+ return false;
294
+ }
295
+ }
296
+ validate21.errors = vErrors;
297
+ return errors === 0;
298
+ }
299
+ function validate20(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
300
+ let vErrors = null;
301
+ let errors = 0;
302
+ if (errors === 0) {
303
+ if (data && typeof data == "object" && !Array.isArray(data)) {
304
+ let missing0;
305
+ if (data.KeymanDeveloperProject === void 0 && (missing0 = "KeymanDeveloperProject")) {
306
+ validate20.errors = [{ instancePath, schemaPath: "#/required", keyword: "required", params: { missingProperty: missing0 }, message: "must have required property '" + missing0 + "'" }];
307
+ return false;
308
+ }
309
+ else {
310
+ const _errs1 = errors;
311
+ for (const key0 in data) {
312
+ if (!(key0 === "KeymanDeveloperProject")) {
313
+ validate20.errors = [{ instancePath, schemaPath: "#/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key0 }, message: "must NOT have additional properties" }];
314
+ return false;
315
+ break;
316
+ }
317
+ }
318
+ if (_errs1 === errors) {
319
+ if (data.KeymanDeveloperProject !== void 0) {
320
+ let data0 = data.KeymanDeveloperProject;
321
+ const _errs2 = errors;
322
+ if (errors === _errs2) {
323
+ if (data0 && typeof data0 == "object" && !Array.isArray(data0)) {
324
+ const _errs4 = errors;
325
+ for (const key1 in data0) {
326
+ if (!(key1 === "Options" || key1 === "Files" || key1 === "templatepath" || key1 === "stringspath" || key1 === "state" || key1 === "Modules" || key1 === "MRU")) {
327
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject", schemaPath: "#/properties/KeymanDeveloperProject/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key1 }, message: "must NOT have additional properties" }];
328
+ return false;
329
+ break;
330
+ }
331
+ }
332
+ if (_errs4 === errors) {
333
+ if (data0.Options !== void 0) {
334
+ let data1 = data0.Options;
335
+ const _errs5 = errors;
336
+ const _errs6 = errors;
337
+ if (errors === _errs6) {
338
+ if (data1 && typeof data1 == "object" && !Array.isArray(data1)) {
339
+ const _errs8 = errors;
340
+ for (const key2 in data1) {
341
+ if (!(key2 === "BuildPath" || key2 === "SourcePath" || key2 === "CompilerWarningsAsErrors" || key2 === "WarnDeprecatedCode" || key2 === "CheckFilenameConventions" || key2 === "ProjectType" || key2 === "Version")) {
342
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options", schemaPath: "#/definitions/Options/additionalProperties", keyword: "additionalProperties", params: { additionalProperty: key2 }, message: "must NOT have additional properties" }];
343
+ return false;
344
+ break;
345
+ }
346
+ }
347
+ if (_errs8 === errors) {
348
+ if (data1.BuildPath !== void 0) {
349
+ const _errs9 = errors;
350
+ if (typeof data1.BuildPath !== "string") {
351
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/BuildPath", schemaPath: "#/definitions/Options/properties/BuildPath/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
352
+ return false;
353
+ }
354
+ var valid3 = _errs9 === errors;
355
+ }
356
+ else {
357
+ var valid3 = true;
358
+ }
359
+ if (valid3) {
360
+ if (data1.SourcePath !== void 0) {
361
+ const _errs11 = errors;
362
+ if (typeof data1.SourcePath !== "string") {
363
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/SourcePath", schemaPath: "#/definitions/Options/properties/SourcePath/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
364
+ return false;
365
+ }
366
+ var valid3 = _errs11 === errors;
367
+ }
368
+ else {
369
+ var valid3 = true;
370
+ }
371
+ if (valid3) {
372
+ if (data1.CompilerWarningsAsErrors !== void 0) {
373
+ let data4 = data1.CompilerWarningsAsErrors;
374
+ const _errs13 = errors;
375
+ if (errors === _errs13) {
376
+ if (typeof data4 === "string") {
377
+ if (!pattern0.test(data4)) {
378
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/CompilerWarningsAsErrors", schemaPath: "#/definitions/Options/properties/CompilerWarningsAsErrors/pattern", keyword: "pattern", params: { pattern: "^(True|False)$" }, message: 'must match pattern "^(True|False)$"' }];
379
+ return false;
380
+ }
381
+ }
382
+ else {
383
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/CompilerWarningsAsErrors", schemaPath: "#/definitions/Options/properties/CompilerWarningsAsErrors/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
384
+ return false;
385
+ }
386
+ }
387
+ var valid3 = _errs13 === errors;
388
+ }
389
+ else {
390
+ var valid3 = true;
391
+ }
392
+ if (valid3) {
393
+ if (data1.WarnDeprecatedCode !== void 0) {
394
+ let data5 = data1.WarnDeprecatedCode;
395
+ const _errs15 = errors;
396
+ if (errors === _errs15) {
397
+ if (typeof data5 === "string") {
398
+ if (!pattern0.test(data5)) {
399
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/WarnDeprecatedCode", schemaPath: "#/definitions/Options/properties/WarnDeprecatedCode/pattern", keyword: "pattern", params: { pattern: "^(True|False)$" }, message: 'must match pattern "^(True|False)$"' }];
400
+ return false;
401
+ }
402
+ }
403
+ else {
404
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/WarnDeprecatedCode", schemaPath: "#/definitions/Options/properties/WarnDeprecatedCode/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
405
+ return false;
406
+ }
407
+ }
408
+ var valid3 = _errs15 === errors;
409
+ }
410
+ else {
411
+ var valid3 = true;
412
+ }
413
+ if (valid3) {
414
+ if (data1.CheckFilenameConventions !== void 0) {
415
+ let data6 = data1.CheckFilenameConventions;
416
+ const _errs17 = errors;
417
+ if (errors === _errs17) {
418
+ if (typeof data6 === "string") {
419
+ if (!pattern0.test(data6)) {
420
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/CheckFilenameConventions", schemaPath: "#/definitions/Options/properties/CheckFilenameConventions/pattern", keyword: "pattern", params: { pattern: "^(True|False)$" }, message: 'must match pattern "^(True|False)$"' }];
421
+ return false;
422
+ }
423
+ }
424
+ else {
425
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/CheckFilenameConventions", schemaPath: "#/definitions/Options/properties/CheckFilenameConventions/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
426
+ return false;
427
+ }
428
+ }
429
+ var valid3 = _errs17 === errors;
430
+ }
431
+ else {
432
+ var valid3 = true;
433
+ }
434
+ if (valid3) {
435
+ if (data1.ProjectType !== void 0) {
436
+ let data7 = data1.ProjectType;
437
+ const _errs19 = errors;
438
+ if (errors === _errs19) {
439
+ if (typeof data7 === "string") {
440
+ if (!pattern3.test(data7)) {
441
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/ProjectType", schemaPath: "#/definitions/Options/properties/ProjectType/pattern", keyword: "pattern", params: { pattern: "^(keyboard|lexicalmodel)$" }, message: 'must match pattern "^(keyboard|lexicalmodel)$"' }];
442
+ return false;
443
+ }
444
+ }
445
+ else {
446
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/ProjectType", schemaPath: "#/definitions/Options/properties/ProjectType/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
447
+ return false;
448
+ }
449
+ }
450
+ var valid3 = _errs19 === errors;
451
+ }
452
+ else {
453
+ var valid3 = true;
454
+ }
455
+ if (valid3) {
456
+ if (data1.Version !== void 0) {
457
+ let data8 = data1.Version;
458
+ const _errs21 = errors;
459
+ if (errors === _errs21) {
460
+ if (typeof data8 === "string") {
461
+ if (!pattern4.test(data8)) {
462
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/Version", schemaPath: "#/definitions/Options/properties/Version/pattern", keyword: "pattern", params: { pattern: "^(1\\.0|2\\.0)$" }, message: 'must match pattern "^(1\\.0|2\\.0)$"' }];
463
+ return false;
464
+ }
465
+ }
466
+ else {
467
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options/Version", schemaPath: "#/definitions/Options/properties/Version/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
468
+ return false;
469
+ }
470
+ }
471
+ var valid3 = _errs21 === errors;
472
+ }
473
+ else {
474
+ var valid3 = true;
475
+ }
476
+ }
477
+ }
478
+ }
479
+ }
480
+ }
481
+ }
482
+ }
483
+ }
484
+ else {
485
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/Options", schemaPath: "#/definitions/Options/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
486
+ return false;
487
+ }
488
+ }
489
+ var valid1 = _errs5 === errors;
490
+ }
491
+ else {
492
+ var valid1 = true;
493
+ }
494
+ if (valid1) {
495
+ if (data0.Files !== void 0) {
496
+ const _errs23 = errors;
497
+ if (!validate21(data0.Files, { instancePath: instancePath + "/KeymanDeveloperProject/Files", parentData: data0, parentDataProperty: "Files", rootData })) {
498
+ vErrors = vErrors === null ? validate21.errors : vErrors.concat(validate21.errors);
499
+ errors = vErrors.length;
500
+ }
501
+ var valid1 = _errs23 === errors;
502
+ }
503
+ else {
504
+ var valid1 = true;
505
+ }
506
+ if (valid1) {
507
+ if (data0.templatepath !== void 0) {
508
+ const _errs24 = errors;
509
+ if (typeof data0.templatepath !== "string") {
510
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/templatepath", schemaPath: "#/properties/KeymanDeveloperProject/properties/templatepath/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
511
+ return false;
512
+ }
513
+ var valid1 = _errs24 === errors;
514
+ }
515
+ else {
516
+ var valid1 = true;
517
+ }
518
+ if (valid1) {
519
+ if (data0.stringspath !== void 0) {
520
+ const _errs27 = errors;
521
+ if (typeof data0.stringspath !== "string") {
522
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/stringspath", schemaPath: "#/properties/KeymanDeveloperProject/properties/stringspath/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
523
+ return false;
524
+ }
525
+ var valid1 = _errs27 === errors;
526
+ }
527
+ else {
528
+ var valid1 = true;
529
+ }
530
+ if (valid1) {
531
+ if (data0.state !== void 0) {
532
+ const _errs30 = errors;
533
+ if (typeof data0.state !== "string") {
534
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/state", schemaPath: "#/properties/KeymanDeveloperProject/properties/state/type", keyword: "type", params: { type: "string" }, message: "must be string" }];
535
+ return false;
536
+ }
537
+ var valid1 = _errs30 === errors;
538
+ }
539
+ else {
540
+ var valid1 = true;
541
+ }
542
+ if (valid1) {
543
+ if (data0.Modules !== void 0) {
544
+ let data13 = data0.Modules;
545
+ const _errs33 = errors;
546
+ const _errs35 = errors;
547
+ let valid4 = false;
548
+ let passing0 = null;
549
+ const _errs36 = errors;
550
+ if (!(data13 && typeof data13 == "object" && !Array.isArray(data13))) {
551
+ const err0 = { instancePath: instancePath + "/KeymanDeveloperProject/Modules", schemaPath: "#/properties/KeymanDeveloperProject/properties/Modules/oneOf/0/type", keyword: "type", params: { type: "object" }, message: "must be object" };
552
+ if (vErrors === null) {
553
+ vErrors = [err0];
554
+ }
555
+ else {
556
+ vErrors.push(err0);
557
+ }
558
+ errors++;
559
+ }
560
+ var _valid0 = _errs36 === errors;
561
+ if (_valid0) {
562
+ valid4 = true;
563
+ passing0 = 0;
564
+ }
565
+ const _errs38 = errors;
566
+ if (typeof data13 !== "string") {
567
+ const err1 = { instancePath: instancePath + "/KeymanDeveloperProject/Modules", schemaPath: "#/properties/KeymanDeveloperProject/properties/Modules/oneOf/1/type", keyword: "type", params: { type: "string" }, message: "must be string" };
568
+ if (vErrors === null) {
569
+ vErrors = [err1];
570
+ }
571
+ else {
572
+ vErrors.push(err1);
573
+ }
574
+ errors++;
575
+ }
576
+ var _valid0 = _errs38 === errors;
577
+ if (_valid0 && valid4) {
578
+ valid4 = false;
579
+ passing0 = [passing0, 1];
580
+ }
581
+ else {
582
+ if (_valid0) {
583
+ valid4 = true;
584
+ passing0 = 1;
585
+ }
586
+ }
587
+ if (!valid4) {
588
+ const err2 = { instancePath: instancePath + "/KeymanDeveloperProject/Modules", schemaPath: "#/properties/KeymanDeveloperProject/properties/Modules/oneOf", keyword: "oneOf", params: { passingSchemas: passing0 }, message: "must match exactly one schema in oneOf" };
589
+ if (vErrors === null) {
590
+ vErrors = [err2];
591
+ }
592
+ else {
593
+ vErrors.push(err2);
594
+ }
595
+ errors++;
596
+ validate20.errors = vErrors;
597
+ return false;
598
+ }
599
+ else {
600
+ errors = _errs35;
601
+ if (vErrors !== null) {
602
+ if (_errs35) {
603
+ vErrors.length = _errs35;
604
+ }
605
+ else {
606
+ vErrors = null;
607
+ }
608
+ }
609
+ }
610
+ var valid1 = _errs33 === errors;
611
+ }
612
+ else {
613
+ var valid1 = true;
614
+ }
615
+ if (valid1) {
616
+ if (data0.MRU !== void 0) {
617
+ let data14 = data0.MRU;
618
+ const _errs40 = errors;
619
+ if (!(data14 && typeof data14 == "object" && !Array.isArray(data14))) {
620
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject/MRU", schemaPath: "#/properties/KeymanDeveloperProject/properties/MRU/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
621
+ return false;
622
+ }
623
+ var valid1 = _errs40 === errors;
624
+ }
625
+ else {
626
+ var valid1 = true;
627
+ }
628
+ }
629
+ }
630
+ }
631
+ }
632
+ }
633
+ }
634
+ }
635
+ }
636
+ else {
637
+ validate20.errors = [{ instancePath: instancePath + "/KeymanDeveloperProject", schemaPath: "#/properties/KeymanDeveloperProject/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
638
+ return false;
639
+ }
640
+ }
641
+ }
642
+ }
643
+ }
644
+ }
645
+ else {
646
+ validate20.errors = [{ instancePath, schemaPath: "#/type", keyword: "type", params: { type: "object" }, message: "must be object" }];
647
+ return false;
648
+ }
649
+ }
650
+ validate20.errors = vErrors;
651
+ return errors === 0;
652
+ }
653
+ }
654
+ });
655
+ export default require_kpj_9_0_schema_validator();
656
656
  //# sourceMappingURL=kpj-9.0.schema.validator.mjs.map
657
- //# debugId=be725a55-2ce2-597c-a4b9-e781734b0a68
657
+ //# debugId=1a1116a7-e7ea-541b-ab97-f2cdec2ef7fb