|
122 | 122 | and asserts constraints on the structure of the data at each location. |
123 | 123 | An instance location that satisfies all asserted constraints is then |
124 | 124 | annotated with any keywords that contain non-assertion information, |
125 | | - such as desciptive metadata and usage hints. If all locations within |
| 125 | + such as descriptive metadata and usage hints. If all locations within |
126 | 126 | the instance satisfy all asserted constraints, then the instance is |
127 | 127 | said to be valid against the schema. |
128 | 128 | </t> |
|
246 | 246 | <section title="Annotations and Short-Circuit Validation"> |
247 | 247 | <t> |
248 | 248 | Annotation keywords MUST be applied to all possible sub-instances. |
249 | | - even if such application can be short-circuited when only assertion |
| 249 | + Even if such application can be short-circuited when only assertion |
250 | 250 | evaluation is needed. For instance, the "contains" keyword need only |
251 | 251 | be checked for assertions until at least one array item proves valid. |
252 | 252 | However, when working with annotations, all items in the array must |
|
866 | 866 | The "format" keyword functions as both an annotation |
867 | 867 | (<xref target="annotations" />) and as an assertion |
868 | 868 | (<xref target="assertions" />). While no special effort is required to |
869 | | - implement it as an annotation convenying semantic meaning, implementing |
| 869 | + implement it as an annotation conveying semantic meaning, implementing |
870 | 870 | validation is non-trivial. |
871 | 871 | </t> |
872 | 872 | <t> |
|
1098 | 1098 | The content keywords function as both annotations |
1099 | 1099 | (<xref target="annotations" />) and as assertions |
1100 | 1100 | (<xref target="assertions" />). |
1101 | | - While no special effort is required to implement them as annotations convenying |
| 1101 | + While no special effort is required to implement them as annotations conveying |
1102 | 1102 | how applications can interpret the data in the string, implementing |
1103 | 1103 | validation of conformance to the media type and encoding is non-trivial. |
1104 | 1104 | </t> |
|
0 commit comments