Skip to content

Commit

Permalink
docs: update wordings
Browse files Browse the repository at this point in the history
  • Loading branch information
JeelRajodiya committed Aug 5, 2024
1 parent 36ac76e commit 865fe56
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keywords: "nesting, string, properties, type, object, subschema"

You have learned to define an object [schema](https://json-schema.org/learn/glossary#schema) with properties using the `properties` [keyword](https://json-schema.org/learn/glossary#keyword), and added properties with `string` and `integer` types .

In this step, you will learn how to nest objects within objects.
In this lesson, you will learn how to nest objects within objects.
Let's divide the name property into the three separate components: `firstName`, `lastName`, and `middleName`

```json highlightLineStart={3} highlightLineEnd={5}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Regular expressions are a powerful tool for matching patterns in strings. They a

Regular expressions itself are out of scope for this Tour, you can learn more about them in the [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions).

In this step, we will use regular expressions to validate the format `postalCode`, `phoneNumber` and `countryCode` fields in the JSON object.
In this lesson, we will use regular expressions to validate the format `postalCode`, `phoneNumber` and `countryCode` fields in the JSON object.


```json highlightLineStart={6}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ keywords: "exclusiveMinimum, exclusiveMaximum, range"

# Exclusively Constraining Number

We have added a new property `salary` to the JSON object. In this step we will define ranges for the `age` and `salary` properties.
We have added a new property `salary` to the JSON object. In this lesson we will define ranges for the `age` and `salary` properties.



Expand Down
2 changes: 1 addition & 1 deletion content/03-Objects/01-Pattern-Properties/instructions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ keywords: pattern properties, object, JSON Schema, properties, type, properties,


# Objects
Welcome to the Objects chapter. In this chapter, you will learn all about the `object` type and constraints that can be applied to it in JSON Schema.
Welcome to the Objects module. In this module, you will learn all about the `object` type and constraints that can be applied to it in JSON Schema.

## Pattern Properties

Expand Down

0 comments on commit 865fe56

Please sign in to comment.