Export schema

Its not possible to export only the schema using export mutation.
However, you can query schema in Ratel itself as follows,

schema{
}

The output of this query will contain all types and predicates (the whole schema) in JSON.