Introduction
A schema defines the shape and rules of your data in GraphQL. It tells what data you can ask for and how it is connected.
When you want to describe what data your GraphQL API can provide.
When you need to set rules for what types of data clients can request.
When you want to organize your data into types and fields clearly.
When you want to ensure clients only ask for valid data.
When you want to connect different pieces of data in a structured way.