@@ -13,31 +13,26 @@ message Address {
1313 optional .elasticgraph.GeoLocation geo_location = 4 ;
1414 repeated .elasticgraph.GeoShape shapes = 5 ;
1515 optional string manufacturer_id = 6 ;
16- // Next field number: 7
1716}
1817
1918message AddressTimestamps {
2019 optional google.protobuf.Timestamp created_at = 1 ;
21- // Next field number: 2
2220}
2321
2422message Affiliations {
2523 repeated .elasticgraph.Sponsorship sponsorships_nested = 1 ;
2624 repeated .elasticgraph.Sponsorship sponsorships_object = 2 ;
27- // Next field number: 3
2825}
2926
3027message BrokerWholesaler {
3128 optional string id = 1 ;
3229 optional bool active = 2 ;
33- // Next field number: 3
3430}
3531
3632message Coach {
3733 optional string id = 1 ;
3834 optional string name = 2 ;
3935 optional int32 salary = 3 ;
40- // Next field number: 4
4136}
4237
4338message CoachProfile {
@@ -46,26 +41,25 @@ message CoachProfile {
4641 optional string coach_id = 3 ;
4742 optional int32 annual_salary = 4 ;
4843 optional string team_league = 5 ;
44+
4945 // Must be formatted as an ISO 8601 date, e.g. "2024-11-25".
5046 optional string team_formed_on = 6 ;
51- // Next field number: 7
5247}
5348
5449enum Color {
5550 // The default value when no enum value has been explicitly set. Do not use this value.
5651 // See https://protobuf.dev/programming-guides/proto3/#enum-default.
5752 COLOR_UNSPECIFIED = 0 ;
53+
5854 COLOR_RED = 1 ;
5955 COLOR_BLUE = 2 ;
6056 COLOR_GREEN = 3 ;
61- // Next value number: 4
6257}
6358
6459message Company {
6560 optional string id = 1 ;
6661 optional string name = 2 ;
6762 optional string stock_ticker = 3 ;
68- // Next field number: 4
6963}
7064
7165message Component {
@@ -83,20 +77,17 @@ message Component {
8377 repeated string part_ids = 12 ;
8478 repeated string owner_ids = 13 ;
8579 optional string owner_id = 14 ;
86- // Next field number: 15
8780}
8881
8982message ComponentDesign {
9083 optional string id = 1 ;
9184 optional string component_id = 2 ;
9285 optional string designer_name = 3 ;
93- // Next field number: 4
9486}
9587
9688message DirectWholesaler {
9789 optional string id = 1 ;
9890 optional bool active = 2 ;
99- // Next field number: 3
10091}
10192
10293message DistributionChannel {
@@ -106,7 +97,6 @@ message DistributionChannel {
10697 .elasticgraph.DirectWholesaler direct_wholesaler = 3 ;
10798 .elasticgraph.BrokerWholesaler broker_wholesaler = 4 ;
10899 }
109- // Next field number: 5
110100}
111101
112102message ElasticGraphEventBatch {
@@ -149,64 +139,59 @@ message ElectricalPart {
149139 optional google.protobuf.Timestamp created_at = 3 ;
150140 optional int32 voltage = 4 ;
151141 optional string manufacturer_id = 5 ;
152- // Next field number: 6
153142}
154143
155144message GeneralManager {
156145 optional string id = 1 ;
157146 optional string name = 2 ;
158147 optional int32 salary = 3 ;
159- // Next field number: 4
160148}
161149
162150message GeneralManagerProfile {
163151 optional string id = 1 ;
164152 optional string team_id = 2 ;
165153 optional int32 annual_salary = 3 ;
166154 optional string team_league = 4 ;
155+
167156 // Must be formatted as an ISO 8601 date, e.g. "2024-11-25".
168157 optional string team_formed_on = 5 ;
169- // Next field number: 6
170158}
171159
172160// Geographic coordinates representing a location on the Earth's surface.
173161message GeoLocation {
174162 // Angular distance north or south of the Earth's equator, measured in degrees from -90 to +90.
175163 optional double latitude = 1 ;
164+
176165 // Angular distance east or west of the Prime Meridian at Greenwich, UK, measured in degrees from -180 to +180.
177166 optional double longitude = 2 ;
178- // Next field number: 3
179167}
180168
181169message GeoShape {
182170 optional string type = 1 ;
183171 repeated double coordinates = 2 ;
184- // Next field number: 3
185172}
186173
187174message Inventor {
188175 oneof value {
189176 .elasticgraph.Person person = 1 ;
190177 .elasticgraph.Company company = 2 ;
191178 }
192- // Next field number: 3
193179}
194180
195181message Manufacturer {
196182 optional string id = 1 ;
197183 optional string name = 2 ;
198184 optional google.protobuf.Timestamp created_at = 3 ;
199185 optional .elasticgraph.Person ceo = 4 ;
200- // Next field number: 5
201186}
202187
203188enum Material {
204189 // The default value when no enum value has been explicitly set. Do not use this value.
205190 // See https://protobuf.dev/programming-guides/proto3/#enum-default.
206191 MATERIAL_UNSPECIFIED = 0 ;
192+
207193 MATERIAL_ALLOY = 1 ;
208194 MATERIAL_CARBON_FIBER = 2 ;
209- // Next value number: 3
210195}
211196
212197message MechanicalPart {
@@ -215,45 +200,43 @@ message MechanicalPart {
215200 optional google.protobuf.Timestamp created_at = 3 ;
216201 optional .elasticgraph.Material material = 4 ;
217202 optional string manufacturer_id = 5 ;
218- // Next field number: 6
219203}
220204
221205message Money {
222206 optional string currency = 1 ;
223207 optional int32 amount_cents = 2 ;
224- // Next field number: 3
225208}
226209
227210message NamedInventor {
228211 oneof value {
229212 .elasticgraph.Person person = 1 ;
230213 .elasticgraph.Company company = 2 ;
231214 }
232- // Next field number: 3
233215}
234216
235217message OnlineStore {
236218 optional string id = 1 ;
219+
237220 // Must be formatted as an ISO 8601 date, e.g. "2024-11-25".
238221 optional string established_on = 2 ;
222+
239223 optional bool active = 3 ;
240224 optional string name = 4 ;
241- // Next field number: 5
242225}
243226
244227message Person {
245228 optional string id = 1 ;
246229 optional string name = 2 ;
247230 optional string nationality = 3 ;
248- // Next field number: 4
249231}
250232
251233message PhysicalStore {
252234 optional string id = 1 ;
235+
253236 // Must be formatted as an ISO 8601 date, e.g. "2024-11-25".
254237 optional string established_on = 2 ;
238+
255239 optional bool active = 3 ;
256- // Next field number: 4
257240}
258241
259242message Player {
@@ -262,57 +245,53 @@ message Player {
262245 optional .elasticgraph.Affiliations affiliations = 3 ;
263246 repeated .elasticgraph.PlayerSeason seasons_nested = 4 ;
264247 repeated .elasticgraph.PlayerSeason seasons_object = 5 ;
265- // Next field number: 6
266248}
267249
268250message PlayerSeason {
269251 optional int32 year = 1 ;
270252 optional int32 games_played = 2 ;
271253 repeated string awards = 3 ;
272- // Next field number: 4
273254}
274255
275256message Position {
276257 optional double x = 1 ;
277258 optional double y = 2 ;
278- // Next field number: 3
279259}
280260
281261enum Size {
282262 // The default value when no enum value has been explicitly set. Do not use this value.
283263 // See https://protobuf.dev/programming-guides/proto3/#enum-default.
284264 SIZE_UNSPECIFIED = 0 ;
265+
285266 SIZE_SMALL = 1 ;
286267 SIZE_MEDIUM = 2 ;
287268 SIZE_LARGE = 3 ;
288- // Next value number: 4
289269}
290270
291271message Sponsor {
292272 optional string id = 1 ;
293273 optional string name = 2 ;
294- // Next field number: 3
295274}
296275
297276message Sponsorship {
298277 optional string sponsor_id = 1 ;
299278 optional .elasticgraph.Money annual_total = 2 ;
300- // Next field number: 3
301279}
302280
303281message Staff {
304282 repeated .elasticgraph.Coach coaches = 1 ;
305283 optional .elasticgraph.GeneralManager general_manager = 2 ;
306- // Next field number: 3
307284}
308285
309286// For more performant queries on this type, please filter on `league` if possible.
310287message Team {
311288 optional string id = 1 ;
312289 optional string league = 2 ;
313290 optional string country_code = 3 ;
291+
314292 // Must be formatted as an ISO 8601 date, e.g. "2024-11-25".
315293 optional string formed_on = 4 ;
294+
316295 optional string current_name = 5 ;
317296 repeated string past_names = 6 ;
318297 repeated google.protobuf.Timestamp won_championships_at = 7 ;
@@ -328,30 +307,28 @@ message Team {
328307 optional .elasticgraph.TeamNestedFields nested_fields = 17 ;
329308 optional .elasticgraph.TeamNestedFields nested_fields2 = 18 ;
330309 optional .elasticgraph.Staff staff = 19 ;
331- // Next field number: 20
332310}
333311
334312message TeamDetails {
335313 repeated string uniform_colors = 1 ;
336314 optional int32 count = 2 ;
337- // Next field number: 3
338315}
339316
340317message TeamNestedFields {
341318 repeated .elasticgraph.Money forbes_valuation_moneys = 1 ;
342319 repeated .elasticgraph.Player current_players = 2 ;
343320 repeated .elasticgraph.TeamSeason seasons = 3 ;
344- // Next field number: 4
345321}
346322
347323message TeamRecord {
348324 optional int32 wins = 1 ;
349325 optional int32 losses = 2 ;
326+
350327 // Must be formatted as an ISO 8601 date, e.g. "2024-11-25".
351328 optional string last_win_on = 3 ;
329+
352330 // Must be formatted as an ISO 8601 date, e.g. "2024-11-25".
353331 optional string first_win_on = 4 ;
354- // Next field number: 5
355332}
356333
357334message TeamSeason {
@@ -364,7 +341,6 @@ message TeamSeason {
364341 optional bool was_shortened = 7 ;
365342 repeated .elasticgraph.Player players_nested = 8 ;
366343 repeated .elasticgraph.Player players_object = 9 ;
367- // Next field number: 10
368344}
369345
370346// For more performant queries on this type, please filter on `workspace_id` if possible.
@@ -377,21 +353,28 @@ message Widget {
377353 optional string cost_currency_name = 6 ;
378354 optional string cost_currency_symbol = 7 ;
379355 optional string cost_currency_primary_continent = 8 ;
356+
380357 // Must be formatted as an ISO 8601 date, e.g. "2024-11-25".
381358 optional string cost_currency_introduced_on = 9 ;
359+
382360 optional string name = 10 ;
383361 optional string internal_name = 11 ;
384362 optional string internal_highlightable_name = 12 ;
385363 optional string name_text = 13 ;
386364 optional string description = 14 ;
387365 optional google.protobuf.Timestamp created_at = 15 ;
366+
388367 // Must be formatted as an ISO 8601 local time, e.g. "14:23:12".
389368 optional string created_at_time_of_day = 16 ;
369+
390370 // Must be formatted as an ISO 8601 date, e.g. "2024-11-25".
391371 optional string created_on = 17 ;
372+
392373 repeated google.protobuf.Timestamp release_timestamps = 18 ;
374+
393375 // Must be formatted as an ISO 8601 date, e.g. "2024-11-25".
394376 repeated string release_dates = 19 ;
377+
395378 repeated string component_ids = 20 ;
396379 optional .elasticgraph.WidgetOptions options = 21 ;
397380 optional .elasticgraph.WidgetInternalDetails internal_details = 22 ;
@@ -406,31 +389,26 @@ message Widget {
406389 repeated .elasticgraph.Money fees = 31 ;
407390 optional string metadata = 32 ;
408391 optional string workspace_name = 33 ;
409- // Next field number: 34
410392}
411393
412394message WidgetInternalDetails {
413395 optional string name = 1 ;
414- // Next field number: 2
415396}
416397
417398message WidgetOptions {
418399 optional .elasticgraph.Size size = 1 ;
419400 optional .elasticgraph.Size the_size = 2 ;
420401 optional .elasticgraph.Color color = 3 ;
421402 optional bool is_draft = 4 ;
422- // Next field number: 5
423403}
424404
425405message WidgetWorkspace {
426406 optional string id = 1 ;
427407 optional string name = 2 ;
428408 optional .elasticgraph.WorkspaceWidget widget = 3 ;
429- // Next field number: 4
430409}
431410
432411message WorkspaceWidget {
433412 optional string id = 1 ;
434413 optional google.protobuf.Timestamp created_at = 2 ;
435- // Next field number: 3
436414}
0 commit comments