Advertisement
Ninbo

schemaOne

Jun 26th, 2024 (edited)
712
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.26 KB | Source Code | 0 0
  1. # A book has a title and an author
  2. type Book {
  3.   title: String
  4.   author: Author
  5. }
  6.  
  7. # An author has a name and a list of books
  8. type Author {
  9.   name: String
  10.   books: [Book]
  11. }
  12.  
  13. # A publisher has identification
  14. type Publisher {
  15.   name: String
  16.   ISBN: String
  17. }
Tags: graphql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement