OptionalcontextThe validation context this variable belongs to (e.g. "server",
"production", "worker") -- entirely application-defined; env-cap
never interprets, detects, or infers this string. Omitted (the
default) means the variable participates in every validateEnv
run regardless of activeContexts. A variable belongs to at most one
validation context -- see ADR 0022 for why this is a single string
and not string[]; do not widen it to an array to let one variable
join multiple contexts, that reintroduces the AND/OR ambiguity this
design deliberately avoids.
OptionaldefaultLiteral fallback or lazy thunk used when the raw value is undefined.
OptionalprocessorConverts the raw (or defaulted) value to T; passed through unprocessed when omitted.
OptionalvalidatorRejects an invalid processed value; return true to accept it.
Configuration for one schema entry: how to default, process, and validate a single raw environment value.