Fields should be able to specify expected values:
{
environment: g.string().enum(["production", "staging", "development"]),
}
This should cause loading the config to raise an error if a different value is passed. Ideally it would also constrain the inferred data type.