From f78d39709198969206ca173ee475fb6984959dd0 Mon Sep 17 00:00:00 2001 From: Henry Andrews Date: Tue, 13 Dec 2016 11:56:18 -0800 Subject: [PATCH] Wording clarifications in general considerations. These are the leftover bits of Issue #55 and some clarifications requested in a comment on issue #101 that have not already been added in some other PR for some other issue. These specific chagnes were previously approved in #143, but so many other things have changed since #143 that most of it was no longer relevant, so I closed it and started these changes over. In particular, explaining {} and {"not": {}} is no longer needed as they are covered while introducing "true" and "false" schemas in the core specification, so that is no longer repeated in this change. Likewise, the parent/child validation descriptions have been modified in several PRs and no longer has the problems that were previously a concern. --- jsonschema-validation.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/jsonschema-validation.xml b/jsonschema-validation.xml index 5bd7831a..c979e8c0 100644 --- a/jsonschema-validation.xml +++ b/jsonschema-validation.xml @@ -191,7 +191,11 @@ -
+
+ + Each JSON Schema validation keyword adds constraints that + an instance must satisfy in order to successfully validate. + Validation keywords that are missing never restrict validation. In some cases, this no-op behavior is identical to a keyword that exists with certain values, @@ -199,13 +203,13 @@
-
- +
- Validation keywords typically operate independent of each other, without affecting each other. + Validation keywords typically operate independently, without + affecting each other's outcomes. - For author convenience, there are some exceptions: + For schema author convenience, there are some exceptions: "additionalProperties", whose behavior is defined in terms of "properties" and "patternProperties"; "additionalItems", whose behavior is defined in terms of "items"; and