Created
April 29, 2020 18:17
-
-
Save mylons/32b64174f4eec5be158939d57285dee8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Corporation { | |
name: String! | |
mountains: [Mountain!]! | |
} | |
type Mountain { | |
name: String! | |
lifts: [Lift!]! | |
trails: [Trail!]! | |
employees: [Employee!]! | |
} | |
type Employee { | |
name: String! | |
} | |
type Lift { | |
trails: [Trail!]! | |
status: LiftStatus! | |
name: String! | |
} | |
type Trail { | |
difficulty: TrailDifficulty! | |
status: TrailStatus! | |
lift: Lift! | |
name: String! | |
} | |
enum TrailStatus { | |
OPEN | |
CLOSED | |
} | |
enum TrailDifficulty { | |
Green | |
Blue | |
Black | |
} | |
enum LiftStatus { | |
OPEN | |
CLOSED | |
WINDHOLD | |
} | |
type Query { | |
getMountain(name: String!): Mountain! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment