#pragma once #include #include #include namespace jvalidate::constraint { struct MinLengthConstraint { int64_t value; }; struct MaxLengthConstraint { int64_t value; }; struct PatternConstraint { std::string regex; }; struct FormatConstraint { std::string format; bool is_assertion; }; }