You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jenkin Given that semver officially has no size limit, I would suggest removing maxLength. minLength also feels unnecessary since any valid version will be at least that long anyway.
jenkin
added a commit
to jenkin/json-schema-bricks
that referenced
this issue
Jul 29, 2024
Semver has an official regex for validation.
We can use it to offer an official JSON Schema to validate a semver compliant string.
So in a custom schema you can refer to the official one using
$ref
attribute without copy-pasting anything.See also this issue in json-schema-spec repository: json-schema-org/json-schema-spec#1108.
The text was updated successfully, but these errors were encountered: