Is 'name' not allowed in enums?

@al3c thanks for the quick answer! Yes, I know that it should be NAME, however this is from a generated code (a client generated from a graphql schema) and it uses the names found in the schema.

Can you point me to where is this defined that “name” cannot be an enum member?