-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschema.graphql
94 lines (87 loc) · 2 KB
/
schema.graphql
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
86
87
88
89
90
91
92
93
94
schema {
query: Query
}
type Query {
photoCameraData(id: ID!): PhotoCameraData
photoFileData(id: ID!): PhotoFileData
photoImageData(id: ID!): PhotoImageData
photoLensData(id: ID!): PhotoLensData
photoLocationData(id: ID!): PhotoLocationData
}
type PhotoCameraData {
id: ID!
make: String
model: String
software: String
serial_number: String
}
#type PhotoExifData {
# id: ID!
#}
type PhotoFileData {
id: ID!
file_type: String!
extension: String!
object_size: Int!
is_jpeg: Boolean!
is_raw: Boolean!
}
type PhotoImageData {
id: ID!
compression: String
length: Int
width: Int
orientation: String
date_time: String # FIXME: need to revisit how we're storing time after we collect m ore samples.
date_time_offset: String
auto_focus: Boolean
exposure_mode: String
exposure_program: String
exposure_time: Float
flash: String
fnumber: Float
focal_length: Int
focal_length_in_35mm_film: Int
photographic_sensitivity: [Int]
light_source: String
metering_mode: String
sensing_method: String
sensitivity_type: String
contrast: String
gain_control: String
saturation: String
sharpness: String
subject_distance_range: String
white_balance: String
}
type PhotoLensData {
id: ID!
make: String
model: String
serial_number: String
min_focal: Int
max_focal: Int
min_aperture: Float
max_aperture_high: Float
max_aperture_low: Float
auto_focus: Boolean
vibration_reduction: Boolean
lens_maker_type: [String]
camera_maker_type: [String]
macro: Boolean
zoom: Boolean
}
type PhotoLocationData {
id: ID!
gps_version_id: [Int]
gps_latitude_ref: String
gps_latitude: [Float]
gps_longitude_ref: String
gps_longitude: [Float]
gps_altitude_ref: Int
gps_altitude: Float
gps_time_stamp: [Float]
gps_satellites: String
gps_map_datum: String
gps_date: String # FIXME: format this sanely.
}