#include "tensorstore/spec.h"
Result<IndexDomain<>> tensorstore::Spec::domain() const;

Returns the effective domain, based on the schema constraints as well as any driver-specific constraints. If the domain cannot be determined, returns a null index domain.