Last active
January 26, 2019 23:22
-
-
Save AlecAivazis/50d982c33a247760e1c62fca872c0ea9 to your computer and use it in GitHub Desktop.
This file contains 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
enum Species { | |
Dog | |
Cat | |
} | |
type Animal { | |
species: Species | |
breed: String! | |
} | |
type Photo { | |
animal: Animal | |
url: String! | |
owner: User! | |
auction: Auction! | |
} | |
type User { | |
username: String! | |
history: [Auction] | |
favoritePhoto: Photo | |
photoGallery: [Photo] | |
} | |
type Auction { | |
photo: Photo | |
offers: [Bid] | |
highestOffer: Bid | |
} | |
type Bid { | |
user: User! | |
amount: Int! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment