Skip to content

Commit 76eabc0

Browse files
authored
Merge pull request #492 from dlax/spellcheck
Typo fixes
2 parents 4e0a10e + 348bf0b commit 76eabc0

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

jsonschema-core.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
Some functionality that is useful for working with schemas is
221221
defined by each media type, namely media type parameters and
222222
URI fragment identifier syntax and semantics. These features are
223-
useful in content negotiation and in caclulating URIs for specific
223+
useful in content negotiation and in calculating URIs for specific
224224
locations within an instance, respectively.
225225
</t>
226226
<t>
@@ -468,7 +468,7 @@
468468
allow tools to follow the correct behaviour.
469469
</t>
470470
<t>
471-
Note that the recursive nature of meta-schemas requires re-definining
471+
Note that the recursive nature of meta-schemas requires re-defining
472472
recursive keywords in the extended meta-schema, as can be seen in
473473
the JSON Hyper-Schema meta-schema.
474474
</t>
@@ -581,7 +581,7 @@
581581
have one that is an empty string.
582582
<!-- All of the standard meta-schemas use an empty fragment in their id/$id values. -->
583583
<cref>
584-
How should an "$id" URI reference containing a fragement with other components
584+
How should an "$id" URI reference containing a fragment with other components
585585
be interpreted? There are two cases: when the other components match
586586
the current base URI and when they change the base URI.
587587
</cref>
@@ -909,7 +909,7 @@ User-Agent: product-name/5.4.1 so-cool-json-schema/1.0.2 curl/7.43.0
909909
fail to strip them if such behavior is expected.
910910
</t>
911911
<t>
912-
A malicous schema author could place executable code or other dangerous
912+
A malicious schema author could place executable code or other dangerous
913913
material within a "$comment". Implementations MUST NOT parse or otherwise
914914
take action based on "$comment" contents.
915915
</t>

jsonschema-hyperschema.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@
368368
application/json does not define a URI fragment resolution syntax, so
369369
properties or array elements within a plain JSON document cannot be fully
370370
identified by a URI. When it is not possible to produce a complete URI,
371-
the position of the context SHOULD be conveyed by a the URI of the instance
371+
the position of the context SHOULD be conveyed by the URI of the instance
372372
document, together with a separate plain-string JSON Pointer.
373373
</t>
374374
<t>
@@ -621,7 +621,7 @@
621621
For protocols supporting content-negotiation, implementations MAY choose to
622622
describe possible target media types using protocol-specific information in
623623
<xref target="headerSchema">"headerSchema"</xref>. If both
624-
protocol-specific information and "targtMediaType" are present, then the
624+
protocol-specific information and "targetMediaType" are present, then the
625625
value of "targetMediaType" MUST be compatible with the protocol-specific
626626
information, and SHOULD indicate the media type that will be returned in the
627627
absence of content negotiation.
@@ -1068,7 +1068,7 @@ for varname in T:
10681068
<t>
10691069
<list style="numbers">
10701070
<t>
1071-
Deterimine which variables can accept input
1071+
Determine which variables can accept input
10721072
</t>
10731073
<t>
10741074
Pre-populate the input data set if the template resolution data
@@ -1574,7 +1574,7 @@ Link: <https://schema.example.com/entry> rel=describedBy
15741574
</artwork>
15751575
</figure>
15761576
<t>
1577-
The attachment pointer is the root pointer (the only possiblity with
1577+
The attachment pointer is the root pointer (the only possibility with
15781578
an empty object for the instance). The context URI is the default,
15791579
which is the requested document. Since application/json does not allow
15801580
for fragments, the context pointer is necessary to fully describe the
@@ -1887,7 +1887,7 @@ Link: <https://api.example.com/trees/1/nodes/456> rev=up
18871887
The following hyper-schema, applied to the instance in the response
18881888
above, would produce the same "self" link and "up" link with "anchor".
18891889
It also shows the use of a templated "base" URI, plus both absolute
1890-
and relative JSON Pointers in "tempaltePointers".
1890+
and relative JSON Pointers in "templatePointers".
18911891
</preamble>
18921892
<artwork>
18931893
<![CDATA[

jsonschema-validation.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
and asserts constraints on the structure of the data at each location.
123123
An instance location that satisfies all asserted constraints is then
124124
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
126126
the instance satisfy all asserted constraints, then the instance is
127127
said to be valid against the schema.
128128
</t>
@@ -246,7 +246,7 @@
246246
<section title="Annotations and Short-Circuit Validation">
247247
<t>
248248
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
250250
evaluation is needed. For instance, the "contains" keyword need only
251251
be checked for assertions until at least one array item proves valid.
252252
However, when working with annotations, all items in the array must
@@ -866,7 +866,7 @@
866866
The "format" keyword functions as both an annotation
867867
(<xref target="annotations" />) and as an assertion
868868
(<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
870870
validation is non-trivial.
871871
</t>
872872
<t>
@@ -1098,7 +1098,7 @@
10981098
The content keywords function as both annotations
10991099
(<xref target="annotations" />) and as assertions
11001100
(<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
11021102
how applications can interpret the data in the string, implementing
11031103
validation of conformance to the media type and encoding is non-trivial.
11041104
</t>

0 commit comments

Comments
 (0)