etatypes
Etatypes are a conceptual category used in data modeling and type systems to mark data elements whose origin or handling lies outside the core program logic. An etatype identifies data that comes from external sources, or that must undergo transformation before it can be used safely within the system.
The term arises in discussions about boundary-crossing software architectures, such as APIs, databases, and message queues,
An etatype carries metadata about provenance, transformation requirements, and validation constraints. Typical criteria include source (external
Examples include representing a JSON payload field mapped to an internal Customer type as an etatype until
Etatypes complement traditional types but introduce boundary-focused semantics. They can reduce errors by making provenance explicit;
See also: data provenance, data validation, data transfer object, marshaling, type system.