optolith-database-schema 0.0.4 → 0.1.0

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 (210) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/lib/types/Advantage.d.ts +48 -0
  3. package/lib/types/Advantage.js +4 -0
  4. package/lib/types/ArcaneBardTradition.d.ts +2 -2
  5. package/lib/types/ArcaneDancerTradition.d.ts +2 -2
  6. package/lib/types/Ceremony.d.ts +2 -2
  7. package/lib/types/Continent.d.ts +32 -0
  8. package/lib/types/Continent.js +4 -0
  9. package/lib/types/DerivedCharacteristic.d.ts +2 -2
  10. package/lib/types/Disadvantage.d.ts +46 -0
  11. package/lib/types/Disadvantage.js +4 -0
  12. package/lib/types/LiturgicalChant.d.ts +2 -2
  13. package/lib/types/Patron.d.ts +197 -0
  14. package/lib/types/Patron.js +4 -0
  15. package/lib/types/PatronCategory.d.ts +44 -0
  16. package/lib/types/PatronCategory.js +4 -0
  17. package/lib/types/Ritual.d.ts +2 -2
  18. package/lib/types/Spell.d.ts +2 -2
  19. package/lib/types/_Activatable.d.ts +528 -0
  20. package/lib/types/_Activatable.js +5 -0
  21. package/lib/types/_Enhancements.d.ts +2 -2
  22. package/lib/types/_I18n.d.ts +38 -0
  23. package/lib/types/_I18n.js +1 -0
  24. package/lib/types/_Identifier.d.ts +81 -75
  25. package/lib/types/_Identifier.js +76 -1
  26. package/lib/types/_Influence.d.ts +52 -0
  27. package/lib/types/_Influence.js +4 -0
  28. package/lib/types/_Prerequisite.d.ts +343 -296
  29. package/lib/types/_Prerequisite.js +136 -183
  30. package/lib/types/magicalActions/GeodeRitual.d.ts +2 -2
  31. package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +34 -0
  32. package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +4 -0
  33. package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +32 -0
  34. package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +4 -0
  35. package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +32 -0
  36. package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +4 -0
  37. package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +32 -0
  38. package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +4 -0
  39. package/lib/types/specialAbility/AncestorGlyph.d.ts +30 -0
  40. package/lib/types/specialAbility/AncestorGlyph.js +4 -0
  41. package/lib/types/specialAbility/BlessedTradition.d.ts +170 -0
  42. package/lib/types/specialAbility/BlessedTradition.js +4 -0
  43. package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +32 -0
  44. package/lib/types/specialAbility/BrawlingSpecialAbility.js +4 -0
  45. package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +33 -0
  46. package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +4 -0
  47. package/lib/types/specialAbility/CombatSpecialAbility.d.ts +34 -0
  48. package/lib/types/specialAbility/CombatSpecialAbility.js +4 -0
  49. package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +43 -0
  50. package/lib/types/specialAbility/CombatStyleSpecialAbility.js +4 -0
  51. package/lib/types/specialAbility/CommandSpecialAbility.d.ts +32 -0
  52. package/lib/types/specialAbility/CommandSpecialAbility.js +4 -0
  53. package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +30 -0
  54. package/lib/types/specialAbility/FamiliarSpecialAbility.js +4 -0
  55. package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +30 -0
  56. package/lib/types/specialAbility/FatePointSexSpecialAbility.js +4 -0
  57. package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +32 -0
  58. package/lib/types/specialAbility/FatePointSpecialAbility.js +4 -0
  59. package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +32 -0
  60. package/lib/types/specialAbility/GeneralSpecialAbility.js +4 -0
  61. package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +30 -0
  62. package/lib/types/specialAbility/KarmaSpecialAbility.js +4 -0
  63. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +33 -0
  64. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +4 -0
  65. package/lib/types/specialAbility/LycantropicGift.d.ts +30 -0
  66. package/lib/types/specialAbility/LycantropicGift.js +4 -0
  67. package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +33 -0
  68. package/lib/types/specialAbility/MagicStyleSpecialAbility.js +4 -0
  69. package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +32 -0
  70. package/lib/types/specialAbility/MagicalSpecialAbility.js +4 -0
  71. package/lib/types/specialAbility/MagicalTradition.d.ts +130 -0
  72. package/lib/types/specialAbility/MagicalTradition.js +4 -0
  73. package/lib/types/specialAbility/PactGift.d.ts +86 -0
  74. package/lib/types/specialAbility/PactGift.js +4 -0
  75. package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +41 -0
  76. package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +4 -0
  77. package/lib/types/specialAbility/Sermon.d.ts +30 -0
  78. package/lib/types/specialAbility/Sermon.js +4 -0
  79. package/lib/types/specialAbility/SexSpecialAbility.d.ts +32 -0
  80. package/lib/types/specialAbility/SexSpecialAbility.js +4 -0
  81. package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +30 -0
  82. package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +4 -0
  83. package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +31 -0
  84. package/lib/types/specialAbility/SkillStyleSpecialAbility.js +4 -0
  85. package/lib/types/specialAbility/VampiricGift.d.ts +30 -0
  86. package/lib/types/specialAbility/VampiricGift.js +4 -0
  87. package/lib/types/specialAbility/Vision.d.ts +30 -0
  88. package/lib/types/specialAbility/Vision.js +4 -0
  89. package/lib/types/specialAbility/sub/Language.d.ts +141 -0
  90. package/lib/types/specialAbility/sub/Language.js +4 -0
  91. package/lib/types/specialAbility/sub/Script.d.ts +85 -0
  92. package/lib/types/specialAbility/sub/Script.js +4 -0
  93. package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +31 -0
  94. package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +4 -0
  95. package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +31 -0
  96. package/lib/types/traditionArtifacts/AttireEnchantment.js +4 -0
  97. package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +31 -0
  98. package/lib/types/traditionArtifacts/BowlEnchantment.js +4 -0
  99. package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +44 -0
  100. package/lib/types/traditionArtifacts/CauldronEnchantment.js +4 -0
  101. package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +31 -0
  102. package/lib/types/traditionArtifacts/ChronicleEnchantment.js +4 -0
  103. package/lib/types/traditionArtifacts/DaggerRitual.d.ts +31 -0
  104. package/lib/types/traditionArtifacts/DaggerRitual.js +4 -0
  105. package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +31 -0
  106. package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +4 -0
  107. package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +31 -0
  108. package/lib/types/traditionArtifacts/InstrumentEnchantment.js +4 -0
  109. package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +31 -0
  110. package/lib/types/traditionArtifacts/Krallenkettenzauber.js +4 -0
  111. package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +31 -0
  112. package/lib/types/traditionArtifacts/OrbEnchantment.js +4 -0
  113. package/lib/types/traditionArtifacts/RingEnchantment.d.ts +31 -0
  114. package/lib/types/traditionArtifacts/RingEnchantment.js +4 -0
  115. package/lib/types/traditionArtifacts/SickleRitual.d.ts +31 -0
  116. package/lib/types/traditionArtifacts/SickleRitual.js +4 -0
  117. package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +31 -0
  118. package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +4 -0
  119. package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +31 -0
  120. package/lib/types/traditionArtifacts/StaffEnchantment.js +4 -0
  121. package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +31 -0
  122. package/lib/types/traditionArtifacts/ToyEnchantment.js +4 -0
  123. package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +31 -0
  124. package/lib/types/traditionArtifacts/Trinkhornzauber.js +4 -0
  125. package/lib/types/traditionArtifacts/WandEnchantment.d.ts +31 -0
  126. package/lib/types/traditionArtifacts/WandEnchantment.js +4 -0
  127. package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +31 -0
  128. package/lib/types/traditionArtifacts/WeaponEnchantment.js +4 -0
  129. package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +42 -0
  130. package/lib/types/traditionArtifacts/sub/AnimalShape.js +4 -0
  131. package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +30 -0
  132. package/lib/types/traditionArtifacts/sub/AnimalShapePath.js +4 -0
  133. package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +42 -0
  134. package/lib/types/traditionArtifacts/sub/AnimalShapeSize.js +4 -0
  135. package/lib/types/traditionArtifacts/sub/Brew.d.ts +30 -0
  136. package/lib/types/traditionArtifacts/sub/Brew.js +4 -0
  137. package/package.json +1 -1
  138. package/schema/Advantage.schema.json +81 -0
  139. package/schema/ArcaneBardTradition.schema.json +1 -1
  140. package/schema/ArcaneDancerTradition.schema.json +1 -1
  141. package/schema/Ceremony.schema.json +1 -1
  142. package/schema/Continent.schema.json +46 -0
  143. package/schema/DerivedCharacteristic.schema.json +1 -1
  144. package/schema/Disadvantage.schema.json +75 -0
  145. package/schema/LiturgicalChant.schema.json +1 -1
  146. package/schema/Patron.schema.json +407 -0
  147. package/schema/PatronCategory.schema.json +66 -0
  148. package/schema/Ritual.schema.json +1 -1
  149. package/schema/Spell.schema.json +1 -1
  150. package/schema/_Activatable.schema.json +1182 -0
  151. package/schema/_Enhancements.schema.json +1 -1
  152. package/schema/_I18n.schema.json +38 -0
  153. package/schema/_Identifier.schema.json +90 -113
  154. package/schema/_Influence.schema.json +77 -0
  155. package/schema/_Prerequisite.schema.json +703 -573
  156. package/schema/magicalActions/GeodeRitual.schema.json +1 -1
  157. package/schema/source/Publication.schema.json +1 -1
  158. package/schema/specialAbility/AdvancedCombatSpecialAbility.schema.json +76 -0
  159. package/schema/specialAbility/AdvancedKarmaSpecialAbility.schema.json +68 -0
  160. package/schema/specialAbility/AdvancedMagicalSpecialAbility.schema.json +68 -0
  161. package/schema/specialAbility/AdvancedSkillSpecialAbility.schema.json +68 -0
  162. package/schema/specialAbility/AncestorGlyph.schema.json +62 -0
  163. package/schema/specialAbility/BlessedTradition.schema.json +300 -0
  164. package/schema/specialAbility/BrawlingSpecialAbility.schema.json +70 -0
  165. package/schema/specialAbility/CeremonialItemSpecialAbility.schema.json +72 -0
  166. package/schema/specialAbility/CombatSpecialAbility.schema.json +76 -0
  167. package/schema/specialAbility/CombatStyleSpecialAbility.schema.json +110 -0
  168. package/schema/specialAbility/CommandSpecialAbility.schema.json +70 -0
  169. package/schema/specialAbility/FamiliarSpecialAbility.schema.json +62 -0
  170. package/schema/specialAbility/FatePointSexSpecialAbility.schema.json +62 -0
  171. package/schema/specialAbility/FatePointSpecialAbility.schema.json +68 -0
  172. package/schema/specialAbility/GeneralSpecialAbility.schema.json +68 -0
  173. package/schema/specialAbility/KarmaSpecialAbility.schema.json +62 -0
  174. package/schema/specialAbility/LiturgicalStyleSpecialAbility.schema.json +72 -0
  175. package/schema/specialAbility/LycantropicGift.schema.json +62 -0
  176. package/schema/specialAbility/MagicStyleSpecialAbility.schema.json +72 -0
  177. package/schema/specialAbility/MagicalSpecialAbility.schema.json +68 -0
  178. package/schema/specialAbility/MagicalTradition.schema.json +181 -0
  179. package/schema/specialAbility/PactGift.schema.json +215 -0
  180. package/schema/specialAbility/ProtectiveWardingCircleSpecialAbility.schema.json +70 -0
  181. package/schema/specialAbility/Sermon.schema.json +62 -0
  182. package/schema/specialAbility/SexSpecialAbility.schema.json +68 -0
  183. package/schema/specialAbility/SikaryanDrainSpecialAbility.schema.json +62 -0
  184. package/schema/specialAbility/SkillStyleSpecialAbility.schema.json +66 -0
  185. package/schema/specialAbility/VampiricGift.schema.json +62 -0
  186. package/schema/specialAbility/Vision.schema.json +62 -0
  187. package/schema/specialAbility/sub/Language.schema.json +215 -0
  188. package/schema/specialAbility/sub/Script.schema.json +127 -0
  189. package/schema/traditionArtifacts/ArcaneOrbEnchantment.schema.json +66 -0
  190. package/schema/traditionArtifacts/AttireEnchantment.schema.json +66 -0
  191. package/schema/traditionArtifacts/BowlEnchantment.schema.json +66 -0
  192. package/schema/traditionArtifacts/CauldronEnchantment.schema.json +83 -0
  193. package/schema/traditionArtifacts/ChronicleEnchantment.schema.json +66 -0
  194. package/schema/traditionArtifacts/DaggerRitual.schema.json +66 -0
  195. package/schema/traditionArtifacts/FoolsHatEnchantment.schema.json +66 -0
  196. package/schema/traditionArtifacts/InstrumentEnchantment.schema.json +66 -0
  197. package/schema/traditionArtifacts/Krallenkettenzauber.schema.json +66 -0
  198. package/schema/traditionArtifacts/OrbEnchantment.schema.json +66 -0
  199. package/schema/traditionArtifacts/RingEnchantment.schema.json +66 -0
  200. package/schema/traditionArtifacts/SickleRitual.schema.json +66 -0
  201. package/schema/traditionArtifacts/SpellSwordEnchantment.schema.json +66 -0
  202. package/schema/traditionArtifacts/StaffEnchantment.schema.json +66 -0
  203. package/schema/traditionArtifacts/ToyEnchantment.schema.json +66 -0
  204. package/schema/traditionArtifacts/Trinkhornzauber.schema.json +66 -0
  205. package/schema/traditionArtifacts/WandEnchantment.schema.json +66 -0
  206. package/schema/traditionArtifacts/WeaponEnchantment.schema.json +66 -0
  207. package/schema/traditionArtifacts/sub/AnimalShape.schema.json +57 -0
  208. package/schema/traditionArtifacts/sub/AnimalShapePath.schema.json +45 -0
  209. package/schema/traditionArtifacts/sub/AnimalShapeSize.schema.json +57 -0
  210. package/schema/traditionArtifacts/sub/Brew.schema.json +45 -0
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @main Trinkhornzauber
3
+ */
4
+ import { Errata } from "../source/_Erratum";
5
+ import { PublicationRefs } from "../source/_PublicationRef";
6
+ import * as Activatable from "../_Activatable";
7
+ /**
8
+ * @title Trinkhornzauber
9
+ */
10
+ export declare type Trinkhornzauber = {
11
+ id: Activatable.Id;
12
+ levels?: Activatable.Levels;
13
+ property: Activatable.Property;
14
+ ap_value: Activatable.AdventurePointsValue;
15
+ src: PublicationRefs;
16
+ /**
17
+ * All translations for the entry, identified by IETF language tag (BCP47).
18
+ * @minProperties 1
19
+ */
20
+ translations: {
21
+ /**
22
+ * @patternProperties ^[a-z]{2}-[A-Z]{2}$
23
+ */
24
+ [localeId: string]: {
25
+ name: Activatable.Name;
26
+ name_in_library?: Activatable.NameInLibrary;
27
+ effect: Activatable.Effect;
28
+ errata?: Errata;
29
+ };
30
+ };
31
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @main Trinkhornzauber
3
+ */
4
+ export {};
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @main WandEnchantment
3
+ */
4
+ import { Errata } from "../source/_Erratum";
5
+ import { PublicationRefs } from "../source/_PublicationRef";
6
+ import * as Activatable from "../_Activatable";
7
+ /**
8
+ * @title Wand Enchantment
9
+ */
10
+ export declare type WandEnchantment = {
11
+ id: Activatable.Id;
12
+ levels?: Activatable.Levels;
13
+ property: Activatable.Property;
14
+ ap_value: Activatable.AdventurePointsValue;
15
+ src: PublicationRefs;
16
+ /**
17
+ * All translations for the entry, identified by IETF language tag (BCP47).
18
+ * @minProperties 1
19
+ */
20
+ translations: {
21
+ /**
22
+ * @patternProperties ^[a-z]{2}-[A-Z]{2}$
23
+ */
24
+ [localeId: string]: {
25
+ name: Activatable.Name;
26
+ name_in_library?: Activatable.NameInLibrary;
27
+ effect: Activatable.Effect;
28
+ errata?: Errata;
29
+ };
30
+ };
31
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @main WandEnchantment
3
+ */
4
+ export {};
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @main WeaponEnchantment
3
+ */
4
+ import { Errata } from "../source/_Erratum";
5
+ import { PublicationRefs } from "../source/_PublicationRef";
6
+ import * as Activatable from "../_Activatable";
7
+ /**
8
+ * @title Weapon Enchantment
9
+ */
10
+ export declare type WeaponEnchantment = {
11
+ id: Activatable.Id;
12
+ levels?: Activatable.Levels;
13
+ property: Activatable.Property;
14
+ ap_value: Activatable.AdventurePointsValue;
15
+ src: PublicationRefs;
16
+ /**
17
+ * All translations for the entry, identified by IETF language tag (BCP47).
18
+ * @minProperties 1
19
+ */
20
+ translations: {
21
+ /**
22
+ * @patternProperties ^[a-z]{2}-[A-Z]{2}$
23
+ */
24
+ [localeId: string]: {
25
+ name: Activatable.Name;
26
+ name_in_library?: Activatable.NameInLibrary;
27
+ effect: Activatable.Effect;
28
+ errata?: Errata;
29
+ };
30
+ };
31
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @main WeaponEnchantment
3
+ */
4
+ export {};
@@ -0,0 +1,42 @@
1
+ /**
2
+ * @main AnimalShape
3
+ */
4
+ /**
5
+ * @title Animal Shape
6
+ */
7
+ export declare type AnimalShape = {
8
+ /**
9
+ * The animal shape's identifier. An unique, increasing integer.
10
+ * @integer
11
+ * @minimum 1
12
+ */
13
+ id: number;
14
+ /**
15
+ * The identifier of the animal shape's path.
16
+ * @integer
17
+ * @minimum 1
18
+ */
19
+ path_id: number;
20
+ /**
21
+ * The identifier of the animal shape's size.
22
+ * @integer
23
+ * @minimum 1
24
+ */
25
+ size_id: number;
26
+ /**
27
+ * All translations for the entry, identified by IETF language tag (BCP47).
28
+ * @minProperties 1
29
+ */
30
+ translations: {
31
+ /**
32
+ * @patternProperties ^[a-z]{2}-[A-Z]{2}$
33
+ */
34
+ [localeId: string]: {
35
+ /**
36
+ * The animal shape name.
37
+ * @minLength 1
38
+ */
39
+ name: string;
40
+ };
41
+ };
42
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @main AnimalShape
3
+ */
4
+ export {};
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @main AnimalShapePath
3
+ */
4
+ /**
5
+ * @title Animal Shape Path
6
+ */
7
+ export declare type AnimalShapePath = {
8
+ /**
9
+ * The animal shape path's identifier. An unique, increasing integer.
10
+ * @integer
11
+ * @minimum 1
12
+ */
13
+ id: number;
14
+ /**
15
+ * All translations for the entry, identified by IETF language tag (BCP47).
16
+ * @minProperties 1
17
+ */
18
+ translations: {
19
+ /**
20
+ * @patternProperties ^[a-z]{2}-[A-Z]{2}$
21
+ */
22
+ [localeId: string]: {
23
+ /**
24
+ * The animal shape path's name.
25
+ * @minLength 1
26
+ */
27
+ name: string;
28
+ };
29
+ };
30
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @main AnimalShapePath
3
+ */
4
+ export {};
@@ -0,0 +1,42 @@
1
+ /**
2
+ * @main AnimalShape
3
+ */
4
+ /**
5
+ * @title Animal Shape
6
+ */
7
+ export declare type AnimalShape = {
8
+ /**
9
+ * The animal shape's identifier. An unique, increasing integer.
10
+ * @integer
11
+ * @minimum 1
12
+ */
13
+ id: number;
14
+ /**
15
+ * The volume points the animal shape needs.
16
+ * @integer
17
+ * @minimum 1
18
+ */
19
+ volume: number;
20
+ /**
21
+ * The adventure point value of the animal shape.
22
+ * @integer
23
+ * @minimum 1
24
+ */
25
+ ap_value: number;
26
+ /**
27
+ * All translations for the entry, identified by IETF language tag (BCP47).
28
+ * @minProperties 1
29
+ */
30
+ translations: {
31
+ /**
32
+ * @patternProperties ^[a-z]{2}-[A-Z]{2}$
33
+ */
34
+ [localeId: string]: {
35
+ /**
36
+ * The animal shape size name.
37
+ * @minLength 1
38
+ */
39
+ name: string;
40
+ };
41
+ };
42
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @main AnimalShape
3
+ */
4
+ export {};
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @main Brew
3
+ */
4
+ /**
5
+ * @title Brew
6
+ */
7
+ export declare type Brew = {
8
+ /**
9
+ * The brew's identifier. An unique, increasing integer.
10
+ * @integer
11
+ * @minimum 1
12
+ */
13
+ id: number;
14
+ /**
15
+ * All translations for the entry, identified by IETF language tag (BCP47).
16
+ * @minProperties 1
17
+ */
18
+ translations: {
19
+ /**
20
+ * @patternProperties ^[a-z]{2}-[A-Z]{2}$
21
+ */
22
+ [localeId: string]: {
23
+ /**
24
+ * The brew name.
25
+ * @minLength 1
26
+ */
27
+ name: string;
28
+ };
29
+ };
30
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * @main Brew
3
+ */
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optolith-database-schema",
3
- "version": "0.0.4",
3
+ "version": "0.1.0",
4
4
  "description": "Definitions and utilities for the flat-file database of Optolith, a character creation tool for the Pen and Paper RPG “The Dark Eye 5”, and its external integrations into other software.",
5
5
  "keywords": [
6
6
  "tde",
@@ -0,0 +1,81 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema",
3
+ "$id": "Advantage.schema.json",
4
+ "$ref": "#/definitions/Advantage",
5
+ "definitions": {
6
+ "Advantage": {
7
+ "title": "Advantage",
8
+ "type": "object",
9
+ "properties": {
10
+ "id": {
11
+ "$ref": "#/definitions/Id"
12
+ },
13
+ "levels": {
14
+ "$ref": "#/definitions/Levels"
15
+ },
16
+ "skill_applications": {
17
+ "$ref": "#/definitions/SkillApplications"
18
+ },
19
+ "skill_uses": {
20
+ "$ref": "#/definitions/SkillUses"
21
+ },
22
+ "ap_value": {
23
+ "$ref": "#/definitions/AdventurePointsValue"
24
+ },
25
+ "has_no_maximum_spent_influence": {
26
+ "description": "Does this advantage not count towards the maximum of AP to be spent\non advantages?",
27
+ "const": true
28
+ },
29
+ "is_exclusive_to_arcane_spellworks": {
30
+ "description": "Does this advantage exclusively applies to arcane spellworks but not\nto magical actions and applications?",
31
+ "const": true
32
+ },
33
+ "src": {
34
+ "$ref": "./source/_PublicationRef.schema.json#/definitions/PublicationRefs"
35
+ },
36
+ "translations": {
37
+ "description": "All translations for the entry, identified by IETF language tag (BCP47).",
38
+ "type": "object",
39
+ "patternProperties": {
40
+ "^[a-z]{2}-[A-Z]{2}$": {
41
+ "type": "object",
42
+ "properties": {
43
+ "name": {
44
+ "$ref": "#/definitions/Name"
45
+ },
46
+ "name_in_library": {
47
+ "$ref": "#/definitions/NameInLibrary"
48
+ },
49
+ "rules": {
50
+ "$ref": "#/definitions/Rules"
51
+ },
52
+ "range": {
53
+ "description": "The range.",
54
+ "type": "string",
55
+ "minLength": 1
56
+ },
57
+ "errata": {
58
+ "$ref": "./source/_Erratum.schema.json#/definitions/Errata"
59
+ }
60
+ },
61
+ "required": [
62
+ "name",
63
+ "rules"
64
+ ],
65
+ "additionalProperties": false
66
+ }
67
+ },
68
+ "minProperties": 1,
69
+ "additionalProperties": false
70
+ }
71
+ },
72
+ "required": [
73
+ "id",
74
+ "ap_value",
75
+ "src",
76
+ "translations"
77
+ ],
78
+ "additionalProperties": false
79
+ }
80
+ }
81
+ }
@@ -13,7 +13,7 @@
13
13
  "minimum": 1
14
14
  },
15
15
  "prerequisites": {
16
- "$ref": "./_Prerequisite.schema.json#/definitions/GroupCollection/ArcaneTradition"
16
+ "$ref": "./_Prerequisite.schema.json#/definitions/Prerequisite/GroupCollection/ArcaneTradition"
17
17
  },
18
18
  "translations": {
19
19
  "description": "All translations for the entry, identified by IETF language tag (BCP47).",
@@ -13,7 +13,7 @@
13
13
  "minimum": 1
14
14
  },
15
15
  "prerequisites": {
16
- "$ref": "./_Prerequisite.schema.json#/definitions/GroupCollection/ArcaneTradition"
16
+ "$ref": "./_Prerequisite.schema.json#/definitions/Prerequisite/GroupCollection/ArcaneTradition"
17
17
  },
18
18
  "translations": {
19
19
  "description": "All translations for the entry, identified by IETF language tag (BCP47).",
@@ -41,7 +41,7 @@
41
41
  "$ref": "./_ImprovementCost.schema.json#/definitions/ImprovementCost"
42
42
  },
43
43
  "prerequisites": {
44
- "$ref": "./_Prerequisite.schema.json#/definitions/GroupCollection/Liturgy"
44
+ "$ref": "./_Prerequisite.schema.json#/definitions/Prerequisite/GroupCollection/Liturgy"
45
45
  },
46
46
  "src": {
47
47
  "$ref": "./source/_PublicationRef.schema.json#/definitions/PublicationRefs"
@@ -0,0 +1,46 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema",
3
+ "$id": "Continent.schema.json",
4
+ "$ref": "#/definitions/Continent",
5
+ "definitions": {
6
+ "Continent": {
7
+ "title": "Continent",
8
+ "description": "Continents are mostly referenced to in languages and scripts that occur on a\nspecific continent.",
9
+ "type": "object",
10
+ "properties": {
11
+ "id": {
12
+ "description": "The continent's identifier. An unique, increasing integer.",
13
+ "type": "integer",
14
+ "minimum": 1
15
+ },
16
+ "translations": {
17
+ "description": "All translations for the entry, identified by IETF language tag (BCP47).",
18
+ "type": "object",
19
+ "patternProperties": {
20
+ "^[a-z]{2}-[A-Z]{2}$": {
21
+ "type": "object",
22
+ "properties": {
23
+ "name": {
24
+ "description": "The continent name.",
25
+ "type": "string",
26
+ "minLength": 1
27
+ }
28
+ },
29
+ "required": [
30
+ "name"
31
+ ],
32
+ "additionalProperties": false
33
+ }
34
+ },
35
+ "minProperties": 1,
36
+ "additionalProperties": false
37
+ }
38
+ },
39
+ "required": [
40
+ "id",
41
+ "translations"
42
+ ],
43
+ "additionalProperties": false
44
+ }
45
+ }
46
+ }
@@ -13,7 +13,7 @@
13
13
  "minimum": 1
14
14
  },
15
15
  "prerequisites": {
16
- "$ref": "./_Prerequisite.schema.json#/definitions/GroupCollection/DerivedCharacteristic"
16
+ "$ref": "./_Prerequisite.schema.json#/definitions/Prerequisite/GroupCollection/DerivedCharacteristic"
17
17
  },
18
18
  "src": {
19
19
  "$ref": "./source/_PublicationRef.schema.json#/definitions/PublicationRefs"
@@ -0,0 +1,75 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema",
3
+ "$id": "Disadvantage.schema.json",
4
+ "$ref": "#/definitions/Disadvantage",
5
+ "definitions": {
6
+ "Disadvantage": {
7
+ "title": "Disadvantage",
8
+ "type": "object",
9
+ "properties": {
10
+ "id": {
11
+ "$ref": "#/definitions/Id"
12
+ },
13
+ "levels": {
14
+ "$ref": "#/definitions/Levels"
15
+ },
16
+ "ap_value": {
17
+ "$ref": "#/definitions/AdventurePointsValue"
18
+ },
19
+ "has_no_maximum_spent_influence": {
20
+ "description": "Does this disadvantage not count towards the maximum of AP to be granted by\ndisadvantages?",
21
+ "const": true
22
+ },
23
+ "is_exclusive_to_arcane_spellworks": {
24
+ "description": "Does this disadvantage exclusively applies to arcane spellworks but not\nto magical actions and applications?",
25
+ "const": true
26
+ },
27
+ "src": {
28
+ "$ref": "./source/_PublicationRef.schema.json#/definitions/PublicationRefs"
29
+ },
30
+ "translations": {
31
+ "description": "All translations for the entry, identified by IETF language tag (BCP47).",
32
+ "type": "object",
33
+ "patternProperties": {
34
+ "^[a-z]{2}-[A-Z]{2}$": {
35
+ "type": "object",
36
+ "properties": {
37
+ "name": {
38
+ "$ref": "#/definitions/Name"
39
+ },
40
+ "name_in_library": {
41
+ "$ref": "#/definitions/NameInLibrary"
42
+ },
43
+ "rules": {
44
+ "$ref": "#/definitions/Rules"
45
+ },
46
+ "range": {
47
+ "description": "The range.",
48
+ "type": "string",
49
+ "minLength": 1
50
+ },
51
+ "errata": {
52
+ "$ref": "./source/_Erratum.schema.json#/definitions/Errata"
53
+ }
54
+ },
55
+ "required": [
56
+ "name",
57
+ "rules"
58
+ ],
59
+ "additionalProperties": false
60
+ }
61
+ },
62
+ "minProperties": 1,
63
+ "additionalProperties": false
64
+ }
65
+ },
66
+ "required": [
67
+ "id",
68
+ "ap_value",
69
+ "src",
70
+ "translations"
71
+ ],
72
+ "additionalProperties": false
73
+ }
74
+ }
75
+ }
@@ -41,7 +41,7 @@
41
41
  "$ref": "./_ImprovementCost.schema.json#/definitions/ImprovementCost"
42
42
  },
43
43
  "prerequisites": {
44
- "$ref": "./_Prerequisite.schema.json#/definitions/GroupCollection/Liturgy"
44
+ "$ref": "./_Prerequisite.schema.json#/definitions/Prerequisite/GroupCollection/Liturgy"
45
45
  },
46
46
  "src": {
47
47
  "$ref": "./source/_PublicationRef.schema.json#/definitions/PublicationRefs"