Skip to content

Commit

Permalink
navdata schema (tmu-edct-tool#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
catcarbon committed May 10, 2022
1 parent 9791503 commit d09ffdf
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions source/models/airac.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
interface Route {
identifier: string
route_segments: [RouteSegment]
}

interface RouteSegment {
sequence_number: number
waypoint: Waypoint
distance_to: number
distance_from: number
}

interface Waypoint {
point: NavAid | NavFix | TransferOfControlPoint
}

enum NavAidType {
VOR,
NDB
}

interface NavAid {
identifier: string
type: NavAidType
}

enum NavFixType {
INTERSECTION,
FIX
}

interface NavFix {
identifier: string
nav_fix_type: NavFixType
}

interface TransferOfControlPoint {
facility_1: string
facility_2: string
}

0 comments on commit d09ffdf

Please sign in to comment.