Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum Genre{
- Drama
- Comedia
- SciFi
- Horror
- }
- scalar Year
- scalar Url
- interface Person {
- id:ID!
- name:String!
- male:Boolean
- }
- type Actor implements Person{
- id:ID!
- name:String!
- male:Boolean
- profileUrl:Url
- }
- type Character {
- actor: Actor!
- name:String!
- }
- type Director implements Person{
- id:ID!
- name:String!
- male:Boolean
- }
- type Movie{
- id:ID!
- title(country:String="Spain"):String!
- year:Year
- genre:Genre
- director: Director!
- characters:[Character!]!
- audience:Int
- boxOffice:Float
- }
Add Comment
Please, Sign In to add comment