|
132 | 132 | A JSON document is an information resource (series of octets) described by the application/json media type.
|
133 | 133 | </t>
|
134 | 134 | <t>
|
135 |
| - In JSON Schema, the terms "JSON document", "JSON text", and "JSON value" are interchangable because of the data model it defines. |
| 135 | + In JSON Schema, the terms "JSON document", "JSON text", and "JSON value" are interchangeable because of the data model it defines. |
136 | 136 | </t>
|
137 | 137 | </section>
|
138 | 138 |
|
139 | 139 | <section title="instance">
|
140 | 140 | <t>
|
141 |
| - JSON Schema interperts documents according to a data model. A JSON value interperted according to this data model is called an "instance". |
| 141 | + JSON Schema interprets documents according to a data model. A JSON value interpreted according to this data model is called an "instance". |
142 | 142 | </t>
|
143 | 143 | <t>
|
144 | 144 | An instance has one of six primitive types, and a range of possible values depending on the type:
|
|
186 | 186 | <section title="JSON Schema document">
|
187 | 187 | <t>
|
188 | 188 | A JSON Schema document, or simply a schema, is a JSON document used to describe an instance.
|
189 |
| - A schema is itself interperted as an instance. |
| 189 | + A schema is itself interpreted as an instance. |
190 | 190 | A JSON schema MUST be an object.
|
191 | 191 | </t>
|
192 | 192 | <t>
|
|
256 | 256 | point numbers than they do for integers.
|
257 | 257 | </t>
|
258 | 258 | <t>
|
259 |
| - For constistency, integer JSON numbers SHOULD NOT be encoded with a fractional part. |
| 259 | + For consistency, integer JSON numbers SHOULD NOT be encoded with a fractional part. |
260 | 260 | </t>
|
261 | 261 | </section>
|
262 | 262 |
|
|
431 | 431 | <section title="External references">
|
432 | 432 | <t>
|
433 | 433 | To differentiate schemas between each other in a vast ecosystem, schemas are identified by URI.
|
434 |
| - As specified above, this does not necessarially mean anything is downloaded, but instead JSON Schema |
| 434 | + As specified above, this does not necessarily mean anything is downloaded, but instead JSON Schema |
435 | 435 | implementations SHOULD already understand the schemas they will be using, including the URIs that identify them.
|
436 | 436 | </t>
|
437 | 437 | <t>
|
438 |
| - Implementations SHOULD be able to associate arbritrary URIs with an arbritrary schema and/or |
| 438 | + Implementations SHOULD be able to associate arbitrary URIs with an arbitrary schema and/or |
439 | 439 | automatically associate a schema's "id"-given URI, depending on the trust that the the validator
|
440 | 440 | has in the schema.
|
441 | 441 | </t>
|
|
450 | 450 | <section title="Usage for hypermedia">
|
451 | 451 |
|
452 | 452 | <t>
|
453 |
| - One of the largest adoptors of JSON has been HTTP servers for automated APIs and robots. |
| 453 | + One of the largest adopters of JSON has been HTTP servers for automated APIs and robots. |
454 | 454 | This section describes how to enhance processing of JSON documents in a more RESTful manner
|
455 | 455 | when used with protocols that support media types and <xref target="RFC5988">Web linking</xref>.
|
456 | 456 | </t>
|
@@ -502,7 +502,7 @@ Content-Type: application/json;
|
502 | 502 | </figure>
|
503 | 503 |
|
504 | 504 | <t>
|
505 |
| - Multiple profiles are whitespace seperated: |
| 505 | + Multiple profiles are whitespace separated: |
506 | 506 | </t>
|
507 | 507 |
|
508 | 508 | <figure>
|
@@ -560,7 +560,7 @@ User-Agent: so-cool-json-schema/1.0.2 curl/7.43.0
|
560 | 560 | defined in <xref target="RFC7159">RFC 7159</xref> apply.
|
561 | 561 | </t>
|
562 | 562 | <t>
|
563 |
| - Instances and schemas are both frequently witten by untrusted third parties, to be deployed on public Internet servers. |
| 563 | + Instances and schemas are both frequently written by untrusted third parties, to be deployed on public Internet servers. |
564 | 564 | Validators should take care that the parsing of schemas doesn't consume excessive system resources.
|
565 | 565 | Validators MUST NOT fall into an infinite loop.
|
566 | 566 | </t>
|
|
0 commit comments