curl \
  -XPOST \
  -H "Content-Type: application/json" \
  -d '{"query":"{__schema { types { name enumValues { name } fields { name type {name kind enumValues { name } ofType { name kind ofType {name kind}}}}}}}"}' \
  https://example.com/graphql