Skip to content

Commit 8c83866

Browse files
committed
update requirement level for registry formats; should document limitations
1 parent 59a6ef1 commit 8c83866

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

specs/jsonschema-validation.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -330,14 +330,14 @@ an annotation.
330330

331331
Implementations:
332332

333-
- SHOULD provide validation for each format attribute defined in this document
334-
and listed in the {{format-registry}};
333+
- SHOULD provide validation for each format attribute defined in this document;
334+
- are encouraged to provide validation for format attributes listed in the
335+
{{format-registry}};
335336
- MAY support format values not defined in this document or listed in the
336337
registry, but such support MUST be configurable and disabled by default;
337338
- SHOULD use a common parsing library or a well-known regular expression for
338339
each format;
339-
- SHOULD clearly document how and to what degree each format attribute is
340-
validated.
340+
- SHOULD clearly document any limitations regarding format validation.
341341

342342
The requirement for validation of format values in general is limited to
343343
syntactic checking; implementations SHOULD NOT attempt to send an email, connect

0 commit comments

Comments
 (0)