diff --git a/Project.toml b/Project.toml index 325fb9f3eb..fc4516a722 100644 --- a/Project.toml +++ b/Project.toml @@ -20,7 +20,7 @@ BenchmarkTools = "0.4, 0.5, 0.6, 0.7, 1.0" CodecBzip2 = "~0.6, 0.7" CodecZlib = "~0.6, 0.7" JSON = "~0.21" -JSONSchema = "0.3" +JSONSchema = "1" MutableArithmetics = "0.2" OrderedCollections = "1" julia = "1" diff --git a/test/FileFormats/MOF/MOF.jl b/test/FileFormats/MOF/MOF.jl index 673eb399e6..0965a7eb29 100644 --- a/test/FileFormats/MOF/MOF.jl +++ b/test/FileFormats/MOF/MOF.jl @@ -21,7 +21,7 @@ function _validate(filename::String) MOI.FileFormats.AutomaticCompression(), ) do io object = JSON.parse(io) - ret = JSONSchema.validate(object, SCHEMA) + ret = JSONSchema.validate(SCHEMA, object) if ret !== nothing error( "Unable to read file because it does not conform to the MOF " *