Skip to content

Commit bfe4e6c

Browse files
committed
DOCS-11876: Fix jsonSchema typo
1 parent 89cbce9 commit bfe4e6c

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

source/reference/operator/query/jsonSchema.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Definition
1717

1818
.. versionadded:: 3.6
1919

20-
The :query:`$jsonSchema` operator matches documents that validate against
20+
The :query:`$jsonSchema` operator matches documents that validate against
2121
the given JSON Schema.
2222

2323
.. code-block:: javascript
@@ -26,13 +26,13 @@ Definition
2626

2727
.. note::
2828

29-
MongoDB 3.6 supports draft 4 of JSON Schema, including
30-
`core specification <https://tools.ietf.org/html/draft-zyp-json-schema-04>`_
31-
and `validation specification
29+
MongoDB 3.6 supports draft 4 of JSON Schema, including
30+
`core specification <https://tools.ietf.org/html/draft-zyp-json-schema-04>`_
31+
and `validation specification
3232
<https://tools.ietf.org/html/draft-fge-json-schema-validation-00>`_,
3333
with some differences. See `Extensions` and `Omissions` for details.
3434

35-
For more information about JSON Schema, see the
35+
For more information about JSON Schema, see the
3636
`official website <http://json-schema.org/>`_.
3737

3838
Behavior
@@ -45,9 +45,9 @@ aggregation stage.
4545

4646
.. warning::
4747

48-
``featureCompatibilityVersion`` must be set to ``"3.6"`` or higher in order to
49-
use :query:`$jsonSchema` in a document validator. Any such validator must be
50-
removed, either by dropping the collection or by using :dbcommand:`collMod`,
48+
``featureCompatibilityVersion`` must be set to ``"3.6"`` or higher in order to
49+
use :query:`$jsonSchema` in a document validator. Any such validator must be
50+
removed, either by dropping the collection or by using :dbcommand:`collMod`,
5151
before downgrading to version 3.4 of the server.
5252

5353
Available Keywords
@@ -59,16 +59,16 @@ Extensions
5959
----------
6060

6161
MongoDB's implementation of JSON Schema includes the addition of the ``bsonType``
62-
keyword, which allows you to use all :term:`BSON` types in the
63-
:query:`$jsonSchema` operator. ``bsonType`` accepts the same string aliases used
62+
keyword, which allows you to use all :term:`BSON` types in the
63+
:query:`$jsonSchema` operator. ``bsonType`` accepts the same string aliases used
6464
for the :query:`$type` operator.
6565

6666
Omissions
6767
---------
6868

6969
The following will not be supported in MongoDB's implementation of JSON Schema:
7070

71-
- `Hypertext definitions <https://tools.ietf.org/html/draft-luff-json-hyper-schema-00>`_
71+
- `Hypertext definitions <https://tools.ietf.org/html/draft-luff-json-hyper-schema-00>`_
7272
in draft 4 of the JSON Schema spec.
7373

7474
- The keywords:
@@ -106,7 +106,7 @@ collection named ``students`` and uses the :query:`$jsonSchema`
106106
operator to set multiple rules for the schema design:
107107

108108
.. code-block:: javascript
109-
109+
110110
db.createCollection("students", {
111111
validator: {
112112
$jsonSchema: {
@@ -143,7 +143,7 @@ operator to set multiple rules for the schema design:
143143

144144
Given the created ``validator`` for the collection, the following insert
145145
operation will fail because ``gpa`` is an integer when the ``validator``
146-
requires a ``double``.
146+
requires a ``double``.
147147

148148
.. code-block:: javascript
149149

@@ -154,7 +154,7 @@ requires a ``double``.
154154
gpa: NumberInt(3)
155155
})
156156

157-
The opration returns the following error:
157+
The operation returns the following error:
158158

159159
.. code-block:: javascript
160160

0 commit comments

Comments
 (0)