-
Notifications
You must be signed in to change notification settings - Fork 0
/
starTypes.raml
85 lines (84 loc) · 2.9 KB
/
starTypes.raml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#%RAML 1.0 Library
types:
Starship:
type: object
properties:
hyperdrive_rating:
type: string
description: The class of this starships hyperdrive.
required: true
MGLT:
type: string
description: >-
The Maximum number of Megalights this starship can travel in a
standard hour. A Megalight is a standard unit of distance and has
never been defined before within the Star Wars universe. This figure
is only really useful for measuring the difference in speed of
starships. We can assume it is similar to AU, the distance between our
Sun (Sol) and Earth.
required: true
created:
type: string
description: The ISO 8601 date format of the time that this resource was created.
required: true
manufacturer:
type: string
description: The manufacturer of this starship. Comma seperated if more than one.
required: true
passengers:
type: string
description: The number of non-essential people this starship can transport.
required: true
consumables:
type: string
description: >-
The maximum length of time that this starship can provide consumables
for its entire crew without having to resupply.
required: true
url:
type: string
description: The hypermedia URL of this resource.
required: true
starship_class:
type: string
description: >-
The class of this starship, such as Starfighter or Deep Space Mobile
Battlestation.
required: true
length:
type: string
description: The length of this starship in meters.
required: true
crew:
type: string
description: The number of personnel needed to run or pilot this starship.
required: true
max_atmosphering_speed:
type: string
description: >-
The maximum speed of this starship in atmosphere. n/a if this starship
is incapable of atmosphering flight.
required: true
edited:
type: string
description: the ISO 8601 date format of the time that this resource was edited.
required: true
model:
type: string
description: >-
The model or official name of this starship. Such as T-65 X-wing or
DS-1 Orbital Battle Station.
required: true
cost_in_credits:
type: string
description: 'The cost of this starship new, in galactic credits.'
required: true
name:
type: string
description: 'The name of this starship. The common name, such as Death Star.'
required: true
cargo_capacity:
type: string
description: The maximum number of kilograms that this starship can transport.
required: true
description: A Starship