Skip to content

Commit c6f23de

Browse files
committed
Updates spacex definition file to make use of the new options
1 parent 63cd3ea commit c6f23de

File tree

1 file changed

+31
-7
lines changed

1 file changed

+31
-7
lines changed

samples/spacex/spacex_definition.json

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
],
2626
"objectTypeRenames": [
2727
],
28+
"propertyNameRenames": [
29+
],
2830
"objectIdentifierProperties": [
2931
],
3032
"objectTitleProperties": [
@@ -95,6 +97,8 @@
9597
],
9698
"objectTypeRenames": [
9799
],
100+
"propertyNameRenames": [
101+
],
98102
"objectIdentifierProperties": [
99103
],
100104
"objectTitleProperties": [
@@ -141,6 +145,8 @@
141145
],
142146
"objectTypeRenames": [
143147
],
148+
"propertyNameRenames": [
149+
],
144150
"objectIdentifierProperties": [
145151
],
146152
"objectTitleProperties": [
@@ -184,7 +190,7 @@
184190
}
185191
},
186192
{
187-
"option": "launch-crew-rocket",
193+
"option": "launch-crew",
188194
"definition": {
189195
"continueAfterUnhandledObjects": null,
190196
"groupDetailObjectsTogether": null,
@@ -201,7 +207,6 @@
201207
"operation": "replace",
202208
"list": [
203209
"launch",
204-
"rocket",
205210
"crew",
206211
{"objectName": "launchcrew","generateWithoutIdentifier": "true"}
207212
]
@@ -210,6 +215,8 @@
210215
],
211216
"objectTypeRenames": [
212217
],
218+
"propertyNameRenames": [
219+
],
213220
"objectIdentifierProperties": [
214221
],
215222
"objectTitleProperties": [
@@ -237,7 +244,7 @@
237244
}
238245
},
239246
{
240-
"option": "launch-crew",
247+
"option": "launch-crew-rocket",
241248
"definition": {
242249
"continueAfterUnhandledObjects": null,
243250
"groupDetailObjectsTogether": null,
@@ -254,6 +261,7 @@
254261
"operation": "replace",
255262
"list": [
256263
"launch",
264+
"rocket",
257265
"crew",
258266
{"objectName": "launchcrew","generateWithoutIdentifier": "true"}
259267
]
@@ -262,6 +270,8 @@
262270
],
263271
"objectTypeRenames": [
264272
],
273+
"propertyNameRenames": [
274+
],
265275
"objectIdentifierProperties": [
266276
],
267277
"objectTitleProperties": [
@@ -317,13 +327,16 @@
317327
],
318328
"objectTypeRenames": [
319329
"launches=launch",
320-
"launch.crew=launchcrew",
330+
"xlaunch.crew=launchcrew",
321331
"launch.cores=launchcore",
322332
"rockets=rocket",
323333
"capsules=capsule",
324334
"payloads=payload",
325335
"ships=ship"
326336
],
337+
"propertyNameRenames": [
338+
"crew.crew=id"
339+
],
327340
"objectIdentifierProperties": [
328341
"id"
329342
],
@@ -337,11 +350,19 @@
337350
"composite_fairing"
338351
],
339352
"relationshipProperties": [
353+
{
354+
"relationshipProperty": "launch.crew",
355+
"relationshipTypeProperty": "role",
356+
"objectTypeProperty": null,
357+
"objectType": "crew",
358+
"objectIdentifierProperty": "crew",
359+
"showInParentObject": true
360+
},
340361
"launches",
341362
"launch",
342363
"rockets",
343364
"rocket",
344-
"crew.crew",
365+
"xcrew.crew",
345366
"dragon.capsule",
346367
"capsules",
347368
"payloads",
@@ -355,10 +376,13 @@
355376
"role"
356377
],
357378
"relationshipTypeArrowFormats": [
379+
"crew=[dotted]",
380+
"crew.pilot=[#blue]",
381+
"crew.commander=[#red]"
358382
],
359383
"groupProperties": [
360-
"launchcrew",
361-
"launchcore"
384+
"launchcore",
385+
"launch.crew"
362386
],
363387
"characteristicProperties": [
364388
"*pad.images",

0 commit comments

Comments
 (0)