Skip to content

Commit

Permalink
docs: update task description
Browse files Browse the repository at this point in the history
related to #72
  • Loading branch information
JeelRajodiya committed Aug 27, 2024
1 parent cbc942c commit 67b5bc0
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions content/01-Getting-Started/01-Your-First-Schema/instructions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ Consider you have a JSON document of an employee:
- `name` with value `John Doe` (string)
- `age` with value `25` (integer)

**Task:** You are given an incomplete *schema* for above JSON data on the <SideEditorLink/>, now:

You are given an incomplete *schema* for this data on the <SideEditorLink/>

Now, try to Add an `age` property to the *schema* and, using the type [keyword](https://json-schema.org/learn/glossary#keyword) and set it `type` to `integer`.




- Add a new property called `age` under the `properties` section.
- Define the `age` property as follows:
- Set the `type` [keyword](https://json-schema.org/learn/glossary#keyword) for `age` to `integer`.

0 comments on commit 67b5bc0

Please sign in to comment.