schema: no need to declare all enums before structs