API developers and other code builders use GraphQL to create a schema to describe all the possible data that the users can query through that service. A GraphQL schema is made up of object types, which define which kind of object you can request and what fields it has. As queries come in, GraphQL validates the queries against the schema. Formatting of a GRAPHQL file is done through Spacing and indentation which should be consistent throughout your code. Many developers choose to use 4-space or 2-space indentation. In GRAPHQL, each nested statement (e.g., a statement following a '{' brace) should be indented exactly once more than the previous line's indentation.)