From 48ad5f09369adc22e843284cfe0977553990aa16 Mon Sep 17 00:00:00 2001 From: Lars Trieloff <trieloff@adobe.com> Date: Fri, 5 Jan 2018 15:47:57 +0000 Subject: [PATCH] [trivial] fix #19 --- examples/docs/abstract.schema.md | 2 +- examples/docs/arrays.schema.md | 2 +- examples/docs/complex.schema.md | 2 +- examples/docs/constants.schema.md | 2 +- examples/docs/custom.schema.md | 2 +- examples/docs/deepextending.schema.md | 2 +- examples/docs/definitions.schema.md | 2 +- examples/docs/enums.schema.md | 2 +- examples/docs/example.schema.md | 2 +- examples/docs/examples.schema.md | 2 +- examples/docs/extending.schema.md | 2 +- examples/docs/extensible.schema.md | 2 +- examples/docs/simple.schema.md | 2 +- examples/docs/simpletypes.schema.md | 2 +- examples/docs/subdir/subdir.schema.md | 2 +- templates/md/header.ejs | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/examples/docs/abstract.schema.md b/examples/docs/abstract.schema.md index 72799ba..99a3604 100644 --- a/examples/docs/abstract.schema.md +++ b/examples/docs/abstract.schema.md @@ -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 | Permitted | [abstract.schema.json](abstract.schema.json) | +| Cannot be instantiated | Yes | Forbidden | Forbidden | [abstract.schema.json](abstract.schema.json) | # Abstract Definitions diff --git a/examples/docs/arrays.schema.md b/examples/docs/arrays.schema.md index 33a352c..027103d 100644 --- a/examples/docs/arrays.schema.md +++ b/examples/docs/arrays.schema.md @@ -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 | Permitted | [arrays.schema.json](arrays.schema.json) | +| Can be instantiated | No | Forbidden | Forbidden | [arrays.schema.json](arrays.schema.json) | # Arrays Properties diff --git a/examples/docs/complex.schema.md b/examples/docs/complex.schema.md index bf4b714..a6b9690 100644 --- a/examples/docs/complex.schema.md +++ b/examples/docs/complex.schema.md @@ -13,7 +13,7 @@ This is an example schema that uses types defined in other schemas. | Abstract | Extensible | Custom Properties | Additional Properties | Defined In | |----------|------------|-------------------|-----------------------|------------| -| Can be instantiated | No | Forbidden | Forbidden | [complex.schema.json](complex.schema.json) | +| Can be instantiated | No | Forbidden | Permitted | [complex.schema.json](complex.schema.json) | ## Schema Hierarchy diff --git a/examples/docs/constants.schema.md b/examples/docs/constants.schema.md index 8c4ef92..441894e 100644 --- a/examples/docs/constants.schema.md +++ b/examples/docs/constants.schema.md @@ -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 | Permitted | [constants.schema.json](constants.schema.json) | +| Can be instantiated | No | Forbidden | Forbidden | [constants.schema.json](constants.schema.json) | # Constant Types Properties diff --git a/examples/docs/custom.schema.md b/examples/docs/custom.schema.md index c6561e0..c091532 100644 --- a/examples/docs/custom.schema.md +++ b/examples/docs/custom.schema.md @@ -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 | Permitted | [custom.schema.json](custom.schema.json) | +| Can be instantiated | Yes | Allowed | Forbidden | [custom.schema.json](custom.schema.json) | # Custom Properties diff --git a/examples/docs/deepextending.schema.md b/examples/docs/deepextending.schema.md index 58b7472..879b73d 100644 --- a/examples/docs/deepextending.schema.md +++ b/examples/docs/deepextending.schema.md @@ -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 | Permitted | [deepextending.schema.json](deepextending.schema.json) | +| Can be instantiated | Yes | Forbidden | Forbidden | [deepextending.schema.json](deepextending.schema.json) | ## Schema Hierarchy diff --git a/examples/docs/definitions.schema.md b/examples/docs/definitions.schema.md index 7c63cbe..1a2266c 100644 --- a/examples/docs/definitions.schema.md +++ b/examples/docs/definitions.schema.md @@ -27,7 +27,7 @@ aks. | Abstract | Extensible | Custom Properties | Additional Properties | Defined In | |----------|------------|-------------------|-----------------------|------------| -| Can be instantiated | Yes | Forbidden | Permitted | [definitions.schema.json](definitions.schema.json) | +| Can be instantiated | Yes | Forbidden | Forbidden | [definitions.schema.json](definitions.schema.json) | # Definitions Properties diff --git a/examples/docs/enums.schema.md b/examples/docs/enums.schema.md index 338ad01..3510692 100644 --- a/examples/docs/enums.schema.md +++ b/examples/docs/enums.schema.md @@ -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 | Permitted | [enums.schema.json](enums.schema.json) | +| Can be instantiated | No | Forbidden | Forbidden | [enums.schema.json](enums.schema.json) | # Enumerated Properties diff --git a/examples/docs/example.schema.md b/examples/docs/example.schema.md index 8fff9dc..83bd581 100644 --- a/examples/docs/example.schema.md +++ b/examples/docs/example.schema.md @@ -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 | Permitted | [example.schema.json](example.schema.json) | +| Can be instantiated | No | Forbidden | Forbidden | [example.schema.json](example.schema.json) | ## Example Example ```json diff --git a/examples/docs/examples.schema.md b/examples/docs/examples.schema.md index 68cfc6f..7b1fc7b 100644 --- a/examples/docs/examples.schema.md +++ b/examples/docs/examples.schema.md @@ -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 | Permitted | [examples.schema.json](examples.schema.json) | +| Can be instantiated | No | Forbidden | Forbidden | [examples.schema.json](examples.schema.json) | ## Examples Examples diff --git a/examples/docs/extending.schema.md b/examples/docs/extending.schema.md index 2643d90..e88d7bd 100644 --- a/examples/docs/extending.schema.md +++ b/examples/docs/extending.schema.md @@ -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 | Permitted | [extending.schema.json](extending.schema.json) | +| Can be instantiated | Yes | Forbidden | Forbidden | [extending.schema.json](extending.schema.json) | ## Schema Hierarchy diff --git a/examples/docs/extensible.schema.md b/examples/docs/extensible.schema.md index 2c7b0eb..553ba55 100644 --- a/examples/docs/extensible.schema.md +++ b/examples/docs/extensible.schema.md @@ -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 | Permitted | [extensible.schema.json](extensible.schema.json) | +| Cannot be instantiated | Yes | Forbidden | Forbidden | [extensible.schema.json](extensible.schema.json) | # Extensible Definitions diff --git a/examples/docs/simple.schema.md b/examples/docs/simple.schema.md index 8669734..3e3d687 100644 --- a/examples/docs/simple.schema.md +++ b/examples/docs/simple.schema.md @@ -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 | Permitted | [simple.schema.json](simple.schema.json) | +| Can be instantiated | No | Forbidden | Forbidden | [simple.schema.json](simple.schema.json) | # Simple Properties diff --git a/examples/docs/simpletypes.schema.md b/examples/docs/simpletypes.schema.md index 92351c2..de8710c 100644 --- a/examples/docs/simpletypes.schema.md +++ b/examples/docs/simpletypes.schema.md @@ -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 | Permitted | [simpletypes.schema.json](simpletypes.schema.json) | +| Can be instantiated | No | Forbidden | Forbidden | [simpletypes.schema.json](simpletypes.schema.json) | # Simple Types Properties diff --git a/examples/docs/subdir/subdir.schema.md b/examples/docs/subdir/subdir.schema.md index ab876d4..0d8e81f 100644 --- a/examples/docs/subdir/subdir.schema.md +++ b/examples/docs/subdir/subdir.schema.md @@ -13,7 +13,7 @@ A schema in a sub directory | Abstract | Extensible | Custom Properties | Additional Properties | Defined In | |----------|------------|-------------------|-----------------------|------------| -| Cannot be instantiated | Yes | Forbidden | Permitted | [subdir/subdir.schema.json](subdir/subdir.schema.json) | +| Cannot be instantiated | Yes | Forbidden | Forbidden | [subdir/subdir.schema.json](subdir/subdir.schema.json) | # Subdir Definitions diff --git a/templates/md/header.ejs b/templates/md/header.ejs index 1871e1b..94ee756 100644 --- a/templates/md/header.ejs +++ b/templates/md/header.ejs @@ -18,7 +18,7 @@ | Abstract | Extensible | Custom Properties | Additional Properties | Defined In | |----------|------------|-------------------|-----------------------|------------| -| <%=props.abstract %> | <%=props.extensible %> | <%=props.custom %> | <%= schema.additionalProperties===true ? "Forbidden" : "Permitted" %> | [<%=props.original %>](<%=props.original %>) | +| <%=props.abstract %> | <%=props.extensible %> | <%=props.custom %> | <%= schema.additionalProperties===true ? "Permitted" : "Forbidden" %> | [<%=props.original %>](<%=props.original %>) | <% if (dependencies.length > 0) { %> ## Schema Hierarchy -- GitLab