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
Copy file name to clipboardexpand all lines: docs/json-schema.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -991,7 +991,7 @@ From the perspective of validation result `discriminator` is defined as no-op (t
991
991
There are following requirements and limitations of using `discriminator` keyword:
992
992
- `mapping` in discriminator object is not supported.
993
993
- [oneOf](#oneof) keyword must be present in the same schema.
994
-
- discriminator property should be [requried](#required) either on the top level, as in the example, or in all `oneOf` subschemas.
994
+
- discriminator property should be [required](#required) either on the top level, as in the example, or in all `oneOf` subschemas.
995
995
- each `oneOf` subschema must have [properties](#properties) keyword with discriminator property. The subschemas should be either inlined or included as direct references (only `$ref` keyword without any extra keywords is allowed).
996
996
- schema for discriminator property in each `oneOf` subschema must be [const](#const) or [enum](#enum), with unique values across all subschemas.
0 commit comments