Skip to content

Commit 37e9b11

Browse files
committed
always keep units with annotations
1 parent 78b56c7 commit 37e9b11

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

json-schema-output.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,4 +600,6 @@ Reasons to omit output units may include, but are not limited to:
600600
- Child output units whose validation result does not impact the validation result of the parent. For example, a subschema of an `anyOf` which has a false validation result when there exists a sibling subschema with a true validation result.
601601
- Child output units which have a true validation result but contain no annotations.
602602

603+
Output units which include annotations MUST NOT be pruned.
604+
603605
Implementations which provide this behavior SHOULD provide configuration mechanisms appropriate for their users' needs.

0 commit comments

Comments
 (0)