optolith-database-schema 0.9.0 → 0.10.1

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 (257) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/lib/config.d.ts +1 -1
  3. package/lib/main.d.ts +3 -3
  4. package/lib/main.js +8 -3
  5. package/lib/types/Advantage.d.ts +15 -4
  6. package/lib/types/AnimalDisease.d.ts +1 -1
  7. package/lib/types/AnimalType.d.ts +2 -2
  8. package/lib/types/ArcaneBardTradition.d.ts +1 -1
  9. package/lib/types/ArcaneDancerTradition.d.ts +1 -1
  10. package/lib/types/Aspect.d.ts +2 -2
  11. package/lib/types/Attribute.d.ts +2 -2
  12. package/lib/types/Blessing.d.ts +8 -8
  13. package/lib/types/Cantrip.d.ts +14 -14
  14. package/lib/types/Ceremony.d.ts +2 -2
  15. package/lib/types/CombatTechnique_Close.d.ts +3 -3
  16. package/lib/types/CombatTechnique_Ranged.d.ts +3 -3
  17. package/lib/types/Condition.d.ts +2 -2
  18. package/lib/types/Continent.d.ts +2 -2
  19. package/lib/types/Culture.d.ts +21 -21
  20. package/lib/types/DerivedCharacteristic.d.ts +3 -3
  21. package/lib/types/Disadvantage.d.ts +14 -4
  22. package/lib/types/Disease.d.ts +1 -1
  23. package/lib/types/Element.d.ts +2 -2
  24. package/lib/types/ExperienceLevel.d.ts +2 -2
  25. package/lib/types/EyeColor.d.ts +2 -2
  26. package/lib/types/FamiliarsTrick.d.ts +22 -22
  27. package/lib/types/HairColor.d.ts +2 -2
  28. package/lib/types/Kirchenpraegung.d.ts +1 -1
  29. package/lib/types/Lessons_Curriculum.d.ts +18 -18
  30. package/lib/types/Lessons_Guideline.d.ts +2 -2
  31. package/lib/types/LiturgicalChant.d.ts +2 -2
  32. package/lib/types/Locale.d.ts +2 -2
  33. package/lib/types/MetaCondition.d.ts +2 -2
  34. package/lib/types/PactCategory.d.ts +6 -6
  35. package/lib/types/Patron.d.ts +13 -13
  36. package/lib/types/PatronCategory.d.ts +2 -2
  37. package/lib/types/PersonalityTrait.d.ts +3 -3
  38. package/lib/types/Profession.d.ts +53 -43
  39. package/lib/types/Property.d.ts +2 -2
  40. package/lib/types/Race.d.ts +14 -14
  41. package/lib/types/Region.d.ts +2 -2
  42. package/lib/types/Ritual.d.ts +2 -2
  43. package/lib/types/Service.d.ts +2 -2
  44. package/lib/types/SexPractice.d.ts +2 -2
  45. package/lib/types/Skill.d.ts +6 -6
  46. package/lib/types/SkillGroup.d.ts +2 -2
  47. package/lib/types/SkillModificationLevel.d.ts +6 -6
  48. package/lib/types/SocialStatus.d.ts +2 -2
  49. package/lib/types/Spell.d.ts +2 -2
  50. package/lib/types/State.d.ts +2 -2
  51. package/lib/types/Talisman.d.ts +9 -9
  52. package/lib/types/TargetCategory.d.ts +3 -3
  53. package/lib/types/UI.d.ts +1 -1
  54. package/lib/types/_Activatable.d.ts +211 -103
  55. package/lib/types/_Activatable.js +4 -35
  56. package/lib/types/_ActivatableSelectOptionCategory.d.ts +55 -25
  57. package/lib/types/_ActivatableSkill.d.ts +8 -8
  58. package/lib/types/_ActivatableSkillCastingTime.d.ts +8 -8
  59. package/lib/types/_ActivatableSkillCheckResultBased.d.ts +2 -2
  60. package/lib/types/_ActivatableSkillCost.d.ts +20 -20
  61. package/lib/types/_ActivatableSkillDuration.d.ts +13 -13
  62. package/lib/types/_ActivatableSkillEffect.d.ts +4 -4
  63. package/lib/types/_ActivatableSkillRange.d.ts +6 -6
  64. package/lib/types/_ActivatableSkillTargetCategory.d.ts +4 -4
  65. package/lib/types/_AlternativeNames.d.ts +1 -1
  66. package/lib/types/_ArcaneTradition.d.ts +2 -2
  67. package/lib/types/_Blessed.d.ts +2 -2
  68. package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +1 -1
  69. package/lib/types/_Dice.d.ts +1 -1
  70. package/lib/types/_DiseasePoison.d.ts +4 -4
  71. package/lib/types/_Enhancements.d.ts +3 -3
  72. package/lib/types/_I18n.d.ts +1 -1
  73. package/lib/types/_Identifier.d.ts +132 -132
  74. package/lib/types/_IdentifierGroup.d.ts +20 -20
  75. package/lib/types/_Influence.d.ts +3 -3
  76. package/lib/types/_LocaleMap.d.ts +1 -1
  77. package/lib/types/_NonEmptyString.d.ts +2 -2
  78. package/lib/types/_Prerequisite.d.ts +21 -21
  79. package/lib/types/_ResponsiveText.d.ts +3 -3
  80. package/lib/types/_SimpleReferences.d.ts +44 -44
  81. package/lib/types/_SkillCheck.d.ts +1 -1
  82. package/lib/types/_Spellwork.d.ts +2 -2
  83. package/lib/types/equipment/EquipmentPackage.d.ts +3 -3
  84. package/lib/types/equipment/item/Alchemicum.d.ts +1 -1
  85. package/lib/types/equipment/item/Ammunition.d.ts +2 -2
  86. package/lib/types/equipment/item/Animal.d.ts +1 -1
  87. package/lib/types/equipment/item/AnimalCare.d.ts +5 -5
  88. package/lib/types/equipment/item/Armor.d.ts +11 -11
  89. package/lib/types/equipment/item/BandageOrRemedy.d.ts +1 -1
  90. package/lib/types/equipment/item/Book.d.ts +2 -2
  91. package/lib/types/equipment/item/CeremonialItem.d.ts +1 -1
  92. package/lib/types/equipment/item/Clothes.d.ts +1 -1
  93. package/lib/types/equipment/item/Container.d.ts +1 -1
  94. package/lib/types/equipment/item/Elixir.d.ts +2 -2
  95. package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +1 -1
  96. package/lib/types/equipment/item/GemOrPreciousStone.d.ts +2 -2
  97. package/lib/types/equipment/item/IlluminationLightSource.d.ts +3 -3
  98. package/lib/types/equipment/item/IlluminationRefillsOrSupplies.d.ts +1 -1
  99. package/lib/types/equipment/item/Jewelry.d.ts +3 -3
  100. package/lib/types/equipment/item/Liebesspielzeug.d.ts +1 -1
  101. package/lib/types/equipment/item/LuxuryGood.d.ts +1 -1
  102. package/lib/types/equipment/item/MagicalArtifact.d.ts +2 -2
  103. package/lib/types/equipment/item/MusicalInstrument.d.ts +1 -1
  104. package/lib/types/equipment/item/OrienteeringAid.d.ts +1 -1
  105. package/lib/types/equipment/item/Poison.d.ts +45 -25
  106. package/lib/types/equipment/item/Poison.js +1 -0
  107. package/lib/types/equipment/item/RopeOrChain.d.ts +1 -1
  108. package/lib/types/equipment/item/Stationary.d.ts +1 -1
  109. package/lib/types/equipment/item/ThievesTool.d.ts +1 -1
  110. package/lib/types/equipment/item/ToolOfTheTrade.d.ts +3 -3
  111. package/lib/types/equipment/item/TravelGearOrTool.d.ts +1 -1
  112. package/lib/types/equipment/item/Vehicle.d.ts +1 -1
  113. package/lib/types/equipment/item/Weapon.d.ts +12 -11
  114. package/lib/types/equipment/item/WeaponAccessory.d.ts +1 -1
  115. package/lib/types/equipment/item/_Herbary.d.ts +1 -1
  116. package/lib/types/equipment/item/_Item.d.ts +12 -12
  117. package/lib/types/equipment/item/_MeleeWeapon.d.ts +7 -7
  118. package/lib/types/equipment/item/_RangedWeapon.d.ts +6 -6
  119. package/lib/types/equipment/item/_Weapon.d.ts +5 -5
  120. package/lib/types/equipment/item/sub/ArmorType.d.ts +5 -5
  121. package/lib/types/equipment/item/sub/Reach.d.ts +2 -2
  122. package/lib/types/magicalActions/AnimistPower.d.ts +16 -16
  123. package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +2 -2
  124. package/lib/types/magicalActions/Curse.d.ts +10 -10
  125. package/lib/types/magicalActions/DominationRitual.d.ts +9 -9
  126. package/lib/types/magicalActions/ElvenMagicalSong.d.ts +7 -7
  127. package/lib/types/magicalActions/GeodeRitual.d.ts +10 -10
  128. package/lib/types/magicalActions/JesterTrick.d.ts +9 -9
  129. package/lib/types/magicalActions/MagicalDance.d.ts +6 -6
  130. package/lib/types/magicalActions/MagicalMelody.d.ts +6 -6
  131. package/lib/types/magicalActions/MagicalRune.d.ts +22 -22
  132. package/lib/types/magicalActions/ZibiljaRitual.d.ts +3 -3
  133. package/lib/types/magicalActions/_MusicTradition.d.ts +3 -3
  134. package/lib/types/magicalActions/_SkillReference.d.ts +1 -1
  135. package/lib/types/prerequisites/ConditionalPrerequisites.d.ts +1 -1
  136. package/lib/types/prerequisites/DisplayOption.d.ts +16 -2
  137. package/lib/types/prerequisites/PrerequisiteGroups.d.ts +38 -16
  138. package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +1 -1
  139. package/lib/types/prerequisites/single/AncestorBloodPrerequisite.d.ts +5 -0
  140. package/lib/types/prerequisites/single/AncestorBloodPrerequisite.js +1 -0
  141. package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +1 -1
  142. package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +1 -1
  143. package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +4 -4
  144. package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +1 -1
  145. package/lib/types/prerequisites/single/PactPrerequisite.d.ts +1 -1
  146. package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +1 -1
  147. package/lib/types/prerequisites/single/PublicationPrerequisite.d.ts +1 -1
  148. package/lib/types/prerequisites/single/RacePrerequisite.d.ts +1 -1
  149. package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.d.ts +67 -0
  150. package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.js +6 -0
  151. package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +1 -56
  152. package/lib/types/prerequisites/single/RatedSumPrerequisite.d.ts +19 -0
  153. package/lib/types/prerequisites/single/RatedSumPrerequisite.js +1 -0
  154. package/lib/types/prerequisites/single/RulePrerequisite.d.ts +1 -1
  155. package/lib/types/prerequisites/single/SexPrerequisite.d.ts +1 -1
  156. package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.d.ts +11 -0
  157. package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.js +5 -0
  158. package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +1 -1
  159. package/lib/types/prerequisites/single/StatePrerequisite.d.ts +1 -1
  160. package/lib/types/prerequisites/single/TextPrerequisite.d.ts +31 -2
  161. package/lib/types/prerequisites/single/TextPrerequisite.js +5 -0
  162. package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +2 -2
  163. package/lib/types/rule/CoreRule.d.ts +11 -11
  164. package/lib/types/rule/FocusRule.d.ts +2 -2
  165. package/lib/types/rule/FocusRule_Subject.d.ts +2 -2
  166. package/lib/types/rule/OptionalRule.d.ts +2 -2
  167. package/lib/types/source/Publication.d.ts +2 -2
  168. package/lib/types/source/_Erratum.d.ts +2 -2
  169. package/lib/types/source/_PublicationRef.d.ts +13 -13
  170. package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +13 -2
  171. package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +2 -2
  172. package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +2 -2
  173. package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +2 -2
  174. package/lib/types/specialAbility/AncestorGlyph.d.ts +2 -2
  175. package/lib/types/specialAbility/BlessedTradition.d.ts +8 -8
  176. package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +2 -2
  177. package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +9 -4
  178. package/lib/types/specialAbility/CombatSpecialAbility.d.ts +8 -4
  179. package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +2 -2
  180. package/lib/types/specialAbility/CommandSpecialAbility.d.ts +1 -1
  181. package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +2 -2
  182. package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +2 -2
  183. package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +7 -2
  184. package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +14 -4
  185. package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +9 -4
  186. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +2 -2
  187. package/lib/types/specialAbility/LycantropicGift.d.ts +2 -2
  188. package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +2 -2
  189. package/lib/types/specialAbility/MagicalSign.d.ts +2 -2
  190. package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +13 -4
  191. package/lib/types/specialAbility/MagicalTradition.d.ts +3 -3
  192. package/lib/types/specialAbility/PactGift.d.ts +9 -9
  193. package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +2 -2
  194. package/lib/types/specialAbility/Sermon.d.ts +2 -2
  195. package/lib/types/specialAbility/SexSpecialAbility.d.ts +2 -2
  196. package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +7 -2
  197. package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +2 -2
  198. package/lib/types/specialAbility/VampiricGift.d.ts +9 -4
  199. package/lib/types/specialAbility/Vision.d.ts +2 -2
  200. package/lib/types/specialAbility/_Tradition.d.ts +1 -1
  201. package/lib/types/specialAbility/sub/Language.d.ts +8 -8
  202. package/lib/types/specialAbility/sub/Script.d.ts +2 -2
  203. package/lib/types/specialAbility/sub/TradeSecret.d.ts +2 -2
  204. package/lib/types/specialAbility/sub/_LanguageScript.d.ts +1 -1
  205. package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +4 -4
  206. package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +4 -4
  207. package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +4 -4
  208. package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +5 -5
  209. package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +4 -4
  210. package/lib/types/traditionArtifacts/DaggerRitual.d.ts +8 -8
  211. package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +4 -4
  212. package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +4 -4
  213. package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +4 -4
  214. package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +4 -4
  215. package/lib/types/traditionArtifacts/RingEnchantment.d.ts +4 -4
  216. package/lib/types/traditionArtifacts/SickleRitual.d.ts +4 -4
  217. package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +9 -4
  218. package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +14 -4
  219. package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +4 -4
  220. package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +4 -4
  221. package/lib/types/traditionArtifacts/WandEnchantment.d.ts +4 -4
  222. package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +4 -4
  223. package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +4 -4
  224. package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +2 -2
  225. package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +2 -2
  226. package/lib/types/traditionArtifacts/sub/Brew.d.ts +2 -2
  227. package/lib/validation/schema.d.ts +5 -5
  228. package/lib/validation/schema.js +2 -2
  229. package/package.json +5 -5
  230. package/schema/Advantage.schema.json +11 -0
  231. package/schema/Disadvantage.schema.json +8 -0
  232. package/schema/Profession.schema.json +8 -0
  233. package/schema/Talisman.schema.json +2 -4
  234. package/schema/_Activatable.schema.json +166 -0
  235. package/schema/_ActivatableSelectOptionCategory.schema.json +141 -0
  236. package/schema/equipment/item/Poison.schema.json +55 -1
  237. package/schema/equipment/item/Weapon.schema.json +5 -1
  238. package/schema/equipment/item/sub/ArmorType.schema.json +1 -2
  239. package/schema/prerequisites/DisplayOption.schema.json +4 -0
  240. package/schema/prerequisites/PrerequisiteGroups.schema.json +98 -2
  241. package/schema/prerequisites/single/AncestorBloodPrerequisite.schema.json +14 -0
  242. package/schema/prerequisites/single/RatedMinimumNumberPrerequisite.schema.json +166 -0
  243. package/schema/prerequisites/single/RatedPrerequisite.schema.json +0 -125
  244. package/schema/prerequisites/single/RatedSumPrerequisite.schema.json +33 -0
  245. package/schema/prerequisites/single/SexualCharacteristicPrerequisite.schema.json +26 -0
  246. package/schema/prerequisites/single/TextPrerequisite.schema.json +14 -0
  247. package/schema/specialAbility/AdvancedCombatSpecialAbility.schema.json +8 -0
  248. package/schema/specialAbility/CeremonialItemSpecialAbility.schema.json +4 -0
  249. package/schema/specialAbility/CombatSpecialAbility.schema.json +4 -0
  250. package/schema/specialAbility/FatePointSpecialAbility.schema.json +4 -0
  251. package/schema/specialAbility/GeneralSpecialAbility.schema.json +8 -0
  252. package/schema/specialAbility/KarmaSpecialAbility.schema.json +4 -0
  253. package/schema/specialAbility/MagicalSpecialAbility.schema.json +8 -0
  254. package/schema/specialAbility/SikaryanDrainSpecialAbility.schema.json +4 -0
  255. package/schema/specialAbility/VampiricGift.schema.json +4 -0
  256. package/schema/traditionArtifacts/SpellSwordEnchantment.schema.json +4 -0
  257. package/schema/traditionArtifacts/StaffEnchantment.schema.json +8 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.10.1](https://github.com/elyukai/optolith-database-schema/compare/v0.10.0...v0.10.1) (2023-05-01)
6
+
7
+ ## [0.10.0](https://github.com/elyukai/optolith-database-schema/compare/v0.9.0...v0.10.0) (2023-05-01)
8
+
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+
12
+ * finish schema
13
+
14
+ ### Features
15
+
16
+ * finish schema ([0ea6a83](https://github.com/elyukai/optolith-database-schema/commit/0ea6a838e22651b0e24708dcb10143db3c4300ca))
17
+ * sort errors by file path, with numbers in ascending order ([abc0bb1](https://github.com/elyukai/optolith-database-schema/commit/abc0bb13fd1d8d72237725ea37031c5697adaab9))
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * allow numbers in names ([4f6b2ae](https://github.com/elyukai/optolith-database-schema/commit/4f6b2aea2dba9a92a77b2667ed98617c233bbef1))
23
+ * ignore hidden files ([230326f](https://github.com/elyukai/optolith-database-schema/commit/230326ff25c3faee88f614c3380396070efb1516))
24
+ * the file name id may be 0 for custom entries ([8b1144e](https://github.com/elyukai/optolith-database-schema/commit/8b1144e6f13b46a9ef5aa1824d987ab70cfb8a95))
25
+ * uppercase letters should be allowed after the first letter ([50b2020](https://github.com/elyukai/optolith-database-schema/commit/50b2020bd6ed81c44d944cb8048b966c72b8fb38))
26
+
5
27
  ## [0.9.0](https://github.com/elyukai/optolith-database-schema/compare/v0.8.1...v0.9.0) (2023-01-14)
6
28
 
7
29
 
package/lib/config.d.ts CHANGED
@@ -152,7 +152,7 @@ import * as WandEnchantment from "./types/traditionArtifacts/WandEnchantment.js"
152
152
  import * as WeaponEnchantment from "./types/traditionArtifacts/WeaponEnchantment.js";
153
153
  import * as UI from "./types/UI.js";
154
154
  import { TypeValidator } from "./validation/schema.js";
155
- export declare type TypeMap = {
155
+ export type TypeMap = {
156
156
  advancedCombatSpecialAbilities: AdvancedCombatSpecialAbility.AdvancedCombatSpecialAbility;
157
157
  advancedKarmaSpecialAbilities: AdvancedKarmaSpecialAbility.AdvancedKarmaSpecialAbility;
158
158
  advancedMagicalSpecialAbilities: AdvancedMagicalSpecialAbility.AdvancedMagicalSpecialAbility;
package/lib/main.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { TypeMap } from "./config.js";
2
2
  import { TypeValidationResultErrors } from "./validation/schema.js";
3
- declare type Result = {
3
+ type Result = {
4
4
  tag: "Ok";
5
5
  value: {
6
6
  [K in keyof TypeMap]: TypeMap[K][];
@@ -9,12 +9,12 @@ declare type Result = {
9
9
  tag: "Error";
10
10
  errors: Record<string, TypeValidationResultErrors>;
11
11
  };
12
- export declare type EntityDirectoryPaths = {
12
+ export type EntityDirectoryPaths = {
13
13
  [K in keyof TypeMap]: string;
14
14
  };
15
15
  export declare const validate: (entityDirPaths: EntityDirectoryPaths, checkIntegrity: boolean) => Promise<Result>;
16
16
  export declare const printErrors: (errorsByFile: Record<string, TypeValidationResultErrors>, printOptions?: PrintOptions) => string;
17
- export declare type PrintOptions = {
17
+ export type PrintOptions = {
18
18
  verbose?: boolean;
19
19
  };
20
20
  export {};
package/lib/main.js CHANGED
@@ -8,10 +8,12 @@ import { jsonSchemaDir } from "../config/directories.js";
8
8
  import { typeValidatorMap } from "./config.js";
9
9
  const readdirRecursive = async (dirPath) => {
10
10
  const directoryEntries = await readdir(dirPath, { withFileTypes: true });
11
- const flattenedRecursivePaths = await Promise.all(directoryEntries.map(async (dirEntry) => {
11
+ const flattenedRecursivePaths = await Promise.all(directoryEntries
12
+ .filter(dirEntry => !dirEntry.name.startsWith("."))
13
+ .map(async (dirEntry) => {
12
14
  const absoluteEntryPath = join(dirPath, dirEntry.name);
13
15
  if (dirEntry.isDirectory()) {
14
- return await readdirRecursive(absoluteEntryPath);
16
+ return (await readdirRecursive(absoluteEntryPath));
15
17
  }
16
18
  else if (dirEntry.isFile()) {
17
19
  return [absoluteEntryPath];
@@ -39,7 +41,9 @@ const collator = Intl.Collator(undefined, { numeric: true });
39
41
  const readDataFileAssocsFromDirectory = async (dirPath) => {
40
42
  const filenames = await readdir(dirPath);
41
43
  filenames.sort(collator.compare);
42
- return await Promise.all(filenames.map(async (fileName) => {
44
+ return await Promise.all(filenames
45
+ .filter(fileName => !fileName.startsWith("."))
46
+ .map(async (fileName) => {
43
47
  const filePath = join(dirPath, fileName);
44
48
  try {
45
49
  const fileContent = YAML.parse(await readFile(join(dirPath, fileName), "utf-8"));
@@ -111,6 +115,7 @@ export const validate = async (entityDirPaths, checkIntegrity) => {
111
115
  export const printErrors = (errorsByFile, printOptions = {}) => {
112
116
  const { verbose = false } = printOptions;
113
117
  return Object.entries(errorsByFile)
118
+ .sort(([filePathA], [filePathB]) => collator.compare(filePathA, filePathB))
114
119
  .flatMap(([filePath, errors]) => {
115
120
  if (verbose) {
116
121
  return filterNullable([
@@ -1,15 +1,15 @@
1
1
  /**
2
2
  * @main Advantage
3
3
  */
4
- import { Errata } from "./source/_Erratum.js";
5
- import { PublicationRefs } from "./source/_PublicationRef.js";
6
4
  import * as Activatable from "./_Activatable.js";
7
5
  import { LocaleMap } from "./_LocaleMap.js";
8
6
  import { AdvantageDisadvantagePrerequisites } from "./_Prerequisite.js";
7
+ import { Errata } from "./source/_Erratum.js";
8
+ import { PublicationRefs } from "./source/_PublicationRef.js";
9
9
  /**
10
10
  * @title Advantage
11
11
  */
12
- export declare type Advantage = {
12
+ export type Advantage = {
13
13
  id: Activatable.Id;
14
14
  levels?: Activatable.Levels;
15
15
  select_options?: Activatable.SelectOptions;
@@ -36,9 +36,13 @@ export declare type Advantage = {
36
36
  */
37
37
  translations: LocaleMap<AdvantageTranslation>;
38
38
  };
39
- export declare type AdvantageTranslation = {
39
+ export type AdvantageTranslation = {
40
40
  name: Activatable.Name;
41
41
  name_in_library?: Activatable.NameInLibrary;
42
+ /**
43
+ * A string that is used as a label for an input field.
44
+ */
45
+ input?: Activatable.Input;
42
46
  rules: Activatable.Rules;
43
47
  /**
44
48
  * The range.
@@ -46,6 +50,13 @@ export declare type AdvantageTranslation = {
46
50
  * @minLength 1
47
51
  */
48
52
  range?: string;
53
+ ap_value?: Activatable.AdventurePointsValueReplacement;
54
+ /**
55
+ * A string that gets appended to the default AP Value text with a preceding
56
+ * space. This always happens if present, even if the generated AP Value text
57
+ * is replaced.
58
+ */
59
+ ap_value_append?: Activatable.AdventurePointsValueAppend;
49
60
  errata?: Errata;
50
61
  };
51
62
  export declare const validateSchema: import("../validation/schema.js").TypeValidator<Advantage>;
@@ -8,7 +8,7 @@ import { AnimalTypeReference } from "./_SimpleReferences.js";
8
8
  /**
9
9
  * @title Animal Disease
10
10
  */
11
- export declare type AnimalDisease = {
11
+ export type AnimalDisease = {
12
12
  /**
13
13
  * The animal disease's identifier. An unique, increasing integer.
14
14
  * @integer
@@ -6,7 +6,7 @@ import { NonEmptyString } from "./_NonEmptyString.js";
6
6
  /**
7
7
  * @title Animal Type
8
8
  */
9
- export declare type AnimalType = {
9
+ export type AnimalType = {
10
10
  /**
11
11
  * The animal type's identifier. An unique, increasing integer.
12
12
  * @integer
@@ -18,7 +18,7 @@ export declare type AnimalType = {
18
18
  */
19
19
  translations: LocaleMap<AnimalTypeTranslation>;
20
20
  };
21
- export declare type AnimalTypeTranslation = {
21
+ export type AnimalTypeTranslation = {
22
22
  /**
23
23
  * The animal type name.
24
24
  */
@@ -5,5 +5,5 @@ import { ArcaneTradition } from "./_ArcaneTradition.js";
5
5
  /**
6
6
  * @title Arcane Bard Tradition
7
7
  */
8
- export declare type ArcaneBardTradition = ArcaneTradition;
8
+ export type ArcaneBardTradition = ArcaneTradition;
9
9
  export declare const validateSchema: import("../validation/schema.js").TypeValidator<ArcaneTradition>;
@@ -5,5 +5,5 @@ import { ArcaneTradition } from "./_ArcaneTradition.js";
5
5
  /**
6
6
  * @title Arcane Dancer Tradition
7
7
  */
8
- export declare type ArcaneDancerTradition = ArcaneTradition;
8
+ export type ArcaneDancerTradition = ArcaneTradition;
9
9
  export declare const validateSchema: import("../validation/schema.js").TypeValidator<ArcaneTradition>;
@@ -6,7 +6,7 @@ import { NonEmptyString } from "./_NonEmptyString.js";
6
6
  /**
7
7
  * @title Aspect
8
8
  */
9
- export declare type Aspect = {
9
+ export type Aspect = {
10
10
  /**
11
11
  * The aspect's identifier. An unique, increasing integer.
12
12
  * @integer
@@ -18,7 +18,7 @@ export declare type Aspect = {
18
18
  */
19
19
  translations: LocaleMap<AspectTranslation>;
20
20
  };
21
- export declare type AspectTranslation = {
21
+ export type AspectTranslation = {
22
22
  /**
23
23
  * The aspect name.
24
24
  */
@@ -7,7 +7,7 @@ import { NonEmptyString } from "./_NonEmptyString.js";
7
7
  /**
8
8
  * @title Attribute
9
9
  */
10
- export declare type Attribute = {
10
+ export type Attribute = {
11
11
  /**
12
12
  * The attribute's identifier. An unique, increasing integer.
13
13
  * @integer
@@ -19,7 +19,7 @@ export declare type Attribute = {
19
19
  */
20
20
  translations: LocaleMap<AttributeTranslation>;
21
21
  };
22
- export declare type AttributeTranslation = {
22
+ export type AttributeTranslation = {
23
23
  /**
24
24
  * The attribute's name.
25
25
  */
@@ -10,7 +10,7 @@ import { LocaleMap } from "./_LocaleMap.js";
10
10
  /**
11
11
  * @title Blessing
12
12
  */
13
- export declare type Blessing = {
13
+ export type Blessing = {
14
14
  /**
15
15
  * The blessing's identifier. An unique, increasing integer.
16
16
  * @integer
@@ -31,7 +31,7 @@ export declare type Blessing = {
31
31
  */
32
32
  translations: LocaleMap<BlessingTranslation>;
33
33
  };
34
- export declare type BlessingTranslation = {
34
+ export type BlessingTranslation = {
35
35
  /**
36
36
  * The name of the blessing.
37
37
  * @minLength 1
@@ -60,11 +60,11 @@ export declare type BlessingTranslation = {
60
60
  /**
61
61
  * Measurable parameters of a blessing.
62
62
  */
63
- export declare type BlessingPerformanceParameters = {
63
+ export type BlessingPerformanceParameters = {
64
64
  range: BlessingRange;
65
65
  duration: BlessingDuration;
66
66
  };
67
- export declare type BlessingRange = {
67
+ export type BlessingRange = {
68
68
  tag: "Self";
69
69
  self: {};
70
70
  } | {
@@ -74,7 +74,7 @@ export declare type BlessingRange = {
74
74
  tag: "Fixed";
75
75
  fixed: FixedRange;
76
76
  };
77
- export declare type BlessingDuration = {
77
+ export type BlessingDuration = {
78
78
  tag: "Immediate";
79
79
  immediate: {};
80
80
  } | {
@@ -84,7 +84,7 @@ export declare type BlessingDuration = {
84
84
  tag: "Indefinite";
85
85
  indefinite: IndefiniteBlessingDuration;
86
86
  };
87
- export declare type FixedBlessingDuration = {
87
+ export type FixedBlessingDuration = {
88
88
  /**
89
89
  * The (unitless) duration.
90
90
  * @integer
@@ -96,13 +96,13 @@ export declare type FixedBlessingDuration = {
96
96
  */
97
97
  unit: DurationUnit;
98
98
  };
99
- export declare type IndefiniteBlessingDuration = {
99
+ export type IndefiniteBlessingDuration = {
100
100
  /**
101
101
  * All translations for the entry, identified by IETF language tag (BCP47).
102
102
  */
103
103
  translations: LocaleMap<IndefiniteDurationTranslation>;
104
104
  };
105
- export declare type IndefiniteDurationTranslation = {
105
+ export type IndefiniteDurationTranslation = {
106
106
  /**
107
107
  * A description of the duration.
108
108
  * @minLength 1
@@ -15,7 +15,7 @@ import { CurriculumReference, MagicalTraditionReference, PropertyReference } fro
15
15
  /**
16
16
  * @title Cantrip
17
17
  */
18
- export declare type Cantrip = {
18
+ export type Cantrip = {
19
19
  /**
20
20
  * The cantrip's identifier. An unique, increasing integer.
21
21
  * @integer
@@ -48,14 +48,14 @@ export declare type Cantrip = {
48
48
  translations: LocaleMap<CantripTranslation>;
49
49
  enhancements?: Enhancements;
50
50
  };
51
- export declare type CantripNote = {
51
+ export type CantripNote = {
52
52
  tag: "Exclusive";
53
53
  exclusive: ExclusiveCantripNote;
54
54
  } | {
55
55
  tag: "Common";
56
56
  common: CommonCantripNotes;
57
57
  };
58
- export declare type ExclusiveCantripNote = {
58
+ export type ExclusiveCantripNote = {
59
59
  /**
60
60
  * The traditions the cantrip is exclusively available to.
61
61
  * @minItems 1
@@ -63,7 +63,7 @@ export declare type ExclusiveCantripNote = {
63
63
  */
64
64
  traditions: MagicalTraditionReference[];
65
65
  };
66
- export declare type CommonCantripNotes = {
66
+ export type CommonCantripNotes = {
67
67
  /**
68
68
  * The academies and traditions the cantrip is commonly teached in.
69
69
  * @minItems 1
@@ -71,14 +71,14 @@ export declare type CommonCantripNotes = {
71
71
  */
72
72
  list: CommonCantripNote[];
73
73
  };
74
- export declare type CommonCantripNote = {
74
+ export type CommonCantripNote = {
75
75
  tag: "Academy";
76
76
  academy: CurriculumReference;
77
77
  } | {
78
78
  tag: "Tradition";
79
79
  tradition: CommonCantripTraditionNote;
80
80
  };
81
- export declare type CommonCantripTraditionNote = {
81
+ export type CommonCantripTraditionNote = {
82
82
  /**
83
83
  * The magical tradition's identifier.
84
84
  */
@@ -88,14 +88,14 @@ export declare type CommonCantripTraditionNote = {
88
88
  */
89
89
  translations?: LocaleMap<CommonCantripTraditionNoteTranslation>;
90
90
  };
91
- export declare type CommonCantripTraditionNoteTranslation = {
91
+ export type CommonCantripTraditionNoteTranslation = {
92
92
  /**
93
93
  * A note, appended to the generated string in parenthesis.
94
94
  * @minLength 1
95
95
  */
96
96
  note: string;
97
97
  };
98
- export declare type CantripTranslation = {
98
+ export type CantripTranslation = {
99
99
  /**
100
100
  * The name of the spell.
101
101
  * @minLength 1
@@ -124,11 +124,11 @@ export declare type CantripTranslation = {
124
124
  /**
125
125
  * Measurable parameters of a blessing.
126
126
  */
127
- export declare type CantripPerformanceParameters = {
127
+ export type CantripPerformanceParameters = {
128
128
  range: CantripRange;
129
129
  duration: CantripDuration;
130
130
  };
131
- export declare type CantripRange = {
131
+ export type CantripRange = {
132
132
  tag: "Self";
133
133
  self: {};
134
134
  } | {
@@ -138,7 +138,7 @@ export declare type CantripRange = {
138
138
  tag: "Fixed";
139
139
  fixed: FixedRange;
140
140
  };
141
- export declare type CantripDuration = {
141
+ export type CantripDuration = {
142
142
  tag: "Immediate";
143
143
  immediate: {};
144
144
  } | {
@@ -151,7 +151,7 @@ export declare type CantripDuration = {
151
151
  tag: "Indefinite";
152
152
  indefinite: IndefiniteCantripDuration;
153
153
  };
154
- export declare type FixedCantripDuration = {
154
+ export type FixedCantripDuration = {
155
155
  /**
156
156
  * If `true`, the duration is a maximum duration.
157
157
  */
@@ -167,13 +167,13 @@ export declare type FixedCantripDuration = {
167
167
  */
168
168
  unit: DurationUnit;
169
169
  };
170
- export declare type IndefiniteCantripDuration = {
170
+ export type IndefiniteCantripDuration = {
171
171
  /**
172
172
  * All translations for the entry, identified by IETF language tag (BCP47).
173
173
  */
174
174
  translations: LocaleMap<IndefiniteDurationTranslation>;
175
175
  };
176
- export declare type IndefiniteDurationTranslation = {
176
+ export type IndefiniteDurationTranslation = {
177
177
  /**
178
178
  * A description of the duration.
179
179
  */
@@ -16,7 +16,7 @@ import { SkillCheck, SkillCheckPenalty } from "./_SkillCheck.js";
16
16
  /**
17
17
  * @title Ceremony
18
18
  */
19
- export declare type Ceremony = {
19
+ export type Ceremony = {
20
20
  /**
21
21
  * The ceremony's identifier. An unique, increasing integer.
22
22
  * @integer
@@ -58,7 +58,7 @@ export declare type Ceremony = {
58
58
  translations: LocaleMap<CeremonyTranslation>;
59
59
  enhancements?: Enhancements;
60
60
  };
61
- export declare type CeremonyTranslation = {
61
+ export type CeremonyTranslation = {
62
62
  /**
63
63
  * The name of the ceremony.
64
64
  */
@@ -9,7 +9,7 @@ import { AttributeReference } from "./_SimpleReferences.js";
9
9
  /**
10
10
  * @title Close Combat Technique
11
11
  */
12
- export declare type CloseCombatTechnique = {
12
+ export type CloseCombatTechnique = {
13
13
  /**
14
14
  * The close combat technique's identifier. An unique, increasing integer.
15
15
  * @integer
@@ -45,7 +45,7 @@ export declare type CloseCombatTechnique = {
45
45
  * Special rules for the combat technique that apply to all weapons in this
46
46
  * category.
47
47
  */
48
- export declare type CloseCombatTechniqueSpecialRules = {
48
+ export type CloseCombatTechniqueSpecialRules = {
49
49
  /**
50
50
  * Is parrying possible with this combat technique?
51
51
  */
@@ -55,7 +55,7 @@ export declare type CloseCombatTechniqueSpecialRules = {
55
55
  has_length: boolean;
56
56
  has_shield_size: boolean;
57
57
  };
58
- export declare type CloseCombatTechniqueTranslation = {
58
+ export type CloseCombatTechniqueTranslation = {
59
59
  /**
60
60
  * The name of the condition.
61
61
  * @minLength 1
@@ -9,7 +9,7 @@ import { AttributeReference } from "./_SimpleReferences.js";
9
9
  /**
10
10
  * @title Ranged Combat Technique
11
11
  */
12
- export declare type RangedCombatTechnique = {
12
+ export type RangedCombatTechnique = {
13
13
  /**
14
14
  * The ranged combat technique's identifier. An unique, increasing integer.
15
15
  * @integer
@@ -45,10 +45,10 @@ export declare type RangedCombatTechnique = {
45
45
  * Special rules for the combat technique that apply to all weapons in this
46
46
  * category.
47
47
  */
48
- export declare type RangedCombatTechniqueSpecialRules = {
48
+ export type RangedCombatTechniqueSpecialRules = {
49
49
  has_ammunition: boolean;
50
50
  };
51
- export declare type RangedCombatTechniqueTranslation = {
51
+ export type RangedCombatTechniqueTranslation = {
52
52
  /**
53
53
  * The name of the condition.
54
54
  * @minLength 1
@@ -8,7 +8,7 @@ import { NonEmptyMarkdown, NonEmptyString } from "./_NonEmptyString.js";
8
8
  /**
9
9
  * @title Condition
10
10
  */
11
- export declare type Condition = {
11
+ export type Condition = {
12
12
  /**
13
13
  * The condition's identifier. An unique, increasing integer.
14
14
  * @integer
@@ -21,7 +21,7 @@ export declare type Condition = {
21
21
  */
22
22
  translations: LocaleMap<ConditionTranslation>;
23
23
  };
24
- export declare type ConditionTranslation = {
24
+ export type ConditionTranslation = {
25
25
  /**
26
26
  * The condition's name.
27
27
  */
@@ -7,7 +7,7 @@ import { LocaleMap } from "./_LocaleMap.js";
7
7
  * specific continent.
8
8
  * @title Continent
9
9
  */
10
- export declare type Continent = {
10
+ export type Continent = {
11
11
  /**
12
12
  * The continent's identifier. An unique, increasing integer.
13
13
  * @integer
@@ -19,7 +19,7 @@ export declare type Continent = {
19
19
  */
20
20
  translations: LocaleMap<ContinentTranslation>;
21
21
  };
22
- export declare type ContinentTranslation = {
22
+ export type ContinentTranslation = {
23
23
  /**
24
24
  * The continent name.
25
25
  * @minLength 1
@@ -12,7 +12,7 @@ import { LanguageReference, ProfessionReference, ProfessionVariantReference, Scr
12
12
  /**
13
13
  * @title Culture
14
14
  */
15
- export declare type Culture = {
15
+ export type Culture = {
16
16
  /**
17
17
  * An unique, increasing integer.
18
18
  * @integer
@@ -90,7 +90,7 @@ export declare type Culture = {
90
90
  /**
91
91
  * If the area knowledge has a fixed value or can be adjusted.
92
92
  */
93
- export declare type AreaKnowledge = {
93
+ export type AreaKnowledge = {
94
94
  /**
95
95
  * `true` if the area knowledge has a fixed value, `false` if it can be
96
96
  * adjusted.
@@ -111,7 +111,7 @@ export declare enum Weight {
111
111
  * may be cultures where some professions or profession variants are not
112
112
  * represented at all.
113
113
  */
114
- export declare type Weighted<ProfessionOrVariant> = {
114
+ export type Weighted<ProfessionOrVariant> = {
115
115
  /**
116
116
  * The list of more common professions or profession variants.
117
117
  * @minItems 1
@@ -138,7 +138,7 @@ export declare enum CommonProfessionConstraintsOperation {
138
138
  * A list of professions. The filter specifies how the list is applied to
139
139
  * all mundane professions.
140
140
  */
141
- export declare type CommonProfessionConstraints<Constraint> = {
141
+ export type CommonProfessionConstraints<Constraint> = {
142
142
  /**
143
143
  * The list of constraints.
144
144
  * @minItems 1
@@ -159,7 +159,7 @@ export declare enum Rarity {
159
159
  Rare = "Rare",
160
160
  VeryRare = "VeryRare"
161
161
  }
162
- export declare type ProfessionConstraint = {
162
+ export type ProfessionConstraint = {
163
163
  /**
164
164
  * The profession's identifier.
165
165
  */
@@ -183,7 +183,7 @@ export declare enum MundaneProfessionSubgroupConstraint {
183
183
  Fighter = "Fighter",
184
184
  Religious = "Religious"
185
185
  }
186
- export declare type MagicalTraditionConstraint = {
186
+ export type MagicalTraditionConstraint = {
187
187
  /**
188
188
  * The magical tradition's identifier.
189
189
  */
@@ -198,7 +198,7 @@ export declare type MagicalTraditionConstraint = {
198
198
  */
199
199
  rarity?: Rarity;
200
200
  };
201
- export declare type BlessedTraditionConstraint = {
201
+ export type BlessedTraditionConstraint = {
202
202
  /**
203
203
  * The magical tradition's identifier.
204
204
  */
@@ -213,14 +213,14 @@ export declare type BlessedTraditionConstraint = {
213
213
  */
214
214
  rarity?: Rarity;
215
215
  };
216
- export declare type MundaneCommonProfessionConstraint = {
216
+ export type MundaneCommonProfessionConstraint = {
217
217
  tag: "Profession";
218
218
  profession: ProfessionConstraint;
219
219
  } | {
220
220
  tag: "ProfessionSubgroup";
221
221
  profession_subgroup: MundaneProfessionSubgroupConstraint;
222
222
  };
223
- export declare type MagicCommonProfessionConstraint = {
223
+ export type MagicCommonProfessionConstraint = {
224
224
  tag: "Tradition";
225
225
  tradition: MagicalTraditionConstraint;
226
226
  } | {
@@ -230,16 +230,16 @@ export declare type MagicCommonProfessionConstraint = {
230
230
  tag: "Profession";
231
231
  profession: ProfessionConstraint;
232
232
  };
233
- export declare type BlessedCommonProfessionConstraint = {
233
+ export type BlessedCommonProfessionConstraint = {
234
234
  tag: "Tradition";
235
235
  tradition: BlessedTraditionConstraint;
236
236
  };
237
- export declare type PlainCommonProfessions = CommonProfessionConstraints<ProfessionReference>;
237
+ export type PlainCommonProfessions = CommonProfessionConstraints<ProfessionReference>;
238
238
  /**
239
239
  * Lists of professions by group.
240
240
  * @minProperties 1
241
241
  */
242
- export declare type GroupedCommonProfessions = {
242
+ export type GroupedCommonProfessions = {
243
243
  mundane?: CommonProfessionConstraints<MundaneCommonProfessionConstraint>;
244
244
  magic?: CommonProfessionConstraints<MagicCommonProfessionConstraint>;
245
245
  blessed?: CommonProfessionConstraints<BlessedCommonProfessionConstraint>;
@@ -250,15 +250,15 @@ export declare type GroupedCommonProfessions = {
250
250
  * list is either defined by group (as multiple lists) or plain (as a single
251
251
  * list).
252
252
  */
253
- export declare type CommonProfessions = {
253
+ export type CommonProfessions = {
254
254
  tag: "Plain";
255
255
  plain: PlainCommonProfessions;
256
256
  } | {
257
257
  tag: "Grouped";
258
258
  grouped: GroupedCommonProfessions;
259
259
  };
260
- export declare type CommonnessRatedSkill = SkillReference;
261
- export declare type CulturalPackageItem = {
260
+ export type CommonnessRatedSkill = SkillReference;
261
+ export type CulturalPackageItem = {
262
262
  /**
263
263
  * The skill's identifier.
264
264
  * @integer
@@ -274,7 +274,7 @@ export declare type CulturalPackageItem = {
274
274
  */
275
275
  points: number;
276
276
  };
277
- export declare type CultureTranslation = {
277
+ export type CultureTranslation = {
278
278
  /**
279
279
  * The name of the state.
280
280
  * @minLength 1
@@ -309,7 +309,7 @@ export declare type CultureTranslation = {
309
309
  /**
310
310
  * Description and examples of the area knowledge.
311
311
  */
312
- declare type AreaKnowledgeTranslation = {
312
+ type AreaKnowledgeTranslation = {
313
313
  /**
314
314
  * The full description without examples in parenthesis.
315
315
  * @minLength 1
@@ -327,7 +327,7 @@ declare type AreaKnowledgeTranslation = {
327
327
  */
328
328
  examples?: AreaKnowledgeExample[];
329
329
  };
330
- export declare type AreaKnowledgeExample = {
330
+ export type AreaKnowledgeExample = {
331
331
  /**
332
332
  * @minLength 1
333
333
  */
@@ -337,7 +337,7 @@ export declare type AreaKnowledgeExample = {
337
337
  * Structured description of common names.
338
338
  * @minProperties 1
339
339
  */
340
- export declare type CommonNames = {
340
+ export type CommonNames = {
341
341
  /**
342
342
  * First names can be gender-neutral, but they can also be for a specific
343
343
  * binary sex. They are sorted into groups.
@@ -355,7 +355,7 @@ export declare type CommonNames = {
355
355
  */
356
356
  naming_rules?: NonEmptyString;
357
357
  };
358
- export declare type NameGroup = {
358
+ export type NameGroup = {
359
359
  /**
360
360
  * The group label.
361
361
  */
@@ -370,7 +370,7 @@ export declare type NameGroup = {
370
370
  */
371
371
  names: Name[];
372
372
  };
373
- export declare type Name = {
373
+ export type Name = {
374
374
  name: NonEmptyString;
375
375
  /**
376
376
  * Additional information about the name, appended in parenthesis.