optolith-database-schema 0.0.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.
- package/AUTHORS +1 -0
- package/CHANGELOG.md +27 -0
- package/CODEOWNERS +1 -0
- package/LICENSE +378 -0
- package/README.md +17 -0
- package/lib/main.d.ts +1 -0
- package/lib/main.js +1 -0
- package/lib/types/ArcaneBardTradition.d.ts +32 -0
- package/lib/types/ArcaneBardTradition.js +4 -0
- package/lib/types/ArcaneDancerTradition.d.ts +32 -0
- package/lib/types/ArcaneDancerTradition.js +4 -0
- package/lib/types/Aspect.d.ts +36 -0
- package/lib/types/Aspect.js +4 -0
- package/lib/types/Attribute.d.ts +42 -0
- package/lib/types/Attribute.js +5 -0
- package/lib/types/CombatTechnique_Close.d.ts +80 -0
- package/lib/types/CombatTechnique_Close.js +4 -0
- package/lib/types/CombatTechnique_Ranged.d.ts +62 -0
- package/lib/types/CombatTechnique_Ranged.js +4 -0
- package/lib/types/Condition.d.ts +51 -0
- package/lib/types/Condition.js +4 -0
- package/lib/types/Culture.d.ts +494 -0
- package/lib/types/Culture.js +4 -0
- package/lib/types/DerivedCharacteristic.d.ts +65 -0
- package/lib/types/DerivedCharacteristic.js +4 -0
- package/lib/types/Element.d.ts +30 -0
- package/lib/types/Element.js +4 -0
- package/lib/types/ExperienceLevel.d.ts +68 -0
- package/lib/types/ExperienceLevel.js +4 -0
- package/lib/types/EyeColor.d.ts +30 -0
- package/lib/types/EyeColor.js +4 -0
- package/lib/types/HairColor.d.ts +30 -0
- package/lib/types/HairColor.js +4 -0
- package/lib/types/Lessons_Curriculum.d.ts +297 -0
- package/lib/types/Lessons_Curriculum.js +4 -0
- package/lib/types/Lessons_Guideline.d.ts +36 -0
- package/lib/types/Lessons_Guideline.js +4 -0
- package/lib/types/Locale.d.ts +38 -0
- package/lib/types/Locale.js +4 -0
- package/lib/types/MetaCondition.d.ts +54 -0
- package/lib/types/MetaCondition.js +4 -0
- package/lib/types/Property.d.ts +36 -0
- package/lib/types/Property.js +4 -0
- package/lib/types/Race.d.ts +524 -0
- package/lib/types/Race.js +13 -0
- package/lib/types/Region.d.ts +30 -0
- package/lib/types/Region.js +4 -0
- package/lib/types/Service.d.ts +40 -0
- package/lib/types/Service.js +4 -0
- package/lib/types/SexPractice.d.ts +53 -0
- package/lib/types/SexPractice.js +4 -0
- package/lib/types/Skill.d.ts +169 -0
- package/lib/types/Skill.js +4 -0
- package/lib/types/SkillGroup.d.ts +40 -0
- package/lib/types/SkillGroup.js +4 -0
- package/lib/types/SkillModificationIncrement.d.ts +82 -0
- package/lib/types/SkillModificationIncrement.js +4 -0
- package/lib/types/SocialStatus.d.ts +30 -0
- package/lib/types/SocialStatus.js +4 -0
- package/lib/types/State.d.ts +40 -0
- package/lib/types/State.js +4 -0
- package/lib/types/TargetCategory.d.ts +36 -0
- package/lib/types/TargetCategory.js +4 -0
- package/lib/types/_ActivatableSkill.d.ts +919 -0
- package/lib/types/_ActivatableSkill.js +38 -0
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +12 -0
- package/lib/types/_CommonnessRatedAdvantageDisadvantage.js +1 -0
- package/lib/types/_ImprovementCost.d.ts +9 -0
- package/lib/types/_ImprovementCost.js +10 -0
- package/lib/types/_Prerequisite.d.ts +274 -0
- package/lib/types/_Prerequisite.js +4 -0
- package/lib/types/_Sex.d.ts +11 -0
- package/lib/types/_Sex.js +4 -0
- package/lib/types/_SkillCheck.d.ts +28 -0
- package/lib/types/_SkillCheck.js +1 -0
- package/lib/types/magicalActions/AnimistPower.d.ts +227 -0
- package/lib/types/magicalActions/AnimistPower.js +4 -0
- package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +30 -0
- package/lib/types/magicalActions/AnimistPower_Tribe.js +4 -0
- package/lib/types/magicalActions/Curse.d.ts +228 -0
- package/lib/types/magicalActions/Curse.js +4 -0
- package/lib/types/magicalActions/DominationRitual.d.ts +181 -0
- package/lib/types/magicalActions/DominationRitual.js +4 -0
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +149 -0
- package/lib/types/magicalActions/ElvenMagicalSong.js +4 -0
- package/lib/types/magicalActions/GeodeRitual.d.ts +162 -0
- package/lib/types/magicalActions/GeodeRitual.js +4 -0
- package/lib/types/magicalActions/JesterTrick.d.ts +167 -0
- package/lib/types/magicalActions/JesterTrick.js +4 -0
- package/lib/types/magicalActions/MagicalDance.d.ts +184 -0
- package/lib/types/magicalActions/MagicalDance.js +4 -0
- package/lib/types/magicalActions/MagicalMelody.d.ts +132 -0
- package/lib/types/magicalActions/MagicalMelody.js +4 -0
- package/lib/types/magicalActions/MagicalRune.d.ts +241 -0
- package/lib/types/magicalActions/MagicalRune.js +4 -0
- package/lib/types/magicalActions/ZibiljaRitual.d.ts +101 -0
- package/lib/types/magicalActions/ZibiljaRitual.js +4 -0
- package/lib/types/magicalActions/_MusicTradition.d.ts +28 -0
- package/lib/types/magicalActions/_MusicTradition.js +1 -0
- package/lib/types/magicalActions/_SkillReference.d.ts +13 -0
- package/lib/types/magicalActions/_SkillReference.js +5 -0
- package/lib/types/rule/FocusRule.d.ts +53 -0
- package/lib/types/rule/FocusRule.js +4 -0
- package/lib/types/rule/FocusRule_Subject.d.ts +31 -0
- package/lib/types/rule/FocusRule_Subject.js +4 -0
- package/lib/types/rule/OptionalRule.d.ts +65 -0
- package/lib/types/rule/OptionalRule.js +4 -0
- package/lib/types/source/Publication.d.ts +4 -0
- package/lib/types/source/Publication.js +4 -0
- package/lib/types/source/_Erratum.d.ts +25 -0
- package/lib/types/source/_Erratum.js +4 -0
- package/lib/types/source/_PublicationRef.d.ts +146 -0
- package/lib/types/source/_PublicationRef.js +4 -0
- package/lib/validation/integrity.d.ts +16 -0
- package/lib/validation/integrity.js +3 -0
- package/package.json +37 -0
- package/schema/ArcaneBardTradition.schema.json +49 -0
- package/schema/ArcaneDancerTradition.schema.json +49 -0
- package/schema/Aspect.schema.json +50 -0
- package/schema/Attribute.schema.json +57 -0
- package/schema/CombatTechnique_Close.schema.json +127 -0
- package/schema/CombatTechnique_Ranged.schema.json +83 -0
- package/schema/Condition.schema.json +84 -0
- package/schema/Culture.schema.json +858 -0
- package/schema/DerivedCharacteristic.schema.json +90 -0
- package/schema/Element.schema.json +45 -0
- package/schema/ExperienceLevel.schema.json +84 -0
- package/schema/EyeColor.schema.json +45 -0
- package/schema/HairColor.schema.json +45 -0
- package/schema/Lessons_Curriculum.schema.json +500 -0
- package/schema/Lessons_Guideline.schema.json +51 -0
- package/schema/Locale.schema.json +45 -0
- package/schema/MetaCondition.schema.json +85 -0
- package/schema/Property.schema.json +49 -0
- package/schema/Race.schema.json +724 -0
- package/schema/Region.schema.json +45 -0
- package/schema/Service.schema.json +58 -0
- package/schema/SexPractice.schema.json +72 -0
- package/schema/Skill.schema.json +278 -0
- package/schema/SkillGroup.schema.json +56 -0
- package/schema/SkillModificationIncrement.schema.json +98 -0
- package/schema/SocialStatus.schema.json +45 -0
- package/schema/State.schema.json +58 -0
- package/schema/TargetCategory.schema.json +51 -0
- package/schema/_ActivatableSkill.schema.json +1534 -0
- package/schema/_CommonnessRatedAdvantageDisadvantage.schema.json +22 -0
- package/schema/_ImprovementCost.schema.json +15 -0
- package/schema/_Prerequisite.schema.json +519 -0
- package/schema/_Sex.schema.json +36 -0
- package/schema/_SkillCheck.schema.json +94 -0
- package/schema/magicalActions/AnimistPower.schema.json +411 -0
- package/schema/magicalActions/AnimistPower_Tribe.schema.json +45 -0
- package/schema/magicalActions/Curse.schema.json +378 -0
- package/schema/magicalActions/DominationRitual.schema.json +288 -0
- package/schema/magicalActions/ElvenMagicalSong.schema.json +194 -0
- package/schema/magicalActions/GeodeRitual.schema.json +303 -0
- package/schema/magicalActions/JesterTrick.schema.json +292 -0
- package/schema/magicalActions/MagicalDance.schema.json +328 -0
- package/schema/magicalActions/MagicalMelody.schema.json +254 -0
- package/schema/magicalActions/MagicalRune.schema.json +426 -0
- package/schema/magicalActions/ZibiljaRitual.schema.json +159 -0
- package/schema/magicalActions/_MusicTradition.schema.json +44 -0
- package/schema/magicalActions/_SkillReference.schema.json +26 -0
- package/schema/rule/FocusRule.schema.json +71 -0
- package/schema/rule/FocusRule_Subject.schema.json +46 -0
- package/schema/rule/OptionalRule.schema.json +96 -0
- package/schema/source/Publication.schema.json +165 -0
- package/schema/source/_Erratum.schema.json +37 -0
- package/schema/source/_PublicationRef.schema.json +242 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main MagicalRune
|
|
3
|
+
*/
|
|
4
|
+
import { Errata } from "../source/_Erratum";
|
|
5
|
+
import { PublicationRefs } from "../source/_PublicationRef";
|
|
6
|
+
import { Duration, Effect } from "../_ActivatableSkill";
|
|
7
|
+
import { ImprovementCost } from "../_ImprovementCost";
|
|
8
|
+
import { SkillCheck } from "../_SkillCheck";
|
|
9
|
+
/**
|
|
10
|
+
* @title Magical Rune
|
|
11
|
+
*/
|
|
12
|
+
export declare type MagicalRune = {
|
|
13
|
+
/**
|
|
14
|
+
* The magical rune's identifier. An unique, increasing integer.
|
|
15
|
+
* @integer
|
|
16
|
+
* @minimum 1
|
|
17
|
+
*/
|
|
18
|
+
id: number;
|
|
19
|
+
/**
|
|
20
|
+
* Lists the linked three attributes used to make a skill check.
|
|
21
|
+
*/
|
|
22
|
+
check: SkillCheck;
|
|
23
|
+
/**
|
|
24
|
+
* In some cases, the target's Spirit or Toughness is applied as a penalty.
|
|
25
|
+
*/
|
|
26
|
+
check_penalty?: {
|
|
27
|
+
tag: "CloseCombatTechnique";
|
|
28
|
+
/**
|
|
29
|
+
* A map from close combat techniques to their modifiers.
|
|
30
|
+
* @minItems 1
|
|
31
|
+
*/
|
|
32
|
+
map: {
|
|
33
|
+
/**
|
|
34
|
+
* The close combat technique's identifier.
|
|
35
|
+
* @integer
|
|
36
|
+
* @minimum 1
|
|
37
|
+
*/
|
|
38
|
+
combat_technique_id: number;
|
|
39
|
+
/**
|
|
40
|
+
* The check modifier for the specified close combat technique.
|
|
41
|
+
* @integer
|
|
42
|
+
*/
|
|
43
|
+
modifier: number;
|
|
44
|
+
}[];
|
|
45
|
+
other: {
|
|
46
|
+
/**
|
|
47
|
+
* The check modifier for close combat techniques not specified in
|
|
48
|
+
* `map`.
|
|
49
|
+
* @integer
|
|
50
|
+
*/
|
|
51
|
+
modifier: number;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Measurable parameters of a magical rune.
|
|
56
|
+
*/
|
|
57
|
+
parameters: PerformanceParameters;
|
|
58
|
+
/**
|
|
59
|
+
* The property's identifier.
|
|
60
|
+
* @integer
|
|
61
|
+
* @minimum 1
|
|
62
|
+
*/
|
|
63
|
+
property_id: number;
|
|
64
|
+
/**
|
|
65
|
+
* States which column is used to improve the skill.
|
|
66
|
+
*/
|
|
67
|
+
improvement_cost: ImprovementCost;
|
|
68
|
+
src: PublicationRefs;
|
|
69
|
+
/**
|
|
70
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
71
|
+
* @minProperties 1
|
|
72
|
+
*/
|
|
73
|
+
translations: {
|
|
74
|
+
/**
|
|
75
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
76
|
+
*/
|
|
77
|
+
[localeId: string]: {
|
|
78
|
+
/**
|
|
79
|
+
* The name of the magical rune.
|
|
80
|
+
* @minLength 1
|
|
81
|
+
*/
|
|
82
|
+
name: string;
|
|
83
|
+
/**
|
|
84
|
+
* The native name of the magical rune.
|
|
85
|
+
* @minLength 1
|
|
86
|
+
*/
|
|
87
|
+
native_name: string;
|
|
88
|
+
/**
|
|
89
|
+
* The effect description may be either a plain text or a text that is
|
|
90
|
+
* divided by a list of effects for each quality level. It may also be a
|
|
91
|
+
* list for each two quality levels.
|
|
92
|
+
*/
|
|
93
|
+
effect: Effect.T;
|
|
94
|
+
/**
|
|
95
|
+
* @deprecated
|
|
96
|
+
*/
|
|
97
|
+
cost: {
|
|
98
|
+
full: string;
|
|
99
|
+
abbr: string;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* @deprecated
|
|
103
|
+
*/
|
|
104
|
+
crafting_time: {
|
|
105
|
+
slow: {
|
|
106
|
+
full: string;
|
|
107
|
+
abbr: string;
|
|
108
|
+
};
|
|
109
|
+
fast: {
|
|
110
|
+
full: string;
|
|
111
|
+
abbr: string;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* @deprecated
|
|
116
|
+
*/
|
|
117
|
+
duration: {
|
|
118
|
+
slow: {
|
|
119
|
+
full: string;
|
|
120
|
+
abbr: string;
|
|
121
|
+
};
|
|
122
|
+
fast: {
|
|
123
|
+
full: string;
|
|
124
|
+
abbr: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
errata?: Errata;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Measurable parameters of a magical rune.
|
|
133
|
+
*/
|
|
134
|
+
declare type PerformanceParameters = {
|
|
135
|
+
/**
|
|
136
|
+
* The AE cost.
|
|
137
|
+
*/
|
|
138
|
+
cost: {
|
|
139
|
+
tag: "Single";
|
|
140
|
+
/**
|
|
141
|
+
* The AE cost value.
|
|
142
|
+
* @integer
|
|
143
|
+
* @minimum 1
|
|
144
|
+
*/
|
|
145
|
+
value: number;
|
|
146
|
+
/**
|
|
147
|
+
* All translations for the entry, identified by IETF language tag
|
|
148
|
+
* (BCP47).
|
|
149
|
+
* @minProperties 1
|
|
150
|
+
*/
|
|
151
|
+
translations?: {
|
|
152
|
+
/**
|
|
153
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
154
|
+
* @minProperties 1
|
|
155
|
+
*/
|
|
156
|
+
[localeId: string]: {
|
|
157
|
+
/**
|
|
158
|
+
* A note, appended to the generated string in parenthesis.
|
|
159
|
+
*/
|
|
160
|
+
note?: {
|
|
161
|
+
/**
|
|
162
|
+
* The full note.
|
|
163
|
+
* @minLength 1
|
|
164
|
+
*/
|
|
165
|
+
default: string;
|
|
166
|
+
/**
|
|
167
|
+
* A compressed note, if applicable. If not specified it should not
|
|
168
|
+
* be displayed in small location.
|
|
169
|
+
* @minLength 1
|
|
170
|
+
*/
|
|
171
|
+
compressed?: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
} | {
|
|
176
|
+
tag: "Disjunction";
|
|
177
|
+
/**
|
|
178
|
+
* A set of possible AE cost values.
|
|
179
|
+
* @minItems 2
|
|
180
|
+
*/
|
|
181
|
+
list: {
|
|
182
|
+
/**
|
|
183
|
+
* The AE cost value.
|
|
184
|
+
* @integer
|
|
185
|
+
* @minimum 1
|
|
186
|
+
*/
|
|
187
|
+
value: number;
|
|
188
|
+
}[];
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* The crafting time.
|
|
192
|
+
*/
|
|
193
|
+
crafting_time: {
|
|
194
|
+
/**
|
|
195
|
+
* The (unitless) crafting time.
|
|
196
|
+
*/
|
|
197
|
+
value: 1 | 2 | 4;
|
|
198
|
+
/**
|
|
199
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
200
|
+
* @minProperties 1
|
|
201
|
+
*/
|
|
202
|
+
translations?: {
|
|
203
|
+
/**
|
|
204
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
205
|
+
* @minProperties 1
|
|
206
|
+
*/
|
|
207
|
+
[localeId: string]: {
|
|
208
|
+
/**
|
|
209
|
+
* The crafting time has to be per a specific countable entity, e.g. `8
|
|
210
|
+
* action per person`.
|
|
211
|
+
*/
|
|
212
|
+
per?: {
|
|
213
|
+
/**
|
|
214
|
+
* The full countable entity name.
|
|
215
|
+
* @minLength 1
|
|
216
|
+
*/
|
|
217
|
+
default: string;
|
|
218
|
+
/**
|
|
219
|
+
* The compressed countable entity name.
|
|
220
|
+
* @minLength 1
|
|
221
|
+
*/
|
|
222
|
+
compressed: string;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
/**
|
|
228
|
+
* The duration.
|
|
229
|
+
*/
|
|
230
|
+
duration: {
|
|
231
|
+
/**
|
|
232
|
+
* The duration on slow rune application.
|
|
233
|
+
*/
|
|
234
|
+
slow: Duration.CheckResultBased;
|
|
235
|
+
/**
|
|
236
|
+
* The duration on fast rune application.
|
|
237
|
+
*/
|
|
238
|
+
fast: Duration.CheckResultBased;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
export {};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main ZibiljaRitual
|
|
3
|
+
*/
|
|
4
|
+
import { Errata } from "../source/_Erratum";
|
|
5
|
+
import { PublicationRefs } from "../source/_PublicationRef";
|
|
6
|
+
import { Effect, PerformanceParameters, TargetCategory } from "../_ActivatableSkill";
|
|
7
|
+
import { ImprovementCost } from "../_ImprovementCost";
|
|
8
|
+
import { SkillCheck, SkillCheckPenalty } from "../_SkillCheck";
|
|
9
|
+
/**
|
|
10
|
+
* @title Zibilja Ritual
|
|
11
|
+
*/
|
|
12
|
+
export declare type ZibiljaRitual = {
|
|
13
|
+
/**
|
|
14
|
+
* The zibilja ritual's identifier. An unique, increasing integer.
|
|
15
|
+
* @integer
|
|
16
|
+
* @minimum 1
|
|
17
|
+
*/
|
|
18
|
+
id: number;
|
|
19
|
+
/**
|
|
20
|
+
* Lists the linked three attributes used to make a skill check.
|
|
21
|
+
*/
|
|
22
|
+
check: SkillCheck;
|
|
23
|
+
/**
|
|
24
|
+
* In some cases, the target's Spirit or Toughness is applied as a penalty.
|
|
25
|
+
*/
|
|
26
|
+
check_penalty?: SkillCheckPenalty;
|
|
27
|
+
/**
|
|
28
|
+
* Measurable parameters of a zibilja ritual.
|
|
29
|
+
*/
|
|
30
|
+
parameters: PerformanceParameters;
|
|
31
|
+
/**
|
|
32
|
+
* The target category – the kind of creature or object – the skill affects.
|
|
33
|
+
*/
|
|
34
|
+
target: TargetCategory.T;
|
|
35
|
+
/**
|
|
36
|
+
* The property's identifier.
|
|
37
|
+
* @integer
|
|
38
|
+
* @minimum 1
|
|
39
|
+
*/
|
|
40
|
+
property_id: number;
|
|
41
|
+
/**
|
|
42
|
+
* States which column is used to improve the skill.
|
|
43
|
+
*/
|
|
44
|
+
improvement_cost: ImprovementCost;
|
|
45
|
+
src: PublicationRefs;
|
|
46
|
+
/**
|
|
47
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
48
|
+
* @minProperties 1
|
|
49
|
+
*/
|
|
50
|
+
translations: {
|
|
51
|
+
/**
|
|
52
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
53
|
+
*/
|
|
54
|
+
[localeId: string]: {
|
|
55
|
+
/**
|
|
56
|
+
* The name of the zibilja ritual.
|
|
57
|
+
* @minLength 1
|
|
58
|
+
*/
|
|
59
|
+
name: string;
|
|
60
|
+
/**
|
|
61
|
+
* The effect description may be either a plain text or a text that is
|
|
62
|
+
* divided by a list of effects for each quality level. It may also be a
|
|
63
|
+
* list for each two quality levels.
|
|
64
|
+
*/
|
|
65
|
+
effect: Effect.T;
|
|
66
|
+
/**
|
|
67
|
+
* @deprecated
|
|
68
|
+
*/
|
|
69
|
+
casting_time: {
|
|
70
|
+
full: string;
|
|
71
|
+
abbr: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* @deprecated
|
|
75
|
+
*/
|
|
76
|
+
cost: {
|
|
77
|
+
full: string;
|
|
78
|
+
abbr: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* @deprecated
|
|
82
|
+
*/
|
|
83
|
+
range: {
|
|
84
|
+
full: string;
|
|
85
|
+
abbr: string;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* @deprecated
|
|
89
|
+
*/
|
|
90
|
+
duration: {
|
|
91
|
+
full: string;
|
|
92
|
+
abbr: string;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* @deprecated
|
|
96
|
+
*/
|
|
97
|
+
target: string;
|
|
98
|
+
errata?: Errata;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A reference to a music tradition with the music-tradition-specific name of
|
|
3
|
+
* the entry
|
|
4
|
+
*/
|
|
5
|
+
export declare type MusicTraditionReference = {
|
|
6
|
+
/**
|
|
7
|
+
* The music tradition's identifier.
|
|
8
|
+
* @integer
|
|
9
|
+
* @minimum 1
|
|
10
|
+
*/
|
|
11
|
+
id: number;
|
|
12
|
+
/**
|
|
13
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
14
|
+
* @minProperties 1
|
|
15
|
+
*/
|
|
16
|
+
translations: {
|
|
17
|
+
/**
|
|
18
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
19
|
+
*/
|
|
20
|
+
[localeId: string]: {
|
|
21
|
+
/**
|
|
22
|
+
* The music-tradition-specific name of the entry.
|
|
23
|
+
* @minLength 1
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main FocusRule
|
|
3
|
+
*/
|
|
4
|
+
import { Errata } from "../source/_Erratum";
|
|
5
|
+
import { PublicationRefs } from "../source/_PublicationRef";
|
|
6
|
+
/**
|
|
7
|
+
* @title Focus Rule
|
|
8
|
+
*/
|
|
9
|
+
export declare type FocusRule = {
|
|
10
|
+
/**
|
|
11
|
+
* The focus rule's identifier. An unique, increasing integer.
|
|
12
|
+
* @integer
|
|
13
|
+
* @minimum 1
|
|
14
|
+
*/
|
|
15
|
+
id: number;
|
|
16
|
+
/**
|
|
17
|
+
* The focus rule's subject's identifier.
|
|
18
|
+
* @integer
|
|
19
|
+
* @minimum 1
|
|
20
|
+
*/
|
|
21
|
+
subject_id: number;
|
|
22
|
+
/**
|
|
23
|
+
* The focus rule's level.
|
|
24
|
+
* @integer
|
|
25
|
+
* @minimum 1
|
|
26
|
+
* @maximum 4
|
|
27
|
+
*/
|
|
28
|
+
level: number;
|
|
29
|
+
src: PublicationRefs;
|
|
30
|
+
/**
|
|
31
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
32
|
+
* @minProperties 1
|
|
33
|
+
*/
|
|
34
|
+
translations: {
|
|
35
|
+
/**
|
|
36
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
37
|
+
*/
|
|
38
|
+
[localeId: string]: {
|
|
39
|
+
/**
|
|
40
|
+
* The name of the focus rule.
|
|
41
|
+
* @minLength 1
|
|
42
|
+
*/
|
|
43
|
+
name: string;
|
|
44
|
+
/**
|
|
45
|
+
* The description of the focus rule.
|
|
46
|
+
* @markdown
|
|
47
|
+
* @minLength 1
|
|
48
|
+
*/
|
|
49
|
+
description: string;
|
|
50
|
+
errata?: Errata;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main Subject
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Subjects or Subject Areas are the categories of Focus Rules.
|
|
6
|
+
* @title Subject
|
|
7
|
+
*/
|
|
8
|
+
export declare type Subject = {
|
|
9
|
+
/**
|
|
10
|
+
* The subject's identifier. An unique, increasing 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 subject.
|
|
26
|
+
* @minLength 1
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main OptionalRule
|
|
3
|
+
*/
|
|
4
|
+
import { Errata } from "../source/_Erratum";
|
|
5
|
+
import { PublicationRefs } from "../source/_PublicationRef";
|
|
6
|
+
/**
|
|
7
|
+
* @title Optional Rule
|
|
8
|
+
*/
|
|
9
|
+
export declare type OptionalRule = {
|
|
10
|
+
/**
|
|
11
|
+
* The optional rule's identifier. An unique, increasing integer.
|
|
12
|
+
* @integer
|
|
13
|
+
* @minimum 1
|
|
14
|
+
*/
|
|
15
|
+
id: number;
|
|
16
|
+
/**
|
|
17
|
+
* The relevance of the optional rule for Optolith. It may be that it
|
|
18
|
+
* influences character creating but it may also just influnce the character
|
|
19
|
+
* sheet. If it is linked to systems in Optolith, it may be specified if this
|
|
20
|
+
* rule has not been implemented in Optolith yet.
|
|
21
|
+
*/
|
|
22
|
+
relevance: Relevance;
|
|
23
|
+
src: PublicationRefs;
|
|
24
|
+
/**
|
|
25
|
+
* All translations for the entry, identified by IETF language tag (BCP47).
|
|
26
|
+
* @minProperties 1
|
|
27
|
+
*/
|
|
28
|
+
translations: {
|
|
29
|
+
/**
|
|
30
|
+
* @patternProperties ^[a-z]{2}-[A-Z]{2}$
|
|
31
|
+
*/
|
|
32
|
+
[localeId: string]: {
|
|
33
|
+
/**
|
|
34
|
+
* The name of the optional rule.
|
|
35
|
+
* @minLength 1
|
|
36
|
+
*/
|
|
37
|
+
name: string;
|
|
38
|
+
/**
|
|
39
|
+
* The description of the optional rule.
|
|
40
|
+
* @markdown
|
|
41
|
+
* @minLength 1
|
|
42
|
+
*/
|
|
43
|
+
description: string;
|
|
44
|
+
errata?: Errata;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* The relevance of the optional rule for Optolith. It may be that it influences
|
|
50
|
+
* character creating but it may also just influnce the character sheet. If it
|
|
51
|
+
* is linked to systems in Optolith, it may be specified if this rule has not
|
|
52
|
+
* been implemented in Optolith yet.
|
|
53
|
+
*/
|
|
54
|
+
declare type Relevance = {
|
|
55
|
+
tag: "Extraneous";
|
|
56
|
+
} | {
|
|
57
|
+
tag: "Linked";
|
|
58
|
+
/**
|
|
59
|
+
* Does the optional rule have an impact on character creation or character
|
|
60
|
+
* sheet and this effect has not been implemented in Optolith yet? If
|
|
61
|
+
* `true`, the optional rule cannot be activated.
|
|
62
|
+
*/
|
|
63
|
+
isMissingImplementation?: boolean;
|
|
64
|
+
};
|
|
65
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @main Errata
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* A list of errata for the entry in the specific language.
|
|
6
|
+
* @title Errata
|
|
7
|
+
* @minItems 1
|
|
8
|
+
*/
|
|
9
|
+
export declare type Errata = Erratum[];
|
|
10
|
+
/**
|
|
11
|
+
* @title Erratum
|
|
12
|
+
*/
|
|
13
|
+
export declare type Erratum = {
|
|
14
|
+
/**
|
|
15
|
+
* The date when the change was confirmed and applied to the entry.
|
|
16
|
+
* @format date
|
|
17
|
+
*/
|
|
18
|
+
date: string;
|
|
19
|
+
/**
|
|
20
|
+
* A description of what changed.
|
|
21
|
+
* @markdown
|
|
22
|
+
* @minLength 1
|
|
23
|
+
*/
|
|
24
|
+
description: string;
|
|
25
|
+
};
|