Skip to content

Commit 9381f4b

Browse files
committed
[Validator] Add links to Ulid constraint formats
1 parent b9633f7 commit 9381f4b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

reference/constraints/Ulid.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ Options
8080

8181
The format of the ULID to validate. The following formats are available:
8282

83-
* ``Ulid::FORMAT_BASE_32``: The ULID is encoded in base32 (default)
84-
* ``Ulid::FORMAT_BASE_58``: The ULID is encoded in base58
85-
* ``Ulid::FORMAT_RFC4122``: The ULID is encoded in the RFC 4122 format
83+
* ``Ulid::FORMAT_BASE_32``: The ULID is encoded in `base32`_ (default)
84+
* ``Ulid::FORMAT_BASE_58``: The ULID is encoded in `base58`_
85+
* ``Ulid::FORMAT_RFC4122``: The ULID is encoded in the `RFC 4122 format`_
8686

8787
.. versionadded:: 7.2
8888

@@ -111,3 +111,6 @@ Parameter Description
111111
.. include:: /reference/constraints/_payload-option.rst.inc
112112

113113
.. _`Universally Unique Lexicographically Sortable Identifier (ULID)`: https://github.com/ulid/spec
114+
.. _`base32`: https://en.wikipedia.org/wiki/Base32
115+
.. _`base58`: https://en.wikipedia.org/wiki/Binary-to-text_encoding#Base58
116+
.. _`RFC 4122 format`: https://datatracker.ietf.org/doc/html/rfc4122

0 commit comments

Comments
 (0)