Skip to content

Commit 8f952db

Browse files
authored
Fix typo in update instructions.mdx (#109)
1 parent a9567ac commit 8f952db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/03-Objects/02-Additional-Properties/instructions.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ keywords: additional properties, object, JSON Schema, properties, type, properti
99

1010
In the previous lesson, we have set `additionalProperties` to `false`. What does it mean?
1111

12-
So far, we have seen how to define the properties of an object in a [schema](https://json-schema.org/learn/glossary#schema). But **what if you want to specify constrains for the properties which you have not defined in the schema?**
12+
So far, we have seen how to define the properties of an object in a [schema](https://json-schema.org/learn/glossary#schema). But **what if you want to specify constraints for the properties which you have not defined in the schema?**
1313

1414
The `additionalProperties` [keyword](https://json-schema.org/learn/glossary#keyword) is used to control the handling of extra stuff, that is, properties whose names are not listed in the `properties` keyword or match any of the regular expressions in the `patternProperties` keyword.
1515

@@ -50,4 +50,4 @@ You can also set `additionalProperties` to a schema to define the schema for the
5050

5151
The above schema will allow only `name` and `age` properties in the object. If any other property is present in the object, it should be of type `string`.
5252

53-
Now, try to modify the schema provided in the <SideEditorLink/> on the right to allow any additional properties of type `integer`.
53+
Now, try to modify the schema provided in the <SideEditorLink/> on the right to allow any additional properties of type `integer`.

0 commit comments

Comments
 (0)