NIFI-12725 Upgraded json-schema-validator from 1.1.0 to 1.3.2

- Adjusted URIs for schemas Draft 4, Draft 6 and Draft 7 to match official values set on json-schema-validator 1.3.0

This closes #8405

Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
dan-s1 2024-02-14 16:50:51 +00:00 committed by exceptionfactory
parent b8d7b9c677
commit fd4a74dbff
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View File

@ -19,9 +19,9 @@ package org.apache.nifi.json.schema;
import org.apache.nifi.components.DescribedValue;
public enum SchemaVersion implements DescribedValue {
DRAFT_4("Draft Version 4", "Draft 4", "https://json-schema.org/draft-04/schema"),
DRAFT_6("Draft Version 6", "Draft 6", "https://json-schema.org/draft-06/schema"),
DRAFT_7("Draft Version 7", "Draft 7", "https://json-schema.org/draft-07/schema"),
DRAFT_4("Draft Version 4", "Draft 4", "http://json-schema.org/draft-04/schema#"),
DRAFT_6("Draft Version 6", "Draft 6", "http://json-schema.org/draft-06/schema#"),
DRAFT_7("Draft Version 7", "Draft 7", "http://json-schema.org/draft-07/schema#"),
DRAFT_2019_09("Draft Version 2019-09", "Draft 2019-09", "https://json-schema.org/draft/2019-09/schema"),
DRAFT_2020_12("Draft Version 2020-12", "Draft 2020-12", "https://json-schema.org/draft/2020-12/schema");

View File

@ -60,7 +60,7 @@ language governing permissions and limitations under the License. -->
<dependency>
<groupId>com.networknt</groupId>
<artifactId>json-schema-validator</artifactId>
<version>1.1.0</version>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>

View File

@ -237,7 +237,7 @@
<dependency>
<groupId>com.networknt</groupId>
<artifactId>json-schema-validator</artifactId>
<version>1.1.0</version>
<version>1.3.2</version>
</dependency>
</dependencies>
</dependencyManagement>