Skip to content

Commit 27c63e5

Browse files
authored
typos fixed (#1284)
1 parent ae460d9 commit 27c63e5

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

data/keywords.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
learnjsonschemalink: 'https://www.learnjsonschema.com/2020-12/core/comment'
1414
links:
1515
- url: 'https://json-schema.org/understanding-json-schema/reference/comments#comments'
16-
title: Generic Keyowrds ($comment)
16+
title: Generic Keywords ($comment)
1717
- url: 'https://json-schema.org/draft/2020-12/json-schema-core#name-comments-with-comment'
1818
title: Draft 2020-12
1919
- name: $defs
@@ -43,9 +43,9 @@
4343
learnjsonschemalink: 'https://www.learnjsonschema.com/2020-12/core/id'
4444
links:
4545
- url: 'https://json-schema.org/learn/getting-started-step-by-step#create-a-schema-definition'
46-
title: Create a schema defination
46+
title: Create a schema definition
4747
- url: 'https://json-schema.org/understanding-json-schema/basics#declaring-a-unique-identifier'
48-
title: Declaring a unique identifer
48+
title: Declaring a unique identifier
4949
- url: 'https://json-schema.org/draft/2020-12/json-schema-core#name-the-id-keyword'
5050
title: Draft 2020-12
5151
- name: $ref
@@ -55,7 +55,7 @@
5555
- url: 'https://json-schema.org/understanding-json-schema/basics#declaring-a-json-schema'
5656
title: Declaring a JSON Schema
5757
- url: 'https://json-schema.org/learn/getting-started-step-by-step#create-a-schema-definition'
58-
title: Create a schema defination
58+
title: Create a schema definition
5959
- url: 'https://json-schema.org/understanding-json-schema/reference/array#unevaluateditems'
6060
title: Unevaluated Items
6161
- url: 'https://json-schema.org/understanding-json-schema/structuring#dollarref'
@@ -149,7 +149,7 @@
149149
learnjsonschemalink: 'https://www.learnjsonschema.com/2020-12/applicator/not'
150150
links:
151151
- url: 'https://json-schema.org/understanding-json-schema/reference/combining#schema-composition'
152-
title: Schema Compositon
152+
title: Schema Composition
153153
- url: 'https://json-schema.org/draft/2020-12/json-schema-core#name-not'
154154
title: Draft 2020-12
155155
- name: oneOf
@@ -159,9 +159,9 @@
159159
- url: 'https://json-schema.org/learn/file-system#modeling-a-file-system-with-json-schema'
160160
title: Modeling a file system with JSON Schema
161161
- url: 'https://json-schema.org/understanding-json-schema/reference/array#unevaluateditems'
162-
title: Unevaluted Items
162+
title: Unevaluated Items
163163
- url: 'https://json-schema.org/understanding-json-schema/reference/combining#schema-composition'
164-
title: Schema Compositon
164+
title: Schema Composition
165165
- url: 'https://json-schema.org/draft/2020-12/json-schema-core#name-oneof'
166166
title: Draft 2020-12
167167
- name: patternProperties
@@ -189,7 +189,7 @@
189189
- url: 'https://json-schema.org/understanding-json-schema/reference/object#properties'
190190
title: Properties
191191
- url: 'https://json-schema.org/learn/getting-started-step-by-step#create-a-schema-definition'
192-
title: Schema Defination
192+
title: Schema Definition
193193
- url: 'https://json-schema.org/draft/2020-12/json-schema-core#name-properties'
194194
title: Draft 2020-12
195195
- name: propertyNames
@@ -389,7 +389,7 @@
389389
- url: 'https://json-schema.org/understanding-json-schema/basics#the-type-keyword'
390390
title: The type keyword
391391
- url: 'https://json-schema.org/learn/getting-started-step-by-step#create-a-schema-definition'
392-
title: Create a Schema Defination
392+
title: Create a Schema Definition
393393
- url: 'https://json-schema.org/draft/2020-12/json-schema-validation#name-type'
394394
title: Draft 2020-12
395395
- name: uniqueItems

pages/learn/getting-started-step-by-step/getting-started-step-by-step.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,4 +587,4 @@ A Validator is a tool that implements the JSON Schema specification. All validat
587587

588588
![How JSON Schema works](https://json-schema.org/img/json_schema.svg)
589589

590-
To try it yourself, please visit [Tools](https://json-schema.org/tools#validators) and select the validator that better suit your needs, our use the editors available below to explore the different Schemas and Instances and see the different validation results.
590+
To try it yourself, please visit [Tools](https://json-schema.org/tools#validators) and select the validator that better suit your needs, or use the editors available below to explore the different Schemas and Instances and see the different validation results.

pages/learn/glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ For example, the `not` keyword takes a subschema value and inverts its result, s
127127
Some subschemas may appear in more complex nested locations within a parent schema.
128128
The `allOf` keyword, for instance, takes an array of multiple subschemas and succeeds whenever all of the subschemas do individually.
129129

130-
Whether something that otherwise *appears* to be a schema (based on its contents) actually *is* a subschema can be misleading at first glance without context or knowlege about its location within the parent schema.
130+
Whether something that otherwise *appears* to be a schema (based on its contents) actually *is* a subschema can be misleading at first glance without context or knowledge about its location within the parent schema.
131131
Specifically, in our above example, `{"type": "string"}` was a subschema of a larger schema, but in the schema `{"const": {"type": "string"}}`, it is *not* a subschema.
132132
Even though as a value it looks the same, the `const` keyword, which compares instances against a specific expected value, does *not* take a subschema as its value, its value is an opaque value with no particular meaning (such that in this schema, the number 12 would be invalid, but the precise instance `{"type": "string"}` is valid).
133133
Said more plainly, whether a particular value is a subschema or not depends on its precise location within a parent schema, as interpretation of the value depends on the defined behavior of the keyword(s) it lives under.

pages/learn/miscellaneous-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ next:
99
url: /learn/file-system
1010
---
1111

12-
In this page, you will find miscellaneous examples illustrating different uses cases to help you get the most out of your JSON Schemas. Each example comes with accompanying JSON data and explanation.
12+
In this page, you will find miscellaneous examples illustrating different use cases to help you get the most out of your JSON Schemas. Each example comes with accompanying JSON data and explanation.
1313

1414
- [A typical minimum schema](#basic)
1515
- [Arrays of things](#arrays-of-things)

public/draft/2019-09/draft-handrews-json-schema-02.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2125,7 +2125,7 @@ <h1 id="rfc.appendix.D.2">
21252125
<a href="#rfc.appendix.D.2">D.2.</a> <a href="#example-meta-schema" id="example-meta-schema">Example meta-schema with vocabulary declarations</a>
21262126
</h1>
21272127
<p id="rfc.section.D.2.p.1">This meta-schema explicitly declares both the Core and Applicator vocabularies, together with an extension vocabulary, and combines their meta-schemas with an "allOf". The extension vocabulary's meta-schema, which describes only the keywords in that vocabulary, is shown after the main example meta-schema. </p>
2128-
<p id="rfc.section.D.2.p.2">The main example meta-schema also restricts the usage of the Applicator vocabulary by forbidding the keywords prefixed with "unevaluated", which are particularly complex to implement. This does not change the semantics or set of keywords defined by the Applicator vocabulary. It just ensures that schemas using this meta-schema that attempt to use the keywords prefixed with "unevaluted" will fail validation against this meta-schema. </p>
2128+
<p id="rfc.section.D.2.p.2">The main example meta-schema also restricts the usage of the Applicator vocabulary by forbidding the keywords prefixed with "unevaluated", which are particularly complex to implement. This does not change the semantics or set of keywords defined by the Applicator vocabulary. It just ensures that schemas using this meta-schema that attempt to use the keywords prefixed with "unevaluated" will fail validation against this meta-schema. </p>
21292129
<p id="rfc.section.D.2.p.3">Finally, this meta-schema describes the syntax of a keyword, "localKeyword", that is not part of any vocabulary. Presumably, the implementors and users of this meta-schema will understand the semantics of "localKeyword". JSON Schema does not define any mechanism for expressing keyword semantics outside of vocabularies, making them unsuitable for use except in a specific environment in which they are understood. </p>
21302130
<p>This meta-schema combines several vocabularies for general use. </p>
21312131
<pre>

public/draft/2020-12/draft-bhutton-json-schema-00.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ <h1 id="rfc.section.9.3.1">
13661366
<a href="#rfc.section.9.3.1">9.3.1.</a> Bundling</h1>
13671367
<p id="rfc.section.9.3.1.p.1">The bundling process for creating a Compound Schema Document is defined as taking references (such as "$ref") to an external Schema Resource and embedding the referenced Schema Resources within the referring document. Bundling SHOULD be done in such a way that all URIs (used for referencing) in the base document and any referenced/embedded documents do not require altering. </p>
13681368
<p id="rfc.section.9.3.1.p.2">Each embedded JSON Schema Resource MUST identify itself with a URI using the "$id" keyword, and SHOULD make use of the "$schema" keyword to identify the dialect it is using, in the root of the schema resource. It is RECOMMENDED that the URI identifier value of "$id" be an Absolute URI. </p>
1369-
<p id="rfc.section.9.3.1.p.3">When the Schema Resource referenced by a by-reference applicator is bundled, it is RECOMMENDED that the Schema Resource be located as a value of a "$defs" object at the containing schema's root. The key of the "$defs" for the now embedded Schema Resource MAY be the "$id" of the bundled schema or some other form of application defined unique identifer (such as a UUID). This key is not intended to be referenced in JSON Schema, but may be used by an application to aid the bundling process. </p>
1369+
<p id="rfc.section.9.3.1.p.3">When the Schema Resource referenced by a by-reference applicator is bundled, it is RECOMMENDED that the Schema Resource be located as a value of a "$defs" object at the containing schema's root. The key of the "$defs" for the now embedded Schema Resource MAY be the "$id" of the bundled schema or some other form of application defined unique identifier (such as a UUID). This key is not intended to be referenced in JSON Schema, but may be used by an application to aid the bundling process. </p>
13701370
<p id="rfc.section.9.3.1.p.4">A Schema Resource MAY be embedded in a location other than "$defs" where the location is defined as a schema value. </p>
13711371
<p id="rfc.section.9.3.1.p.5">A Bundled Schema Resource MUST NOT be bundled by replacing the schema object from which it was referenced, or by wrapping the Schema Resource in other applicator keywords. </p>
13721372
<p id="rfc.section.9.3.1.p.6">In order to produce identical output, references in the containing schema document to the previously external Schema Resources MUST NOT be changed, and now resolve to a schema using the "$id" of an embedded Schema Resource. Such identical output includes validation evaluation and URIs or paths used in resulting annotations or errors. </p>

public/draft/2020-12/draft-bhutton-json-schema-01.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3536,7 +3536,7 @@ <h4 id="name-bundling">
35363536
When the Schema Resource referenced by a by-reference applicator is bundled, it is RECOMMENDED that
35373537
the Schema Resource be located as a value of a "$defs" object at the containing schema's root.
35383538
The key of the "$defs" for the now embedded Schema Resource MAY be the "$id" of the bundled schema
3539-
or some other form of application defined unique identifer (such as a UUID). This key is not
3539+
or some other form of application defined unique identifier (such as a UUID). This key is not
35403540
intended to be referenced in JSON Schema, but may be used by an application to aid the
35413541
bundling process.<a href="#section-9.3.1-3" class="pilcrow"></a></p>
35423542
<p id="section-9.3.1-4">

0 commit comments

Comments
 (0)