From df83831e770156aa776e7a38f25ed35207131228 Mon Sep 17 00:00:00 2001 From: EmidioStani Date: Wed, 19 Jun 2024 09:42:25 +0200 Subject: [PATCH] update validation version --- releases/3.0.0-draft/html/example.js | 4 ++-- releases/3.0.0/html/example.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/releases/3.0.0-draft/html/example.js b/releases/3.0.0-draft/html/example.js index 6d8164f..fa288ea 100644 --- a/releases/3.0.0-draft/html/example.js +++ b/releases/3.0.0-draft/html/example.js @@ -266,7 +266,7 @@ $(document).ready(function () { var exampleid = $(this).parent().parent().attr("exampleid"); var indexValues = $examples.map(function() { return this.id; }) ; var index = myIndexOf(indexValues, exampleid); - var shapes = validate("dcat-ap", "v2.0", editors[index].CM0.getValue(), "text/turtle"); + var shapes = validate("dcat-ap", "v3.0Base0", editors[index].CM0.getValue(), "text/turtle"); return false; }); $("button.validateJsonld").on('click', function(e) { @@ -275,7 +275,7 @@ $(document).ready(function () { var index = myIndexOf(indexValues, exampleid); var shaclfilepath = "./html/shacl/shapes.ttl" ; //var shapes = loadShape(shaclfilepath, editors[index].CM1.getValue(), "application%2Fld%2Bjson"); - var shapes = validate("dcat-ap", "v2.0", editors[index].CM1.getValue(), "application/ld+json"); + var shapes = validate("dcat-ap", "v3.0Base0", editors[index].CM1.getValue(), "application/ld+json"); return false; }); $("div.CodeMirror pre").on('click', function(e) { diff --git a/releases/3.0.0/html/example.js b/releases/3.0.0/html/example.js index 6d8164f..fa288ea 100644 --- a/releases/3.0.0/html/example.js +++ b/releases/3.0.0/html/example.js @@ -266,7 +266,7 @@ $(document).ready(function () { var exampleid = $(this).parent().parent().attr("exampleid"); var indexValues = $examples.map(function() { return this.id; }) ; var index = myIndexOf(indexValues, exampleid); - var shapes = validate("dcat-ap", "v2.0", editors[index].CM0.getValue(), "text/turtle"); + var shapes = validate("dcat-ap", "v3.0Base0", editors[index].CM0.getValue(), "text/turtle"); return false; }); $("button.validateJsonld").on('click', function(e) { @@ -275,7 +275,7 @@ $(document).ready(function () { var index = myIndexOf(indexValues, exampleid); var shaclfilepath = "./html/shacl/shapes.ttl" ; //var shapes = loadShape(shaclfilepath, editors[index].CM1.getValue(), "application%2Fld%2Bjson"); - var shapes = validate("dcat-ap", "v2.0", editors[index].CM1.getValue(), "application/ld+json"); + var shapes = validate("dcat-ap", "v3.0Base0", editors[index].CM1.getValue(), "application/ld+json"); return false; }); $("div.CodeMirror pre").on('click', function(e) {