20 lines
		
	
	
		
			564 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			564 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
| syntax = "proto3";
 | |
| package aman;
 | |
| 
 | |
| message Aircraft {
 | |
|     enum EngineType {
 | |
|         UNKNOWN   = 0;
 | |
|         ELECTRIC  = 1;
 | |
|         TURBOPROB = 2;
 | |
|         JET       = 3;
 | |
|     }
 | |
| 
 | |
|     string     callsign    = 1; // aircraft's callsign
 | |
|     string     airline     = 2; // corresponding airline
 | |
|     string     type        = 3; // aircraft ICAO type
 | |
|     string     wtc         = 4; // WTC
 | |
|     string     wakeRecat   = 5; // wake recatogization category
 | |
|     int32      engineCount = 6; // number of engines
 | |
|     EngineType engineType  = 7; // engine type
 | |
| }
 |