@kayahr/edsm 1.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.
- package/LICENSE.md +22 -0
- package/README.md +168 -0
- package/lib/body.schema.json +587 -0
- package/lib/codex.schema.json +55 -0
- package/lib/commander-credits-response.schema.json +52 -0
- package/lib/commander-inventory-response.schema.json +91 -0
- package/lib/commander-position-response.schema.json +101 -0
- package/lib/commander-ranks-response.schema.json +138 -0
- package/lib/elite-server-status-response.schema.json +38 -0
- package/lib/flight-logs-response.schema.json +68 -0
- package/lib/main/api/commander.d.ts +96 -0
- package/lib/main/api/commander.js +38 -0
- package/lib/main/api/commander.js.map +1 -0
- package/lib/main/api/common.d.ts +28 -0
- package/lib/main/api/common.js +54 -0
- package/lib/main/api/common.js.map +1 -0
- package/lib/main/api/journal.d.ts +51 -0
- package/lib/main/api/journal.js +35 -0
- package/lib/main/api/journal.js.map +1 -0
- package/lib/main/api/logs.d.ts +130 -0
- package/lib/main/api/logs.js +60 -0
- package/lib/main/api/logs.js.map +1 -0
- package/lib/main/api/status.d.ts +13 -0
- package/lib/main/api/status.js +14 -0
- package/lib/main/api/status.js.map +1 -0
- package/lib/main/api/system.d.ts +279 -0
- package/lib/main/api/system.js +125 -0
- package/lib/main/api/system.js.map +1 -0
- package/lib/main/api/systems.d.ts +148 -0
- package/lib/main/api/systems.js +51 -0
- package/lib/main/api/systems.js.map +1 -0
- package/lib/main/bodies.d.ts +116 -0
- package/lib/main/bodies.js +33 -0
- package/lib/main/bodies.js.map +1 -0
- package/lib/main/codex.d.ts +20 -0
- package/lib/main/codex.js +15 -0
- package/lib/main/codex.js.map +1 -0
- package/lib/main/common.d.ts +14 -0
- package/lib/main/common.js +20 -0
- package/lib/main/common.js.map +1 -0
- package/lib/main/index.d.ts +14 -0
- package/lib/main/index.js +19 -0
- package/lib/main/index.js.map +1 -0
- package/lib/main/powerplay.d.ts +23 -0
- package/lib/main/powerplay.js +15 -0
- package/lib/main/powerplay.js.map +1 -0
- package/lib/main/stations.d.ts +69 -0
- package/lib/main/stations.js +15 -0
- package/lib/main/stations.js.map +1 -0
- package/lib/main/systems.d.ts +61 -0
- package/lib/main/systems.js +15 -0
- package/lib/main/systems.js.map +1 -0
- package/lib/main/util.d.ts +38 -0
- package/lib/main/util.js +104 -0
- package/lib/main/util.js.map +1 -0
- package/lib/powerplay.schema.json +90 -0
- package/lib/station-market-response.schema.json +95 -0
- package/lib/station-outfitting-response.schema.json +75 -0
- package/lib/station-shipyard-response.schema.json +72 -0
- package/lib/station.schema.json +315 -0
- package/lib/system-bodies-response.schema.json +609 -0
- package/lib/system-deaths-response.schema.json +58 -0
- package/lib/system-estimated-value-response.schema.json +76 -0
- package/lib/system-factions-response.schema.json +313 -0
- package/lib/system-response.schema.json +137 -0
- package/lib/system-stations-response.schema.json +222 -0
- package/lib/system-traffic-response.schema.json +85 -0
- package/lib/system.schema.json +1016 -0
- package/package.json +82 -0
- package/src/main/api/commander.ts +116 -0
- package/src/main/api/common.ts +77 -0
- package/src/main/api/journal.ts +76 -0
- package/src/main/api/logs.ts +166 -0
- package/src/main/api/status.ts +24 -0
- package/src/main/api/system.ts +361 -0
- package/src/main/api/systems.ts +199 -0
- package/src/main/bodies.ts +153 -0
- package/src/main/codex.ts +31 -0
- package/src/main/common.ts +29 -0
- package/src/main/index.ts +42 -0
- package/src/main/powerplay.ts +34 -0
- package/src/main/stations.ts +87 -0
- package/src/main/systems.ts +77 -0
- package/src/main/util.ts +103 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/SystemEstimatedValueResponse",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"BodyScanValue": {
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"bodyId": {
|
|
9
|
+
"type": "number"
|
|
10
|
+
},
|
|
11
|
+
"bodyName": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"distance": {
|
|
15
|
+
"type": "number"
|
|
16
|
+
},
|
|
17
|
+
"valueMax": {
|
|
18
|
+
"type": "number"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": [
|
|
22
|
+
"bodyId",
|
|
23
|
+
"bodyName",
|
|
24
|
+
"distance",
|
|
25
|
+
"valueMax"
|
|
26
|
+
],
|
|
27
|
+
"type": "object"
|
|
28
|
+
},
|
|
29
|
+
"Id64": {
|
|
30
|
+
"description": "A 64 bit ID. Can be a `number` if ID does not need more then 53 bit. Must be `bigint` if ID needs more than 53 bit.",
|
|
31
|
+
"type": [
|
|
32
|
+
"number"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"SystemEstimatedValueResponse": {
|
|
36
|
+
"additionalProperties": false,
|
|
37
|
+
"description": "Response structure of the EDSM system estimated value request.",
|
|
38
|
+
"properties": {
|
|
39
|
+
"estimatedValue": {
|
|
40
|
+
"type": "number"
|
|
41
|
+
},
|
|
42
|
+
"estimatedValueMapped": {
|
|
43
|
+
"type": "number"
|
|
44
|
+
},
|
|
45
|
+
"id": {
|
|
46
|
+
"type": "number"
|
|
47
|
+
},
|
|
48
|
+
"id64": {
|
|
49
|
+
"$ref": "#/definitions/Id64"
|
|
50
|
+
},
|
|
51
|
+
"name": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
"url": {
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
"valuableBodies": {
|
|
58
|
+
"items": {
|
|
59
|
+
"$ref": "#/definitions/BodyScanValue"
|
|
60
|
+
},
|
|
61
|
+
"type": "array"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": [
|
|
65
|
+
"id",
|
|
66
|
+
"id64",
|
|
67
|
+
"name",
|
|
68
|
+
"url",
|
|
69
|
+
"estimatedValue",
|
|
70
|
+
"estimatedValueMapped",
|
|
71
|
+
"valuableBodies"
|
|
72
|
+
],
|
|
73
|
+
"type": "object"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/SystemFactionsResponse",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"Id64": {
|
|
6
|
+
"description": "A 64 bit ID. Can be a `number` if ID does not need more then 53 bit. Must be `bigint` if ID needs more than 53 bit.",
|
|
7
|
+
"type": [
|
|
8
|
+
"number"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"Record<string,number>": {
|
|
12
|
+
"additionalProperties": {
|
|
13
|
+
"type": "number"
|
|
14
|
+
},
|
|
15
|
+
"type": "object"
|
|
16
|
+
},
|
|
17
|
+
"Record<string,string>": {
|
|
18
|
+
"additionalProperties": {
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"type": "object"
|
|
22
|
+
},
|
|
23
|
+
"Record<string,structure-1543834377-6047-6077-1543834377-6040-6078-1543834377-6025-6079-1543834377-6025-6084-1543834377-5999-6085-1543834377-5740-6601-1543834377-0-8642[]>": {
|
|
24
|
+
"additionalProperties": {
|
|
25
|
+
"items": {
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"properties": {
|
|
28
|
+
"state": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": [
|
|
33
|
+
"state"
|
|
34
|
+
],
|
|
35
|
+
"type": "object"
|
|
36
|
+
},
|
|
37
|
+
"type": "array"
|
|
38
|
+
},
|
|
39
|
+
"type": "object"
|
|
40
|
+
},
|
|
41
|
+
"Record<string,structure-1543834377-6222-6276-1543834377-6215-6277-1543834377-6200-6278-1543834377-6200-6283-1543834377-6170-6284-1543834377-5740-6601-1543834377-0-8642[]>": {
|
|
42
|
+
"additionalProperties": {
|
|
43
|
+
"items": {
|
|
44
|
+
"additionalProperties": false,
|
|
45
|
+
"properties": {
|
|
46
|
+
"state": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"trend": {
|
|
50
|
+
"type": "number"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": [
|
|
54
|
+
"state"
|
|
55
|
+
],
|
|
56
|
+
"type": "object"
|
|
57
|
+
},
|
|
58
|
+
"type": "array"
|
|
59
|
+
},
|
|
60
|
+
"type": "object"
|
|
61
|
+
},
|
|
62
|
+
"Record<string,structure-1543834377-6415-6469-1543834377-6408-6470-1543834377-6393-6471-1543834377-6393-6476-1543834377-6366-6477-1543834377-5740-6601-1543834377-0-8642[]>": {
|
|
63
|
+
"additionalProperties": {
|
|
64
|
+
"items": {
|
|
65
|
+
"additionalProperties": false,
|
|
66
|
+
"properties": {
|
|
67
|
+
"state": {
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"trend": {
|
|
71
|
+
"type": "number"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"required": [
|
|
75
|
+
"state"
|
|
76
|
+
],
|
|
77
|
+
"type": "object"
|
|
78
|
+
},
|
|
79
|
+
"type": "array"
|
|
80
|
+
},
|
|
81
|
+
"type": "object"
|
|
82
|
+
},
|
|
83
|
+
"ShortSystemFaction": {
|
|
84
|
+
"additionalProperties": false,
|
|
85
|
+
"properties": {
|
|
86
|
+
"allegiance": {
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
"government": {
|
|
90
|
+
"type": "string"
|
|
91
|
+
},
|
|
92
|
+
"id": {
|
|
93
|
+
"type": "number"
|
|
94
|
+
},
|
|
95
|
+
"name": {
|
|
96
|
+
"type": "string"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"required": [
|
|
100
|
+
"id",
|
|
101
|
+
"name",
|
|
102
|
+
"allegiance",
|
|
103
|
+
"government"
|
|
104
|
+
],
|
|
105
|
+
"type": "object"
|
|
106
|
+
},
|
|
107
|
+
"SystemFaction": {
|
|
108
|
+
"additionalProperties": false,
|
|
109
|
+
"properties": {
|
|
110
|
+
"activeStates": {
|
|
111
|
+
"items": {
|
|
112
|
+
"additionalProperties": false,
|
|
113
|
+
"properties": {
|
|
114
|
+
"state": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"required": [
|
|
119
|
+
"state"
|
|
120
|
+
],
|
|
121
|
+
"type": "object"
|
|
122
|
+
},
|
|
123
|
+
"type": "array"
|
|
124
|
+
},
|
|
125
|
+
"activeStatesHistory": {
|
|
126
|
+
"anyOf": [
|
|
127
|
+
{
|
|
128
|
+
"$ref": "#/definitions/Record%3Cstring%2Cstructure-1543834377-6047-6077-1543834377-6040-6078-1543834377-6025-6079-1543834377-6025-6084-1543834377-5999-6085-1543834377-5740-6601-1543834377-0-8642%5B%5D%3E"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"maxItems": 0,
|
|
132
|
+
"minItems": 0,
|
|
133
|
+
"type": "array"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"allegiance": {
|
|
138
|
+
"type": "string"
|
|
139
|
+
},
|
|
140
|
+
"government": {
|
|
141
|
+
"type": "string"
|
|
142
|
+
},
|
|
143
|
+
"happiness": {
|
|
144
|
+
"type": "string"
|
|
145
|
+
},
|
|
146
|
+
"happinessHistory": {
|
|
147
|
+
"anyOf": [
|
|
148
|
+
{
|
|
149
|
+
"$ref": "#/definitions/Record%3Cstring%2Cstring%3E"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"maxItems": 0,
|
|
153
|
+
"minItems": 0,
|
|
154
|
+
"type": "array"
|
|
155
|
+
}
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
"id": {
|
|
159
|
+
"type": "number"
|
|
160
|
+
},
|
|
161
|
+
"influence": {
|
|
162
|
+
"type": "number"
|
|
163
|
+
},
|
|
164
|
+
"influenceHistory": {
|
|
165
|
+
"anyOf": [
|
|
166
|
+
{
|
|
167
|
+
"$ref": "#/definitions/Record%3Cstring%2Cnumber%3E"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"maxItems": 0,
|
|
171
|
+
"minItems": 0,
|
|
172
|
+
"type": "array"
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"isPlayer": {
|
|
177
|
+
"type": "boolean"
|
|
178
|
+
},
|
|
179
|
+
"lastUpdate": {
|
|
180
|
+
"type": "number"
|
|
181
|
+
},
|
|
182
|
+
"name": {
|
|
183
|
+
"type": "string"
|
|
184
|
+
},
|
|
185
|
+
"pendingStates": {
|
|
186
|
+
"items": {
|
|
187
|
+
"additionalProperties": false,
|
|
188
|
+
"properties": {
|
|
189
|
+
"state": {
|
|
190
|
+
"type": "string"
|
|
191
|
+
},
|
|
192
|
+
"trend": {
|
|
193
|
+
"type": "number"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"required": [
|
|
197
|
+
"state"
|
|
198
|
+
],
|
|
199
|
+
"type": "object"
|
|
200
|
+
},
|
|
201
|
+
"type": "array"
|
|
202
|
+
},
|
|
203
|
+
"pendingStatesHistory": {
|
|
204
|
+
"anyOf": [
|
|
205
|
+
{
|
|
206
|
+
"$ref": "#/definitions/Record%3Cstring%2Cstructure-1543834377-6415-6469-1543834377-6408-6470-1543834377-6393-6471-1543834377-6393-6476-1543834377-6366-6477-1543834377-5740-6601-1543834377-0-8642%5B%5D%3E"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"maxItems": 0,
|
|
210
|
+
"minItems": 0,
|
|
211
|
+
"type": "array"
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
},
|
|
215
|
+
"recoveringStates": {
|
|
216
|
+
"items": {
|
|
217
|
+
"additionalProperties": false,
|
|
218
|
+
"properties": {
|
|
219
|
+
"state": {
|
|
220
|
+
"type": "string"
|
|
221
|
+
},
|
|
222
|
+
"trend": {
|
|
223
|
+
"type": "number"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"required": [
|
|
227
|
+
"state"
|
|
228
|
+
],
|
|
229
|
+
"type": "object"
|
|
230
|
+
},
|
|
231
|
+
"type": "array"
|
|
232
|
+
},
|
|
233
|
+
"recoveringStatesHistory": {
|
|
234
|
+
"anyOf": [
|
|
235
|
+
{
|
|
236
|
+
"$ref": "#/definitions/Record%3Cstring%2Cstructure-1543834377-6222-6276-1543834377-6215-6277-1543834377-6200-6278-1543834377-6200-6283-1543834377-6170-6284-1543834377-5740-6601-1543834377-0-8642%5B%5D%3E"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"maxItems": 0,
|
|
240
|
+
"minItems": 0,
|
|
241
|
+
"type": "array"
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
"state": {
|
|
246
|
+
"type": "string"
|
|
247
|
+
},
|
|
248
|
+
"stateHistory": {
|
|
249
|
+
"anyOf": [
|
|
250
|
+
{
|
|
251
|
+
"$ref": "#/definitions/Record%3Cstring%2Cstring%3E"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"maxItems": 0,
|
|
255
|
+
"minItems": 0,
|
|
256
|
+
"type": "array"
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"required": [
|
|
262
|
+
"activeStates",
|
|
263
|
+
"allegiance",
|
|
264
|
+
"government",
|
|
265
|
+
"happiness",
|
|
266
|
+
"id",
|
|
267
|
+
"influence",
|
|
268
|
+
"isPlayer",
|
|
269
|
+
"lastUpdate",
|
|
270
|
+
"name",
|
|
271
|
+
"pendingStates",
|
|
272
|
+
"recoveringStates",
|
|
273
|
+
"state"
|
|
274
|
+
],
|
|
275
|
+
"type": "object"
|
|
276
|
+
},
|
|
277
|
+
"SystemFactionsResponse": {
|
|
278
|
+
"additionalProperties": false,
|
|
279
|
+
"description": "Response structure of the EDSM system factions request.",
|
|
280
|
+
"properties": {
|
|
281
|
+
"controllingFaction": {
|
|
282
|
+
"$ref": "#/definitions/ShortSystemFaction"
|
|
283
|
+
},
|
|
284
|
+
"factions": {
|
|
285
|
+
"items": {
|
|
286
|
+
"$ref": "#/definitions/SystemFaction"
|
|
287
|
+
},
|
|
288
|
+
"type": "array"
|
|
289
|
+
},
|
|
290
|
+
"id": {
|
|
291
|
+
"type": "number"
|
|
292
|
+
},
|
|
293
|
+
"id64": {
|
|
294
|
+
"$ref": "#/definitions/Id64"
|
|
295
|
+
},
|
|
296
|
+
"name": {
|
|
297
|
+
"type": "string"
|
|
298
|
+
},
|
|
299
|
+
"url": {
|
|
300
|
+
"type": "string"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"required": [
|
|
304
|
+
"id",
|
|
305
|
+
"id64",
|
|
306
|
+
"name",
|
|
307
|
+
"url",
|
|
308
|
+
"factions"
|
|
309
|
+
],
|
|
310
|
+
"type": "object"
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/SystemResponse",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"Id64": {
|
|
6
|
+
"description": "A 64 bit ID. Can be a `number` if ID does not need more then 53 bit. Must be `bigint` if ID needs more than 53 bit.",
|
|
7
|
+
"type": [
|
|
8
|
+
"number"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"SystemResponse": {
|
|
12
|
+
"additionalProperties": false,
|
|
13
|
+
"description": "Response of a {@link getSystem } request.",
|
|
14
|
+
"properties": {
|
|
15
|
+
"coords": {
|
|
16
|
+
"additionalProperties": false,
|
|
17
|
+
"description": "The coordinates of the system. Only present when {@link SystemRequestOptions#showCoordinates } option is set to 1.",
|
|
18
|
+
"properties": {
|
|
19
|
+
"x": {
|
|
20
|
+
"type": "number"
|
|
21
|
+
},
|
|
22
|
+
"y": {
|
|
23
|
+
"type": "number"
|
|
24
|
+
},
|
|
25
|
+
"z": {
|
|
26
|
+
"type": "number"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"required": [
|
|
30
|
+
"x",
|
|
31
|
+
"y",
|
|
32
|
+
"z"
|
|
33
|
+
],
|
|
34
|
+
"type": "object"
|
|
35
|
+
},
|
|
36
|
+
"coordsLocked": {
|
|
37
|
+
"description": "True when exact coords are known. False when position is trilaterated. Only present when {@link SystemRequestOptions#showCoordinates } option is set to 1",
|
|
38
|
+
"type": "boolean"
|
|
39
|
+
},
|
|
40
|
+
"duplicates": {
|
|
41
|
+
"description": "The systems ID having the exact same name in the game. Only present when there are duplicated and {@link SystemRequestOptions#showId } option is set to 1.",
|
|
42
|
+
"items": {
|
|
43
|
+
"type": "number"
|
|
44
|
+
},
|
|
45
|
+
"type": "array"
|
|
46
|
+
},
|
|
47
|
+
"hidden_at": {
|
|
48
|
+
"description": "The time when the system was hidden. Only present when system is hidden and {@link SystemRequestOptions#includeHidden } is set to 1",
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"id": {
|
|
52
|
+
"description": "The EDSM ID of the system. Only present when {@link SystemRequestOptions#showId } option is set to 1.",
|
|
53
|
+
"type": "number"
|
|
54
|
+
},
|
|
55
|
+
"id64": {
|
|
56
|
+
"$ref": "#/definitions/Id64",
|
|
57
|
+
"description": "The Frontier ID of the system. Only present when {@link SystemRequestOptions#showId } option is set to 1."
|
|
58
|
+
},
|
|
59
|
+
"information": {
|
|
60
|
+
"additionalProperties": false,
|
|
61
|
+
"description": "System information. Only present when {@link SystemRequestOptions#showInformation } option is set to 1.",
|
|
62
|
+
"properties": {
|
|
63
|
+
"allegiance": {
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"economy": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"faction": {
|
|
70
|
+
"type": "string"
|
|
71
|
+
},
|
|
72
|
+
"factionState": {
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"government": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"population": {
|
|
79
|
+
"type": "number"
|
|
80
|
+
},
|
|
81
|
+
"reserve": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"secondEconomy": {
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
"security": {
|
|
88
|
+
"type": "string"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"type": "object"
|
|
92
|
+
},
|
|
93
|
+
"mergedTo": {
|
|
94
|
+
"description": "The system ID this system was merged to. Only present when system was merged and, {@link SystemRequestOptions#includeHidden } is set to 1 and {@link SystemRequestOptions#showId } is also set to 1.",
|
|
95
|
+
"type": "number"
|
|
96
|
+
},
|
|
97
|
+
"name": {
|
|
98
|
+
"description": "The name of the system.",
|
|
99
|
+
"type": "string"
|
|
100
|
+
},
|
|
101
|
+
"permitName": {
|
|
102
|
+
"description": "Permit name if any. Only present when {@link SystemRequestOptions#showPermit } option is set to 1.",
|
|
103
|
+
"type": "string"
|
|
104
|
+
},
|
|
105
|
+
"primaryStar": {
|
|
106
|
+
"additionalProperties": false,
|
|
107
|
+
"description": "Information about the primary star if any. Only present when {@link SystemRequestOptions#showPrimaryStar } option is set to 1.",
|
|
108
|
+
"properties": {
|
|
109
|
+
"isScoopable": {
|
|
110
|
+
"type": "boolean"
|
|
111
|
+
},
|
|
112
|
+
"name": {
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
"type": {
|
|
116
|
+
"type": "string"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"required": [
|
|
120
|
+
"type",
|
|
121
|
+
"name",
|
|
122
|
+
"isScoopable"
|
|
123
|
+
],
|
|
124
|
+
"type": "object"
|
|
125
|
+
},
|
|
126
|
+
"requirePermit": {
|
|
127
|
+
"description": "Permit information. Only present when {@link SystemRequestOptions#showPermit } option is set to 1.",
|
|
128
|
+
"type": "boolean"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"required": [
|
|
132
|
+
"name"
|
|
133
|
+
],
|
|
134
|
+
"type": "object"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|