We need to figure if we should handle the invariants in the type system or stick to the Elasticsearch structure.
We need to figure if we should handle the invariants in the type system or stick to the Elasticsearch structure.