Anton
V.
Projects and
blogs
Random
GraphQL Schema Validator
GraphQL Schema Validator
This tool checks the syntax and structure of GraphQL schemas.
GraphQL schema (GraphQL SDL)
type Query { upcomingEvents: [Event!]! } type Event { name: String! date: String! location: Location } type Location { name: String! weather: WeatherInfo } type WeatherInfo { temperature: Float description: String }
1
type
Query
{
2
upcomingEvents
: [
Event
!]!
3
}
4
5
type
Event
{
6
name
:
String
!
7
date
:
String
!
8
location
:
Location
9
}
10
11
type
Location
{
12
name
:
String
!
13
weather
:
WeatherInfo
14
}
15
16
type
WeatherInfo
{
17
temperature
:
Float
18
description
:
String
19
}
The GraphQL schema to validate.
Validation result
The GraphQL schema is valid.
GraphQL Schema Validator