#include "tensorstore/spec.h"
friend bool
tensorstore::Spec::operator==(const Spec& a, const Spec& b);
friend bool
tensorstore::Spec::operator!=(const Spec& a, const Spec& b);

Compares for equality via JSON representation, except that bound context resources are compared by identity.