optolith-database-schema 0.1.22 → 0.1.25

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,34 @@
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.1.25](https://github.com/elyukai/optolith-database-schema/compare/v0.1.24...v0.1.25) (2022-03-23)
6
+
7
+
8
+ ### Features
9
+
10
+ * add missing json schema definitions as placeholders ([28d2c6f](https://github.com/elyukai/optolith-database-schema/commit/28d2c6f2758fc090b4854eb8656613932841b252))
11
+
12
+ ### [0.1.24](https://github.com/elyukai/optolith-database-schema/compare/v0.1.23...v0.1.24) (2022-03-23)
13
+
14
+
15
+ ### Features
16
+
17
+ * add curriculum references and name additions ([468f96c](https://github.com/elyukai/optolith-database-schema/commit/468f96ce9af3b6f3135f959c9dc5d2646ea46e41))
18
+
19
+ ### [0.1.23](https://github.com/elyukai/optolith-database-schema/compare/v0.1.22...v0.1.23) (2022-03-23)
20
+
21
+
22
+ ### Features
23
+
24
+ * church influences ([81b96c4](https://github.com/elyukai/optolith-database-schema/commit/81b96c49bb365527bbbededc02afb227b80bff98))
25
+ * core rules ([3be09e3](https://github.com/elyukai/optolith-database-schema/commit/3be09e3707a198ff0697ccf9325e83037ebd6e32))
26
+ * equipment packages ([8fc29ef](https://github.com/elyukai/optolith-database-schema/commit/8fc29ef67ab8679f95234e30e19a49486a05b6fc))
27
+ * magical tradition placeholders# ([bfa1e18](https://github.com/elyukai/optolith-database-schema/commit/bfa1e18195b847925a8fd8d3e56b8ff130d8a584))
28
+ * profession male/female names and groups ([a38b0f4](https://github.com/elyukai/optolith-database-schema/commit/a38b0f4401444318b57bb163eb7192dd58b83d3d))
29
+ * talismans ([22a1a4f](https://github.com/elyukai/optolith-database-schema/commit/22a1a4f00985f70dba7d5b38f2f583263cf0389d))
30
+ * talismans support multiple traditions ([480779e](https://github.com/elyukai/optolith-database-schema/commit/480779e9c41efc6e5685b52cc45339bb04e94c97))
31
+ * update validation config to include latest new definitions ([bb9d856](https://github.com/elyukai/optolith-database-schema/commit/bb9d85685edee1eb3ac30589eb25e09c02bc36da))
32
+
5
33
  ### [0.1.22](https://github.com/elyukai/optolith-database-schema/compare/v0.1.21...v0.1.22) (2022-03-23)
6
34
 
7
35
 
package/lib/config.d.ts CHANGED
@@ -14,11 +14,13 @@ import { Culture } from "./types/Culture.js";
14
14
  import { DerivedCharacteristic } from "./types/DerivedCharacteristic.js";
15
15
  import { Disadvantage } from "./types/Disadvantage.js";
16
16
  import { Element } from "./types/Element.js";
17
+ import { EquipmentPackage } from "./types/equipment/EquipmentPackage.js";
17
18
  import { ExperienceLevel } from "./types/ExperienceLevel.js";
18
19
  import { EyeColor } from "./types/EyeColor.js";
19
20
  import { FamiliarsTrick } from "./types/FamiliarsTrick.js";
20
21
  import { AnimalType } from "./types/FamiliarsTrick_AnimalType.js";
21
22
  import { HairColor } from "./types/HairColor.js";
23
+ import { Kirchenpraegung } from "./types/Kirchenpraegung.js";
22
24
  import { Curriculum } from "./types/Lessons_Curriculum.js";
23
25
  import { Guideline } from "./types/Lessons_Guideline.js";
24
26
  import { LiturgicalChant } from "./types/LiturgicalChant.js";
@@ -34,15 +36,18 @@ import { MagicalDance } from "./types/magicalActions/MagicalDance.js";
34
36
  import { MagicalMelody } from "./types/magicalActions/MagicalMelody.js";
35
37
  import { MagicalRune } from "./types/magicalActions/MagicalRune.js";
36
38
  import { ZibiljaRitual } from "./types/magicalActions/ZibiljaRitual.js";
39
+ import { MagicalTraditionPlaceholder } from "./types/MagicalTraditionPlaceholder.js";
37
40
  import { MetaCondition } from "./types/MetaCondition.js";
38
41
  import { PactCategory } from "./types/PactCategory.js";
39
42
  import { Patron } from "./types/Patron.js";
40
43
  import { PatronCategory } from "./types/PatronCategory.js";
41
44
  import { PersonalityTrait } from "./types/PersonalityTrait.js";
45
+ import { Profession } from "./types/Profession.js";
42
46
  import { Property } from "./types/Property.js";
43
47
  import { Race } from "./types/Race.js";
44
48
  import { Region } from "./types/Region.js";
45
49
  import { Ritual } from "./types/Ritual.js";
50
+ import { CoreRule } from "./types/rule/CoreRule.js";
46
51
  import { FocusRule } from "./types/rule/FocusRule.js";
47
52
  import { Subject } from "./types/rule/FocusRule_Subject.js";
48
53
  import { OptionalRule } from "./types/rule/OptionalRule.js";
@@ -87,6 +92,7 @@ import { VampiricGift } from "./types/specialAbility/VampiricGift.js";
87
92
  import { Vision } from "./types/specialAbility/Vision.js";
88
93
  import { Spell } from "./types/Spell.js";
89
94
  import { State } from "./types/State.js";
95
+ import { Talisman } from "./types/Talisman.js";
90
96
  import { TargetCategory } from "./types/TargetCategory.js";
91
97
  import { ArcaneOrbEnchantment } from "./types/traditionArtifacts/ArcaneOrbEnchantment.js";
92
98
  import { AttireEnchantment } from "./types/traditionArtifacts/AttireEnchantment.js";
@@ -145,6 +151,7 @@ export declare type TypeMap = {
145
151
  commandSpecialAbilities: CommandSpecialAbility;
146
152
  conditions: Condition;
147
153
  continents: Continent;
154
+ coreRules: CoreRule;
148
155
  cultures: Culture;
149
156
  curses: Curse;
150
157
  daggerRituals: DaggerRitual;
@@ -153,6 +160,7 @@ export declare type TypeMap = {
153
160
  dominationRituals: DominationRitual;
154
161
  elements: Element;
155
162
  elvenMagicalSongs: ElvenMagicalSong;
163
+ equipmentPackages: EquipmentPackage;
156
164
  experienceLevels: ExperienceLevel;
157
165
  eyeColors: EyeColor;
158
166
  familiarSpecialAbilities: FamiliarSpecialAbility;
@@ -169,6 +177,7 @@ export declare type TypeMap = {
169
177
  instrumentEnchantments: InstrumentEnchantment;
170
178
  jesterTricks: JesterTrick;
171
179
  karmaSpecialAbilities: KarmaSpecialAbility;
180
+ kirchenpraegungen: Kirchenpraegung;
172
181
  krallenkettenzauber: Krallenkettenzauber;
173
182
  languages: Language;
174
183
  lessonsCurricula: Curriculum;
@@ -182,6 +191,7 @@ export declare type TypeMap = {
182
191
  magicalRunes: MagicalRune;
183
192
  magicalSpecialAbilities: MagicalSpecialAbility;
184
193
  magicalTraditions: MagicalTradition;
194
+ magicalTraditionPlaceholders: MagicalTraditionPlaceholder;
185
195
  magicStyleSpecialAbilities: MagicStyleSpecialAbility;
186
196
  metaConditions: MetaCondition;
187
197
  optionalRules: OptionalRule;
@@ -191,6 +201,7 @@ export declare type TypeMap = {
191
201
  patronCategories: PatronCategory;
192
202
  patrons: Patron;
193
203
  personalityTraits: PersonalityTrait;
204
+ professions: Profession;
194
205
  properties: Property;
195
206
  protectiveWardingCircleSpecialAbilities: ProtectiveWardingCircleSpecialAbility;
196
207
  publications: Publication;
@@ -216,6 +227,7 @@ export declare type TypeMap = {
216
227
  staffEnchantments: StaffEnchantment;
217
228
  states: State;
218
229
  targetCategories: TargetCategory;
230
+ talismans: Talisman;
219
231
  toyEnchantments: ToyEnchantment;
220
232
  tradeSecrets: TradeSecret;
221
233
  trinkhornzauber: Trinkhornzauber;
package/lib/config.js CHANGED
@@ -14,11 +14,13 @@ import { validateSchema as validateCultureSchema } from "./types/Culture.js";
14
14
  import { validateSchema as validateDerivedCharacteristicSchema } from "./types/DerivedCharacteristic.js";
15
15
  import { validateSchema as validateDisadvantageSchema } from "./types/Disadvantage.js";
16
16
  import { validateSchema as validateElementSchema } from "./types/Element.js";
17
+ import { validateSchema as validateEquipmentPackageSchema } from "./types/equipment/EquipmentPackage.js";
17
18
  import { validateSchema as validateExperienceLevelSchema } from "./types/ExperienceLevel.js";
18
19
  import { validateSchema as validateEyeColorSchema } from "./types/EyeColor.js";
19
20
  import { validateSchema as validateFamiliarsTrickSchema } from "./types/FamiliarsTrick.js";
20
21
  import { validateSchema as validateAnimalTypeSchema } from "./types/FamiliarsTrick_AnimalType.js";
21
22
  import { validateSchema as validateHairColorSchema } from "./types/HairColor.js";
23
+ import { validateSchema as validateKirchenpraegungSchema } from "./types/Kirchenpraegung.js";
22
24
  import { validateSchema as validateCurriculumSchema } from "./types/Lessons_Curriculum.js";
23
25
  import { validateSchema as validateGuidelineSchema } from "./types/Lessons_Guideline.js";
24
26
  import { validateSchema as validateLiturgicalChantSchema } from "./types/LiturgicalChant.js";
@@ -34,15 +36,18 @@ import { validateSchema as validateMagicalDanceSchema } from "./types/magicalAct
34
36
  import { validateSchema as validateMagicalMelodySchema } from "./types/magicalActions/MagicalMelody.js";
35
37
  import { validateSchema as validateMagicalRuneSchema } from "./types/magicalActions/MagicalRune.js";
36
38
  import { validateSchema as validateZibiljaRitualSchema } from "./types/magicalActions/ZibiljaRitual.js";
39
+ import { validateSchema as validateMagicalTraditionPlaceholderSchema } from "./types/MagicalTraditionPlaceholder.js";
37
40
  import { validateSchema as validateMetaConditionSchema } from "./types/MetaCondition.js";
38
41
  import { validateSchema as validatePactCategorySchema } from "./types/PactCategory.js";
39
42
  import { validateSchema as validatePatronSchema } from "./types/Patron.js";
40
43
  import { validateSchema as validatePatronCategorySchema } from "./types/PatronCategory.js";
41
44
  import { validateSchema as validatePersonalityTraitSchema } from "./types/PersonalityTrait.js";
45
+ import { validateSchema as validateProfessionSchema } from "./types/Profession.js";
42
46
  import { validateSchema as validatePropertySchema } from "./types/Property.js";
43
47
  import { validateSchema as validateRaceSchema } from "./types/Race.js";
44
48
  import { validateSchema as validateRegionSchema } from "./types/Region.js";
45
49
  import { validateSchema as validateRitualSchema } from "./types/Ritual.js";
50
+ import { validateSchema as validateCoreRuleSchema } from "./types/rule/CoreRule.js";
46
51
  import { validateSchema as validateFocusRuleSchema } from "./types/rule/FocusRule.js";
47
52
  import { validateSchema as validateSubjectSchema } from "./types/rule/FocusRule_Subject.js";
48
53
  import { validateSchema as validateOptionalRuleSchema } from "./types/rule/OptionalRule.js";
@@ -87,6 +92,7 @@ import { validateSchema as validateVampiricGiftSchema } from "./types/specialAbi
87
92
  import { validateSchema as validateVisionSchema } from "./types/specialAbility/Vision.js";
88
93
  import { validateSchema as validateSpellSchema } from "./types/Spell.js";
89
94
  import { validateSchema as validateStateSchema } from "./types/State.js";
95
+ import { validateSchema as validateTalismanSchema } from "./types/Talisman.js";
90
96
  import { validateSchema as validateTargetCategorySchema } from "./types/TargetCategory.js";
91
97
  import { validateSchema as validateArcaneOrbEnchantmentSchema } from "./types/traditionArtifacts/ArcaneOrbEnchantment.js";
92
98
  import { validateSchema as validateAttireEnchantmentSchema } from "./types/traditionArtifacts/AttireEnchantment.js";
@@ -144,6 +150,7 @@ export const typeValidatorMap = {
144
150
  commandSpecialAbilities: validateCommandSpecialAbilitySchema,
145
151
  conditions: validateConditionSchema,
146
152
  continents: validateContinentSchema,
153
+ coreRules: validateCoreRuleSchema,
147
154
  cultures: validateCultureSchema,
148
155
  curses: validateCurseSchema,
149
156
  daggerRituals: validateDaggerRitualSchema,
@@ -152,6 +159,7 @@ export const typeValidatorMap = {
152
159
  dominationRituals: validateDominationRitualSchema,
153
160
  elements: validateElementSchema,
154
161
  elvenMagicalSongs: validateElvenMagicalSongSchema,
162
+ equipmentPackages: validateEquipmentPackageSchema,
155
163
  experienceLevels: validateExperienceLevelSchema,
156
164
  eyeColors: validateEyeColorSchema,
157
165
  familiarSpecialAbilities: validateFamiliarSpecialAbilitySchema,
@@ -168,6 +176,7 @@ export const typeValidatorMap = {
168
176
  instrumentEnchantments: validateInstrumentEnchantmentSchema,
169
177
  jesterTricks: validateJesterTrickSchema,
170
178
  karmaSpecialAbilities: validateKarmaSpecialAbilitySchema,
179
+ kirchenpraegungen: validateKirchenpraegungSchema,
171
180
  krallenkettenzauber: validateKrallenkettenzauberSchema,
172
181
  languages: validateLanguageSchema,
173
182
  lessonsCurricula: validateCurriculumSchema,
@@ -181,6 +190,7 @@ export const typeValidatorMap = {
181
190
  magicalRunes: validateMagicalRuneSchema,
182
191
  magicalSpecialAbilities: validateMagicalSpecialAbilitySchema,
183
192
  magicalTraditions: validateMagicalTraditionSchema,
193
+ magicalTraditionPlaceholders: validateMagicalTraditionPlaceholderSchema,
184
194
  magicStyleSpecialAbilities: validateMagicStyleSpecialAbilitySchema,
185
195
  metaConditions: validateMetaConditionSchema,
186
196
  optionalRules: validateOptionalRuleSchema,
@@ -190,6 +200,7 @@ export const typeValidatorMap = {
190
200
  patronCategories: validatePatronCategorySchema,
191
201
  patrons: validatePatronSchema,
192
202
  personalityTraits: validatePersonalityTraitSchema,
203
+ professions: validateProfessionSchema,
193
204
  properties: validatePropertySchema,
194
205
  protectiveWardingCircleSpecialAbilities: validateProtectiveWardingCircleSpecialAbilitySchema,
195
206
  publications: validatePublicationSchema,
@@ -215,6 +226,7 @@ export const typeValidatorMap = {
215
226
  staffEnchantments: validateStaffEnchantmentSchema,
216
227
  states: validateStateSchema,
217
228
  targetCategories: validateTargetCategorySchema,
229
+ talismans: validateTalismanSchema,
218
230
  toyEnchantments: validateToyEnchantmentSchema,
219
231
  tradeSecrets: validateTradeSecretSchema,
220
232
  trinkhornzauber: validateTrinkhornzauberSchema,
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @main Kirchenpraegung
3
+ */
4
+ import { Influence } from "./_Influence.js";
5
+ /**
6
+ * @title Kirchenprägung
7
+ */
8
+ export declare type Kirchenpraegung = Influence;
9
+ export declare const validateSchema: import("../validation/schema.js").TypeValidator<Influence>;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @main Kirchenpraegung
3
+ */
4
+ import { validateSchemaCreator } from "../validation/schema.js";
5
+ export const validateSchema = validateSchemaCreator(import.meta.url);
@@ -0,0 +1,32 @@
1
+ /**
2
+ * @main MagicalTraditionPlaceholder
3
+ */
4
+ /**
5
+ * @title Magical Tradition Placeholder
6
+ */
7
+ export declare type MagicalTraditionPlaceholder = {
8
+ /**
9
+ * The magical tradition placeholder's identifier. An unique, increasing
10
+ * integer.
11
+ * @integer
12
+ * @minimum 1
13
+ */
14
+ id: number;
15
+ /**
16
+ * All translations for the entry, identified by IETF language tag (BCP47).
17
+ * @minProperties 1
18
+ */
19
+ translations: {
20
+ /**
21
+ * @patternProperties ^[a-z]{2}-[A-Z]{2}$
22
+ */
23
+ [localeId: string]: {
24
+ /**
25
+ * The name of the magical tradition.
26
+ * @minLength 1
27
+ */
28
+ name: string;
29
+ };
30
+ };
31
+ };
32
+ export declare const validateSchema: import("../validation/schema.js").TypeValidator<MagicalTraditionPlaceholder>;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @main MagicalTraditionPlaceholder
3
+ */
4
+ import { validateSchemaCreator } from "../validation/schema.js";
5
+ export const validateSchema = validateSchemaCreator(import.meta.url);
@@ -16,6 +16,21 @@ export declare type Profession = {
16
16
  * @minimum 1
17
17
  */
18
18
  id: number;
19
+ /**
20
+ * The profession group.
21
+ */
22
+ group: Group;
23
+ /**
24
+ * The curriculum/academy associated with this magical profession, if any.
25
+ */
26
+ curriculum?: {
27
+ /**
28
+ * The curriculum's identifier.
29
+ * @integer
30
+ * @minimum 1
31
+ */
32
+ id: number;
33
+ };
19
34
  /**
20
35
  * A list of professions representing the same profession but with (slightly)
21
36
  * different stats. For example, there may be a profession in a regional
@@ -170,9 +185,13 @@ export declare type ProfessionRepresentationVariant = {
170
185
  [localeId: string]: {
171
186
  /**
172
187
  * Name of the basic profession.
173
- * @minLength 1
174
188
  */
175
- name: string;
189
+ name: Name;
190
+ /**
191
+ * A name addition of the profession. This will contain texts like name of
192
+ * the academy or the witch circle. It is enclosed in parenthesis.
193
+ */
194
+ specification?: Name;
176
195
  /**
177
196
  * Typical advantages for the profession.
178
197
  * @minLength 1
@@ -267,9 +286,8 @@ declare type ProfessionVariant = {
267
286
  [localeId: string]: {
268
287
  /**
269
288
  * Name of the profession variant.
270
- * @minLength 1
271
289
  */
272
- name: string;
290
+ name: Name;
273
291
  };
274
292
  };
275
293
  };
@@ -726,5 +744,40 @@ declare type SkillsOptions = {
726
744
  */
727
745
  ap_value: number;
728
746
  };
747
+ /**
748
+ * The name of the profession that may have sex-specific names.
749
+ */
750
+ declare type Name = NonEmptyString | {
751
+ /**
752
+ * The name from the source publication.
753
+ */
754
+ default: NonEmptyString;
755
+ /**
756
+ * The male name.
757
+ */
758
+ male: NonEmptyString;
759
+ /**
760
+ * The female name.
761
+ */
762
+ female: NonEmptyString;
763
+ };
764
+ declare type Group = {
765
+ tag: "Mundane";
766
+ sub: {
767
+ tag: "Profane";
768
+ } | {
769
+ tag: "Fighter";
770
+ } | {
771
+ tag: "Religious";
772
+ };
773
+ } | {
774
+ tag: "Magical";
775
+ } | {
776
+ tag: "Blessed";
777
+ };
778
+ /**
779
+ * @minLength 1
780
+ */
781
+ declare type NonEmptyString = string;
729
782
  export declare const validateSchema: import("../validation/schema.js").TypeValidator<Profession>;
730
783
  export {};
@@ -0,0 +1,89 @@
1
+ /**
2
+ * @main Talisman
3
+ */
4
+ import { Errata } from "./source/_Erratum.js";
5
+ import { PublicationRefs } from "./source/_PublicationRef.js";
6
+ /**
7
+ * @title Talisman
8
+ */
9
+ export declare type Talisman = {
10
+ /**
11
+ * The talisman's identifier. An unique, increasing integer.
12
+ * @integer
13
+ * @minimum 1
14
+ */
15
+ id: number;
16
+ /**
17
+ * The tradition(s) the talisman belongs to.
18
+ * @minItems 1
19
+ */
20
+ tradition: {
21
+ /**
22
+ * The blessed traditions's identifier.
23
+ * @integer
24
+ * @minimum 1
25
+ */
26
+ id: number;
27
+ }[];
28
+ /**
29
+ * The talisman type.
30
+ */
31
+ type: {
32
+ tag: "MainTalisman";
33
+ } | {
34
+ tag: "Talisman";
35
+ } | {
36
+ tag: "MinorTalisman";
37
+ } | {
38
+ tag: "Regalia";
39
+ } | {
40
+ tag: "PowerfulTalisman";
41
+ };
42
+ /**
43
+ * The AP value for the required trade secret.
44
+ * @integer
45
+ * @minimum 5
46
+ * @multipleOf 5
47
+ */
48
+ ap_value: number;
49
+ src: PublicationRefs;
50
+ /**
51
+ * All translations for the entry, identified by IETF language tag (BCP47).
52
+ * @minProperties 1
53
+ */
54
+ translations: {
55
+ /**
56
+ * @patternProperties ^[a-z]{2}-[A-Z]{2}$
57
+ */
58
+ [localeId: string]: {
59
+ /**
60
+ * The name of the talisman.
61
+ * @minLength 1
62
+ */
63
+ name: string;
64
+ /**
65
+ * The effect description.
66
+ * @markdown
67
+ * @minLength 1
68
+ */
69
+ description: string;
70
+ /**
71
+ * The activation parameters.
72
+ */
73
+ activation: {
74
+ /**
75
+ * The KP cost.
76
+ * @minLength 1
77
+ */
78
+ cost: string;
79
+ /**
80
+ * The duration.
81
+ * @minLength 1
82
+ */
83
+ duration: string;
84
+ };
85
+ errata?: Errata;
86
+ };
87
+ };
88
+ };
89
+ export declare const validateSchema: import("../validation/schema.js").TypeValidator<Talisman>;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @main Talisman
3
+ */
4
+ import { validateSchemaCreator } from "../validation/schema.js";
5
+ export const validateSchema = validateSchemaCreator(import.meta.url);
@@ -163,6 +163,12 @@ declare enum RequirableSelectOptionTag {
163
163
  CloseCombatTechnique = "CloseCombatTechnique",
164
164
  RangedCombatTechnique = "RangedCombatTechnique"
165
165
  }
166
+ declare enum CoreRuleDerivableContentTag {
167
+ MagicalTradition = "MagicalTradition",
168
+ FamiliarSpecialAbility = "FamiliarSpecialAbility",
169
+ MagicalSpecialAbility = "MagicalSpecialAbility",
170
+ BlessedTradition = "BlessedTradition"
171
+ }
166
172
  declare type TaggedIdentifier<Tag> = {
167
173
  tag: Tag;
168
174
  /**
@@ -187,6 +193,7 @@ export declare type LiturgyIdentifier = TaggedIdentifier<LiturgyTag>;
187
193
  export declare type SpellworkIdentifier = TaggedIdentifier<SpellworkTag>;
188
194
  export declare type MagicalActionIdentifier = TaggedIdentifier<MagicalActionTag>;
189
195
  export declare type RequirableSelectOptionIdentifier = TaggedIdentifier<RequirableSelectOptionTag>;
196
+ export declare type CoreRuleDerivableContentIdentifier = TaggedIdentifier<CoreRuleDerivableContentTag>;
190
197
  export declare type OneOrManyNumericIdentifiers = OneNumericIdentifier | ManyNumericIdentifiers;
191
198
  /**
192
199
  * @minimum 1
@@ -178,4 +178,11 @@ var RequirableSelectOptionTag;
178
178
  RequirableSelectOptionTag["CloseCombatTechnique"] = "CloseCombatTechnique";
179
179
  RequirableSelectOptionTag["RangedCombatTechnique"] = "RangedCombatTechnique";
180
180
  })(RequirableSelectOptionTag || (RequirableSelectOptionTag = {}));
181
+ var CoreRuleDerivableContentTag;
182
+ (function (CoreRuleDerivableContentTag) {
183
+ CoreRuleDerivableContentTag["MagicalTradition"] = "MagicalTradition";
184
+ CoreRuleDerivableContentTag["FamiliarSpecialAbility"] = "FamiliarSpecialAbility";
185
+ CoreRuleDerivableContentTag["MagicalSpecialAbility"] = "MagicalSpecialAbility";
186
+ CoreRuleDerivableContentTag["BlessedTradition"] = "BlessedTradition";
187
+ })(CoreRuleDerivableContentTag || (CoreRuleDerivableContentTag = {}));
181
188
  export {};
@@ -0,0 +1,52 @@
1
+ /**
2
+ * @main EquipmentPackage
3
+ */
4
+ /**
5
+ * @title Equipment Package
6
+ */
7
+ export declare type EquipmentPackage = {
8
+ /**
9
+ * The equipment package's identifier. An unique, increasing integer.
10
+ * @integer
11
+ * @minimum 1
12
+ */
13
+ id: number;
14
+ /**
15
+ * All items in the package. You have to provide the item (template)
16
+ * identifier and you can optionally provide the number of how often an item
17
+ * is included in the package.
18
+ * @minItems 2
19
+ */
20
+ items: {
21
+ /**
22
+ * The item's identifier.
23
+ * @integer
24
+ * @minimum 1
25
+ */
26
+ id: number;
27
+ /**
28
+ * The number of how often the item is included in the package.
29
+ * @integer
30
+ * @minimum 2
31
+ * @default 1
32
+ */
33
+ number?: number;
34
+ }[];
35
+ /**
36
+ * All translations for the entry, identified by IETF language tag (BCP47).
37
+ * @minProperties 1
38
+ */
39
+ translations: {
40
+ /**
41
+ * @patternProperties ^[a-z]{2}-[A-Z]{2}$
42
+ */
43
+ [localeId: string]: {
44
+ /**
45
+ * The name of the equipment package.
46
+ * @minLength 1
47
+ */
48
+ name: string;
49
+ };
50
+ };
51
+ };
52
+ export declare const validateSchema: import("../../validation/schema.js").TypeValidator<EquipmentPackage>;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @main EquipmentPackage
3
+ */
4
+ import { validateSchemaCreator } from "../../validation/schema.js";
5
+ export const validateSchema = validateSchemaCreator(import.meta.url);