-
Notifications
You must be signed in to change notification settings - Fork 134
/
image_description_schema.json
175 lines (175 loc) · 6.33 KB
/
image_description_schema.json
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"oneOf": [
{
"type": "object",
"properties": {
"MAPGPSTrack": {
"type": "array",
"items": {
"type": "array",
"description": "track point",
"prefixItems": [
{
"type": "number",
"description": "Time offset of the track point, in milliseconds, relative to the beginning of the video"
},
{
"type": "number",
"description": "Longitude of the track point"
},
{
"type": "number",
"description": "Latitude of the track point"
},
{
"type": [
"number",
"null"
],
"description": "Altitude of the track point in meters"
},
{
"type": [
"number",
"null"
],
"description": "Camera angle of the track point, in degrees. If null, the angle will be interpolated"
}
]
}
},
"MAPDeviceMake": {
"type": "string",
"description": "Device make, e.g. GoPro, BlackVue, Insta360"
},
"MAPDeviceModel": {
"type": "string",
"description": "Device model, e.g. HERO10 Black, DR900S-1CH, Insta360 Titan"
},
"filename": {
"type": "string",
"description": "Absolute path of the video"
},
"md5sum": {
"type": [
"string",
"null"
],
"description": "MD5 checksum of the video content. If not provided, the uploader will compute it"
},
"filetype": {
"type": "string",
"enum": [
"camm",
"gopro",
"blackvue",
"video"
],
"description": "The video file type"
}
},
"required": [
"MAPGPSTrack",
"filename",
"filetype"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"MAPLatitude": {
"type": "number",
"description": "Latitude of the image",
"minimum": -90,
"maximum": 90
},
"MAPLongitude": {
"type": "number",
"description": "Longitude of the image",
"minimum": -180,
"maximum": 180
},
"MAPAltitude": {
"type": "number",
"description": "Altitude of the image, in meters"
},
"MAPCaptureTime": {
"type": "string",
"description": "Capture time of the image",
"pattern": "[0-9]{4}_[0-9]{2}_[0-9]{2}_[0-9]{2}_[0-9]{2}_[0-9]{2}_[0-9]+"
},
"MAPCompassHeading": {
"type": "object",
"properties": {
"TrueHeading": {
"type": "number"
},
"MagneticHeading": {
"type": "number"
}
},
"required": [
"TrueHeading",
"MagneticHeading"
],
"additionalProperties": false,
"description": "Camera angle of the image, in degrees. If null, the angle will be interpolated"
},
"MAPSequenceUUID": {
"type": "string",
"description": "Arbitrary key for grouping images",
"pattern": "[a-zA-Z0-9_-]+"
},
"MAPMetaTags": {
"type": "object"
},
"MAPDeviceMake": {
"type": "string"
},
"MAPDeviceModel": {
"type": "string"
},
"MAPGPSAccuracyMeters": {
"type": "number"
},
"MAPCameraUUID": {
"type": "string"
},
"MAPFilename": {
"type": "string",
"description": "The base filename of the image"
},
"MAPOrientation": {
"type": "integer"
},
"filename": {
"type": "string",
"description": "Absolute path of the image"
},
"md5sum": {
"type": [
"string",
"null"
],
"description": "MD5 checksum of the image content. If not provided, the uploader will compute it"
},
"filetype": {
"type": "string",
"enum": [
"image"
],
"description": "The image file type"
}
},
"required": [
"MAPCaptureTime",
"MAPLatitude",
"MAPLongitude",
"filename",
"filetype"
],
"additionalProperties": false
}
]
}