Commit 79a18b5a authored by Paul Warren's avatar Paul Warren

Documentation re-ordering.

parent a1094682
Pipeline #114 failed with stages
......@@ -82,23 +82,6 @@ Short JSON Schema supports a subset of JSON Schema functionality. The
`shortjsonschema` Python module converts Short JSON Schema syntax into standard
JSON Schema.
## Defaults
In Short JSON Schema, properties are required by default, and additional
properties are disallowed. Properties can be made optional by adding a `?`
modifier, and additional properties can be allowed by adding `...` in the
property list.
```
{
myString?:$,
...
}
```
All properties allowed, but if present, `myString` must be a string.
## Examples
......@@ -148,4 +131,20 @@ Arrays:
}
```
## Defaults
In Short JSON Schema, properties are required by default, and additional
properties are disallowed. Properties can be made optional by adding a `?`
modifier, and additional properties can be allowed by adding `...` in the
property list.
```
{
myString?:$,
...
}
```
All properties allowed, but if present, `myString` must be a string.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment