Skip to content

Commit dcebf7d

Browse files
committed
Small adjustment and image location
1 parent 4b7e156 commit dcebf7d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pages/overview/what-is-jsonschema.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,27 @@ section: docs
33
title: What is JSON Schema?
44
---
55
JSON Schema is a declarative language for annotating and validating JSON documents' structure, constraints, and data types. It provides a way to standardize and define expectations for JSON data.
6-
<br/><br/>
7-
![How JSON Schema works](/img/json_schema.svg)
6+
<br/>
87

98

109
## How does JSON Schema work?
1110

12-
When it comes to data exchange, JSON Schema stands out as a powerful standard for defining the structure and rules of JSON data. It uses various [keywords](https://json-schema.org/learn/glossary#keyword) to define the properties of your data.
11+
When it comes to data exchange, JSON Schema stands out as a powerful standard for defining the structure and rules of JSON data. It uses a set of [keywords](https://json-schema.org/learn/glossary#keyword) to define the properties of your data.
1312

1413
While JSON Schema provides the language, validating a JSON [instance](https://json-schema.org/learn/glossary#instance) against a [schema](https://json-schema.org/learn/glossary#schema) requires a JSON Schema [validator](https://json-schema.org/implementations#tools). The JSON validator checks if the JSON documents conform to the schema.
1514

1615
JSON validators are open-source and commercial tools that implement the JSON Schema specification. They make it very easy to integrate JSON Schema into projects of any size.
1716

17+
![How JSON Schema works](/img/json_schema.svg)
18+
1819
## Benefits of JSON Schema for Developers
1920

2021
JSON Schema empowers developers in the following ways:
2122

2223
* **Structured Data Description**: JSON Schema allows developers to describe the structure, constraints, and data types of existing JSON formats.
2324
* **Rule Definition and Enforcement**: By adhering to JSON schema constraints, it becomes easier to exchange structured data between applications as it maintains a consistent pattern.
2425
* **Produce clear documentation**: JSON Schema supports the creation of machine and human readable documentation.
25-
* **Extensibility:** JSON Schema offers high adaptability to developers' needs. Custom keywords, formats, and validation rules can be created to tailor schemas according to specific requirements..
26+
* **Extensibility:** JSON Schema offers high adaptability to developers' needs. Custom keywords, formats, and validation rules can be created to tailor schemas according to specific requirements.
2627
* **Data Validation:** JSON Schema ensures data validity through:
2728
* Automated Testing: Validation enables automated testing, ensuring data consistently complies with specified rules and constraints.
2829
* Improved Data Quality: By enforcing validation rules, JSON Schema aids in maintaining the quality of client-submitted data, reducing inconsistencies, errors, and potential security vulnerabilities.

0 commit comments

Comments
 (0)