Type key within quotes

I am modelling a type and I would like it to have keys corresponding to time slots with 15-minute difference. It would be something like this:

type timeSlot { 

  type Slot {
    _id: ID!
    blocked: Boolean!
    booked: Boolean!

However, the key is greyed out and I get the following error => GraphQLError: Syntax Error: Expected Name, found :

Is there any way I can do this?

Thanks in advance!

Hi! This is unfortunately not possible, as the graphql specification only allows alphanumeric characters for field names. One possible workaround (depending on if your backend implementation supports it) would be to have the monday through sunday fields of your Availability type return an array of Slot objects and adding a time field to the Slot type.