Skip to content

Commit 004ecca

Browse files
committed
added data wrapper to json
1 parent aaf7681 commit 004ecca

File tree

1 file changed

+71
-69
lines changed

1 file changed

+71
-69
lines changed

data/falcon9.rb

Lines changed: 71 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,77 @@
11
$falcon9 = {
2-
name: "Falcon 9",
3-
stages: "2",
4-
height: {
5-
meters: "70",
6-
feet: "229.6"
7-
},
8-
diameter: {
9-
meters: "3.7",
10-
feet: "12"
11-
},
12-
mass: {
13-
kg: "549,054",
14-
lb: "1,207,920"
15-
},
16-
payload_weight: {
17-
leo: {
18-
name: "Low Earth Orbit",
19-
kg: "22,800",
20-
lb: "50,265"
2+
data: {
3+
name: "Falcon 9",
4+
stages: "2",
5+
height: {
6+
meters: "70",
7+
feet: "229.6"
218
},
22-
gto: {
23-
name: "Geosynchronous Transfer Orbit",
24-
kg: "8,300",
25-
lb: "18,300"
9+
diameter: {
10+
meters: "3.7",
11+
feet: "12"
2612
},
27-
mars: {
28-
name: "Mars",
29-
kg: "4,020",
30-
lb: "8,860"
13+
mass: {
14+
kg: "549,054",
15+
lb: "1,207,920"
3116
},
32-
},
33-
stage_1: {
34-
engines: "9",
35-
reusable: "true",
36-
burn_time_sec: "162",
37-
sea_level_thrust: {
38-
kN: "7,607",
39-
lbf: "1,710,000"
17+
payload_weight: {
18+
leo: {
19+
name: "Low Earth Orbit",
20+
kg: "22,800",
21+
lb: "50,265"
22+
},
23+
gto: {
24+
name: "Geosynchronous Transfer Orbit",
25+
kg: "8,300",
26+
lb: "18,300"
27+
},
28+
mars: {
29+
name: "Mars",
30+
kg: "4,020",
31+
lb: "8,860"
32+
},
4033
},
41-
vacuum_thrust: {
42-
kN: "8,227",
43-
lbf: "1,849,500"
44-
}
45-
},
46-
stage_2: {
47-
engines: "1",
48-
burn_time_sec: "397",
49-
sea_level_thrust: {
50-
kN: "934",
51-
lbf: "210,000"
52-
}
53-
},
54-
payload_containers: {
55-
option_1: "Dragon",
56-
option_2: "Dragon Trunk",
57-
option_3: "Composite Fairing"
58-
},
59-
launch_site_1: {
60-
name: "Launch Complex 40",
61-
location: "Cape Canavaral",
62-
state: "Florida"
63-
},
64-
launch_site_2: {
65-
name: "Space Launch Center 4",
66-
location: "Vanderberg Air Force Base",
67-
state: "California"
68-
},
69-
launch_site_3: {
70-
name: "Launch Complex 39",
71-
location: "Kennedy Space Center",
72-
state: "Florida"
73-
},
74-
description: "Falcon 9 is a two-stage rocket designed and manufactured by SpaceX for the reliable and safe transport of satellites and the Dragon spacecraft into orbit."
34+
stage_1: {
35+
engines: "9",
36+
reusable: "true",
37+
burn_time_sec: "162",
38+
sea_level_thrust: {
39+
kN: "7,607",
40+
lbf: "1,710,000"
41+
},
42+
vacuum_thrust: {
43+
kN: "8,227",
44+
lbf: "1,849,500"
45+
}
46+
},
47+
stage_2: {
48+
engines: "1",
49+
burn_time_sec: "397",
50+
sea_level_thrust: {
51+
kN: "934",
52+
lbf: "210,000"
53+
}
54+
},
55+
payload_containers: {
56+
option_1: "Dragon",
57+
option_2: "Dragon Trunk",
58+
option_3: "Composite Fairing"
59+
},
60+
launch_site_1: {
61+
name: "Launch Complex 40",
62+
location: "Cape Canavaral",
63+
state: "Florida"
64+
},
65+
launch_site_2: {
66+
name: "Space Launch Center 4",
67+
location: "Vanderberg Air Force Base",
68+
state: "California"
69+
},
70+
launch_site_3: {
71+
name: "Launch Complex 39",
72+
location: "Kennedy Space Center",
73+
state: "Florida"
74+
},
75+
description: "Falcon 9 is a two-stage rocket designed and manufactured by SpaceX for the reliable and safe transport of satellites and the Dragon spacecraft into orbit."
76+
}
7577
}

0 commit comments

Comments
 (0)