type SearchResult { "The string that was searched for" query: String! "A list of albums that matched the query" albums: [Album!]! "A list of media that matched the query" media: [Media!]! } extend type Query { "Perform a search query on the contents of the media library" search(query: String!, limitMedia: Int, limitAlbums: Int): SearchResult! }