Difference between schemagraphql

Difference between schemagraphql
0

#1

in some examples like,the relay starter kit example they use schema.json in it whereas in some other modern applications, they are using schema.graphql.

Whether we have to use both and which we have to follow.??? what is the difference?