1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Hand-curated subset of the SpaceX GraphQL schema for `rockets`.
#
# Caveat: unlike `launches` and `capsules`, the `rockets` root field
# does NOT accept a `find` argument. Listings work (and we can paginate
# them with limit/offset), but `rockets id=...` filtered lookups error
# at the server. Singular-by-id lookups would need a separate root
# field (`rocket(id: ID!)`), which the adapter could route to via a
# future per-table override in the YAML schema.
name: rockets
id_column: id
columns:
id:
type: string
flags:
name:
type: string
flags:
type:
type: string
flags: # two title columns — list view shows both
company:
type: string
country:
type: string
active:
type: bool
stages:
type: int
boosters:
type: int
cost_per_launch:
type: bigint
success_rate_pct:
type: int
first_flight:
type: date
description:
type: string
wikipedia:
type: string
graphql:
root_field: rockets
dialect: generic
filter_arg: find