Skip to content
Snippets Groups Projects
Commit efd6701d authored by Lars Trieloff's avatar Lars Trieloff
Browse files

additionalProperties is very permissive #19

parent 829bfe68
No related branches found
No related tags found
No related merge requests found
Showing with 15 additions and 15 deletions
......@@ -13,7 +13,7 @@ This is an abstract schema. It has `definitions`, but does not declare any prope
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| Cannot be instantiated | Yes | Forbidden | Forbidden | [abstract.schema.json](abstract.schema.json) |
| Cannot be instantiated | Yes | Forbidden | Permitted | [abstract.schema.json](abstract.schema.json) |
# Abstract Definitions
......
......@@ -13,7 +13,7 @@ This is an example schema with examples for multiple array types and their const
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| Can be instantiated | No | Forbidden | Forbidden | [arrays.schema.json](arrays.schema.json) |
| Can be instantiated | No | Forbidden | Permitted | [arrays.schema.json](arrays.schema.json) |
# Arrays Properties
......
......@@ -13,7 +13,7 @@ This is an example schema with examples for properties with constant values
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| Can be instantiated | No | Forbidden | Forbidden | [constants.schema.json](constants.schema.json) |
| Can be instantiated | No | Forbidden | Permitted | [constants.schema.json](constants.schema.json) |
# Constant Types Properties
......
......@@ -13,7 +13,7 @@ This is an extensible schema. It has `definitions`, that can be used in other sc
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| Can be instantiated | Yes | Allowed | Forbidden | [custom.schema.json](custom.schema.json) |
| Can be instantiated | Yes | Allowed | Permitted | [custom.schema.json](custom.schema.json) |
# Custom Properties
......
......@@ -13,7 +13,7 @@ This is an extending schema. It is extending another extending schema. It pulls
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| Can be instantiated | Yes | Forbidden | Forbidden | [deepextending.schema.json](deepextending.schema.json) |
| Can be instantiated | Yes | Forbidden | Permitted | [deepextending.schema.json](deepextending.schema.json) |
## Schema Hierarchy
......
......@@ -27,7 +27,7 @@ aks.
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| Can be instantiated | Yes | Forbidden | Forbidden | [definitions.schema.json](definitions.schema.json) |
| Can be instantiated | Yes | Forbidden | Permitted | [definitions.schema.json](definitions.schema.json) |
# Definitions Properties
......
......@@ -13,7 +13,7 @@ This is an example schema with examples for properties with enum values
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| Can be instantiated | No | Forbidden | Forbidden | [enums.schema.json](enums.schema.json) |
| Can be instantiated | No | Forbidden | Permitted | [enums.schema.json](enums.schema.json) |
# Enumerated Properties
......
......@@ -13,7 +13,7 @@ This is an example schema with examples. Too many examples? There can never be t
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| Can be instantiated | No | Forbidden | Forbidden | [example.schema.json](example.schema.json) |
| Can be instantiated | No | Forbidden | Permitted | [example.schema.json](example.schema.json) |
## Example Example
```json
......
......@@ -13,7 +13,7 @@ This is an example schema with *multiple* examples. Too many examples? There can
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| Can be instantiated | No | Forbidden | Forbidden | [examples.schema.json](examples.schema.json) |
| Can be instantiated | No | Forbidden | Permitted | [examples.schema.json](examples.schema.json) |
## Examples Examples
......
......@@ -13,7 +13,7 @@ This is an extending schema. It pulls `definitions` from other schemas.
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| Can be instantiated | Yes | Forbidden | Forbidden | [extending.schema.json](extending.schema.json) |
| Can be instantiated | Yes | Forbidden | Permitted | [extending.schema.json](extending.schema.json) |
## Schema Hierarchy
......
......@@ -13,7 +13,7 @@ This is an extensible schema. It has `definitions`, that can be used in other sc
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| Cannot be instantiated | Yes | Forbidden | Forbidden | [extensible.schema.json](extensible.schema.json) |
| Cannot be instantiated | Yes | Forbidden | Permitted | [extensible.schema.json](extensible.schema.json) |
# Extensible Definitions
......
......@@ -13,7 +13,7 @@ This is a *very* simple example of a JSON schema. There is only one property.
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| Can be instantiated | No | Forbidden | Forbidden | [simple.schema.json](simple.schema.json) |
| Can be instantiated | No | Forbidden | Permitted | [simple.schema.json](simple.schema.json) |
# Simple Properties
......
......@@ -13,7 +13,7 @@ This is an example schema with examples for multiple types and their constraints
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| Can be instantiated | No | Forbidden | Forbidden | [simpletypes.schema.json](simpletypes.schema.json) |
| Can be instantiated | No | Forbidden | Permitted | [simpletypes.schema.json](simpletypes.schema.json) |
# Simple Types Properties
......
......@@ -13,7 +13,7 @@ A schema in a sub directory
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| Cannot be instantiated | Yes | Forbidden | Forbidden | [subdir/subdir.schema.json](subdir/subdir.schema.json) |
| Cannot be instantiated | Yes | Forbidden | Permitted | [subdir/subdir.schema.json](subdir/subdir.schema.json) |
# Subdir Definitions
......
......@@ -18,7 +18,7 @@
| Abstract | Extensible | Custom Properties | Additional Properties | Defined In |
|----------|------------|-------------------|-----------------------|------------|
| <%=props.abstract %> | <%=props.extensible %> | <%=props.custom %> | <%= schema.additionalProperties===true ? "Permitted" : "Forbidden" %> | [<%=props.original %>](<%=props.original %>) |
| <%=props.abstract %> | <%=props.extensible %> | <%=props.custom %> | <%= schema.additionalProperties===false ? "Forbidden" : "Permitted" %> | [<%=props.original %>](<%=props.original %>) |
<% if (dependencies.length > 0) { %>
## Schema Hierarchy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment