Skip to content

Commit

Permalink
NIFI-12725 Upgraded json-schema-validator from 1.1.0 to 1.3.2
Browse files Browse the repository at this point in the history
- 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 apache#8405

Signed-off-by: David Handermann <exceptionfactory@apache.org>
  • Loading branch information
dan-s1 authored and exceptionfactory committed Feb 15, 2024
1 parent b8d7b9c commit fd4a74d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
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");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion nifi-nar-bundles/nifi-standard-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit fd4a74d

Please sign in to comment.