File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1104,8 +1104,10 @@ specification.
11041104
11051105# ## Unions {#unions}
11061106
1107- - Type unions are formed as sets of primitive types and type references. It is
1108- NOT permitted to define a compound type inline inside a union.
1107+ - Non-discriminated type unions are formed as sets of primitive types and type
1108+ references. It is NOT permitted to define a compound type inline inside a
1109+ non-discriminated type union. Discriminated unions are formed as a
1110+ [`choice`]({{choice}}) type to which the rules of this section do not apply.
11091111- A type union is a composite type reference and not a standalone compound type
11101112 and is therefore not named.
11111113- The JSON node described by a schema with a type union MUST conform to at least
You can’t perform that action at this time.
0 commit comments