Skip to content

Commit 95d2dcf

Browse files
Merge pull request #2 from relogiclabs/develop
Update Validation Features
2 parents b8c0d89 + 39836f0 commit 95d2dcf

File tree

318 files changed

+40794
-279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

318 files changed

+40794
-279
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Let's explore an example of our schema for a typical JSON API response containin
3737
}
3838
}
3939
```
40-
In the above example, two types of constraint or rule descriptors are used: constraint functions (also known as validation functions, such as `@range(1, 10000)`) and constraint data types (also known as validation data types, such as `#integer`). All constraint functions begin with the `@` symbol, while all constraint data types start with `#`. C-style comments are also permitted in the schema. Please note that `address` can be `null` (eg. an optional input for users) and if it is `null` then no constraints of `address` are applicable. The following JSON is one of the examples which can successfully validate against the above schema. To start your journey with the JSON validation library, please consult the documentation available [here](https://relogiclabs.github.io/JsonSchema-DotNet/articles/intro.html).
40+
In the above example, two types of constraint or rule descriptors are used: constraint functions (also known as validation functions, such as `@range(1, 10000)`) and constraint data types (also known as validation data types, such as `#integer`). All constraint functions begin with the `@` symbol, while all constraint data types start with `#`. C-style comments are also permitted in the schema. Please note that `address` can be `null` (eg. an optional input for users) and if it is `null` then no constraints of `address` are applicable. The following JSON is one of the examples which can successfully validate against the above schema. To start your journey with the JSON validation library, please consult the documentation available [here](https://relogiclabs.github.io/JsonSchema-Java/articles/intro).
4141
```json
4242
{
4343
"user": {
@@ -63,7 +63,7 @@ In the above example, two types of constraint or rule descriptors are used: cons
6363
}
6464
```
6565
## Extended Example
66-
The next example represents an expanded version of the previous one, which brings more complexity. To effectively construct such schemas with multiple layers of nested structures, it's beneficial to have a fundamental understanding of this schema format. While the syntax may seem difficult at first, it becomes straightforward once you have a basic understanding of it. For more detailed information, reference documentation is available [here](https://relogiclabs.github.io/JsonSchema-DotNet/articles/intro.html).
66+
The next example represents an expanded version of the previous one, which brings more complexity. To effectively construct such schemas with multiple layers of nested structures, it's beneficial to have a fundamental understanding of this schema format. While the syntax may seem difficult at first, it becomes straightforward once you have a basic understanding of it. For more detailed information, reference documentation is available [here](https://relogiclabs.github.io/JsonSchema-Java/articles/intro).
6767
```cpp
6868
%title: "Extended User Profile Dashboard API Response"
6969
%version: 2.0.0
@@ -220,4 +220,4 @@ The subsequent JSON sample is an illustrative example that successfully validate
220220
}
221221
}
222222
```
223-
For more information about the schema syntax format and library functionalities, please refer to the reference documentation [here](https://relogiclabs.github.io/JsonSchema-DotNet/api/index.html).
223+
For more information about the schema syntax format and library functionalities, please refer to the reference documentation [here](https://relogiclabs.github.io/JsonSchema-Java/api/index.html).

doc/public/404.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<!doctype html><html lang=en><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="ie=edge"><title>404 Page not found - Json Schema</title><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=https://relogiclabs.github.io/JsonSchema-Java/favicon.ico><link rel=stylesheet href=/JsonSchema-Java/css/style.min.41a4e7d0a42107faafb72a9a4a48b19d588103a47ebcd6bb45a2b5f7be80886e.css></head><body class=page><div id=main-menu-mobile class=main-menu-mobile><ul><li class=menu-item-home><a href=/JsonSchema-Java/><span>Home</span></a></li><li class=menu-item-articles><a href=/JsonSchema-Java/articles/intro><span>Articles</span></a></li></ul></div><div class=wrapper><div class=header><div class=container><div class=logo><a href=https://relogiclabs.github.io/JsonSchema-Java><img alt=Logo src=/JsonSchema-Java/images/logo.svg></a></div><div class=logo-mobile><a href=https://relogiclabs.github.io/JsonSchema-Java><img width=70 height=70 alt=Logo src=/JsonSchema-Java/images/logo-mobile.svg></a></div><div id=main-menu class=main-menu><ul><li class=menu-item-home><a href=/JsonSchema-Java/><span>Home</span></a></li><li class=menu-item-articles><a href=/JsonSchema-Java/articles/intro><span>Articles</span></a></li></ul></div><button id=toggle-main-menu-mobile class="hamburger hamburger--slider" type=button>
2+
<span class=hamburger-box><span class=hamburger-inner></span></span></button></div></div><div class="container pt-4 pt-10"><div class="row justify-content-center"><div class="col-12 col-md-9"><h1>404 Page Not Found</h1></div></div></div></div><div class=sub-footer><div class=container><div class=row><div class=col-12><div class=sub-footer-inner><div class=copyright>© <a href=https://www.relogiclabs.com>Relogic Labs</a>. All rights reserved.</div></div></div></div></div></div><script type=text/javascript src=/JsonSchema-Java/js/scripts.min.302a6fc365d5139fb98cf60bdb8f715d96257ea189161d36c190ccfa8182e569.js></script></body></html>

doc/public/api/META-INF/MANIFEST.MF

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Manifest-Version: 1.0
2+
Created-By: Maven Javadoc Plugin 3.6.0
3+
Build-Jdk-Spec: 17
4+

0 commit comments

Comments
 (0)