From d5dd3c79a0a557bb49efd8c039c9971d23357958 Mon Sep 17 00:00:00 2001 From: rob-metalinkage Date: Mon, 21 Oct 2024 10:01:14 +0000 Subject: [PATCH] Building blocks postprocessing --- build/bblocks.jsonld | 22 ++--- build/bblocks.ttl | 84 +++++++++---------- .../bbr/template/exercise1/index.json | 4 +- .../bbr/template/exercise2/index.json | 6 +- .../bbr/template/exercise3/index.json | 8 +- .../bbr/template/exercise4/index.json | 4 +- .../bbr/template/exercise5/index.json | 2 +- .../bbr/template/exercise6/index.json | 2 +- .../bbr/template/exercise7/index.json | 3 +- .../bbr/template/exercise8/index.json | 2 +- .../bbr/template/mySchema/index.json | 3 +- .../markdown/bbr/template/exercise1/index.md | 2 +- .../markdown/bbr/template/exercise2/index.md | 2 +- .../markdown/bbr/template/exercise3/index.md | 7 +- .../markdown/bbr/template/exercise4/index.md | 5 +- build/register.json | 22 ++--- .../tests/bbr/template/exercise1/_report.json | 2 +- .../tests/bbr/template/exercise2/_report.json | 2 +- .../example_1_1.validation_passed.txt | 2 +- .../tests/bbr/template/exercise3/_report.json | 8 +- .../example_1_1.validation_passed.txt | 4 +- .../tests/bbr/template/exercise4/_report.json | 2 +- .../example_1_1.validation_failed.txt | 2 +- .../tests/bbr/template/exercise5/_report.json | 2 +- .../example_1_1.validation_passed.txt | 2 +- .../example_1_2.validation_passed.txt | 2 +- .../feature-fail.validation_failed.txt | 2 +- .../tests/bbr/template/exercise6/_report.json | 2 +- .../example-fail.validation_passed.txt | 2 +- .../example_1_1.validation_passed.txt | 2 +- .../tests/bbr/template/exercise7/_report.json | 2 +- .../example_1_1.validation_passed.txt | 2 +- .../tests/bbr/template/exercise8/_report.json | 2 +- .../example_1_1.validation_passed.txt | 2 +- .../example_2_1.validation_passed.txt | 2 +- .../tests/bbr/template/mySchema/_report.json | 6 +- .../example_1_1.validation_passed.txt | 2 +- .../mySchema/rules-fail.validation_passed.txt | 4 +- build/tests/report.html | 6 +- 39 files changed, 124 insertions(+), 118 deletions(-) diff --git a/build/bblocks.jsonld b/build/bblocks.jsonld index 4ade0e2..563312d 100644 --- a/build/bblocks.jsonld +++ b/build/bblocks.jsonld @@ -106,7 +106,7 @@ "name": "Building Blocks - My OGC Building Blocks repository", "abstract": "This is an example text for the abstract. It should be short and to the point.\nA \"Tell me more\" link will appear if there is an additional description with a longer explanation.\n", "description": "The description can be longer. Both **the abstract** *and the description* support Markdown,\nincluding [links](https://google.es).\n", - "modified": "2024-10-20T11:27:30.015758", + "modified": "2024-10-21T10:01:10.910654", "tooling": { "bblocks-postprocess": { "commitId": "\"b762fc0e8ff295bfc8279d19691d0ee3a4e3d1ee", @@ -139,7 +139,7 @@ "itemClass": "schema", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -191,7 +191,7 @@ "itemClass": "schema", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -244,7 +244,7 @@ "itemClass": "model", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -303,7 +303,7 @@ "itemClass": "model", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -358,7 +358,7 @@ "itemClass": "schema", "register": "ogc-building-block-examples", "version": "1.0", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "sources": [], "maturity": "development", "scope": "unstable", @@ -406,7 +406,8 @@ "dateTimeAddition": "2024-10-03T11:31:00+02:00", "itemClass": "schema", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", + "highlighted": true, "shaclRules": {}, "ldContext": "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/annotated/bbr/template/exercise7/context.jsonld", "schema": { @@ -579,7 +580,7 @@ "itemClass": "schema", "register": "ogc", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "tags": [ "3D", "geometry", @@ -655,7 +656,7 @@ "itemClass": "schema", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -668,6 +669,7 @@ "tags": [ "templates" ], + "highlighted": true, "shaclRules": { "ogc.bbr.template.mySchema": [ "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/_sources/mySchema/rules.shacl" @@ -712,7 +714,7 @@ "itemClass": "schema", "register": "ogc-building-block-examples", "version": "1.0", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "sources": [ { "title": "OGC API - Features, Part 1, 7.16.2: Feature Response", diff --git a/build/bblocks.ttl b/build/bblocks.ttl index cd75ec7..e92ba0d 100644 --- a/build/bblocks.ttl +++ b/build/bblocks.ttl @@ -13,14 +13,14 @@ rdfs:label "Exercise 1" ; dct:abstract "Set an example" ; dct:created "2023-04-05T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "application/json" ; - rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise1/index.json" ], - [ dct:format "text/html" ; + dct:description [ dct:format "text/html" ; rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise1" ], + [ dct:format "application/json" ; + rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise1/index.json" ], [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise1/index.md" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-10-20"^^xsd:date ; + dct:modified "2024-10-21"^^xsd:date ; dct:source ; skos:inScheme ; dcat:keyword "templates" ; @@ -35,14 +35,14 @@ rdfs:label "Exercise 2" ; dct:abstract "Add a JSON-LD context" ; dct:created "2023-04-05T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise2/index.md" ], + dct:description [ dct:format "text/html" ; + rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise2" ], [ dct:format "application/json" ; rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise2/index.json" ], - [ dct:format "text/html" ; - rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise2" ] ; + [ dct:format "text/markdown" ; + rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise2/index.md" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-10-20"^^xsd:date ; + dct:modified "2024-10-21"^^xsd:date ; dct:source ; skos:inScheme ; dcat:keyword "templates" ; @@ -57,14 +57,14 @@ rdfs:label "Exercise 3" ; dct:abstract "Add logical rules" ; dct:created "2023-04-05T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/html" ; - rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise3" ], - [ dct:format "application/json" ; + dct:description [ dct:format "application/json" ; rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise3/index.json" ], [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise3/index.md" ] ; + rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise3/index.md" ], + [ dct:format "text/html" ; + rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise3" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-10-20"^^xsd:date ; + dct:modified "2024-10-21"^^xsd:date ; dct:source ; skos:inScheme ; dcat:keyword "templates" ; @@ -82,14 +82,14 @@ rdfs:label "Exercise 4" ; dct:abstract "Profile with rules" ; dct:created "2023-04-05T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "text/html" ; - rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise4" ], - [ dct:format "application/json" ; + dct:description [ dct:format "application/json" ; rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise4/index.json" ], [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise4/index.md" ] ; + rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise4/index.md" ], + [ dct:format "text/html" ; + rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise4" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-10-20"^^xsd:date ; + dct:modified "2024-10-21"^^xsd:date ; dct:source ; skos:inScheme ; dcat:keyword "templates" ; @@ -112,7 +112,7 @@ [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise5/index.md" ] ; dct:hasVersion "1.0" ; - dct:modified "2024-10-20"^^xsd:date ; + dct:modified "2024-10-21"^^xsd:date ; dct:source ; skos:inScheme ; dcat:keyword "examples", @@ -130,14 +130,14 @@ rdfs:label "Exercise 6" ; dct:abstract "Profiling an external bblock" ; dct:created "2023-05-19T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "application/json" ; - rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise6/index.json" ], + dct:description [ dct:format "text/markdown" ; + rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise6/index.md" ], [ dct:format "text/html" ; rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise6" ], - [ dct:format "text/markdown" ; - rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise6/index.md" ] ; + [ dct:format "application/json" ; + rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise6/index.json" ] ; dct:hasVersion "1.0" ; - dct:modified "2024-10-20"^^xsd:date ; + dct:modified "2024-10-21"^^xsd:date ; skos:inScheme ; dcat:keyword "examples", "feature" ; @@ -154,12 +154,12 @@ dct:created "2024-10-03T11:31:00+02:00"^^xsd:dateTime ; dct:description [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise7/index.md" ], - [ dct:format "application/json" ; - rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise7/index.json" ], [ dct:format "text/html" ; - rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise7" ] ; + rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise7" ], + [ dct:format "application/json" ; + rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise7/index.json" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-10-20"^^xsd:date ; + dct:modified "2024-10-21"^^xsd:date ; skos:inScheme ; bblocks:hasJsonLdContext ; bblocks:hasSchema , @@ -180,7 +180,7 @@ [ dct:format "text/html" ; rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise8" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-10-20"^^xsd:date ; + dct:modified "2024-10-21"^^xsd:date ; skos:inScheme ; dcat:keyword "3D", "cityjson", @@ -194,14 +194,14 @@ rdfs:label "My Schema" ; dct:abstract "An example schema defining the set of properties of any type of object." ; dct:created "2023-04-05T00:00:00+00:00"^^xsd:dateTime ; - dct:description [ dct:format "application/json" ; - rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/mySchema/index.json" ], - [ dct:format "text/markdown" ; + dct:description [ dct:format "text/markdown" ; rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/mySchema/index.md" ], [ dct:format "text/html" ; - rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.mySchema" ] ; + rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.mySchema" ], + [ dct:format "application/json" ; + rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/mySchema/index.json" ] ; dct:hasVersion "0.1" ; - dct:modified "2024-10-20"^^xsd:date ; + dct:modified "2024-10-21"^^xsd:date ; dct:source ; skos:inScheme ; dcat:keyword "templates" ; @@ -231,15 +231,15 @@ including [links](https://google.es). bblocks:imports . [] a prov:Activity ; - prov:endedAtTime "2024-10-20T11:27:31.683031"^^xsd:dateTime ; - prov:startedAtTime "2024-10-20T11:27:31.609533"^^xsd:dateTime ; + prov:endedAtTime "2024-10-21T10:01:12.620670"^^xsd:dateTime ; + prov:startedAtTime "2024-10-21T10:01:12.549354"^^xsd:dateTime ; prov:used [ a prov:Entity ; - dct:format "application/yaml" ; - rdfs:seeAlso ], - [ a prov:Entity ; dct:format "application/json" ; - dct:hasVersion "git:9ad8b7462c515c72eb33281fe0615c0a491237d3" ; - rdfs:seeAlso ] ; + dct:hasVersion "git:9fd978741aa27a2f78b2c0502f5d5a9bc9ffce21" ; + rdfs:seeAlso ], + [ a prov:Entity ; + dct:format "application/yaml" ; + rdfs:seeAlso ] ; prov:wasAssociatedWith [ a prov:Agent, schema:SoftwareApplication ; rdfs:label "OGC-NA tools" ; diff --git a/build/generateddocs/json-full/bbr/template/exercise1/index.json b/build/generateddocs/json-full/bbr/template/exercise1/index.json index 2dbfefa..7aa7f44 100644 --- a/build/generateddocs/json-full/bbr/template/exercise1/index.json +++ b/build/generateddocs/json-full/bbr/template/exercise1/index.json @@ -11,7 +11,7 @@ "itemClass": "schema", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -36,7 +36,7 @@ "examples": [ { "title": "Reference a local file for examples", - "content": "[Example from mySchema](../../mySchema/example.json)\n\nIn **Markdown** format." + "content": "[Example from mySchema](../../exercise1/example.json)\n\nIn **Markdown** format." } ], "annotatedSchema": "$schema: https://json-schema.org/draft/2020-12/schema\ndescription: My example schema\ntype: object\nproperties:\n a:\n type: string\n format: uri\n b:\n type: number\n c:\n type: number\nrequired:\n- a\n- b\n", diff --git a/build/generateddocs/json-full/bbr/template/exercise2/index.json b/build/generateddocs/json-full/bbr/template/exercise2/index.json index f620da4..89921fe 100644 --- a/build/generateddocs/json-full/bbr/template/exercise2/index.json +++ b/build/generateddocs/json-full/bbr/template/exercise2/index.json @@ -11,7 +11,7 @@ "itemClass": "schema", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -37,11 +37,11 @@ "examples": [ { "title": "Reference a local file for examples", - "content": "[Example from mySchema](../../mySchema/example.json)\n\nIn **Markdown** format.", + "content": "[Example from mySchema](../../exercise1/example.json)\n\nIn **Markdown** format.", "snippets": [ { "language": "json", - "ref": "../mySchema/example.json", + "ref": "../exercise1/example.json", "code": "{\n \"a\": \"mynamespace:aThing\",\n \"b\": 23,\n \"c\": 1\n}\n\n", "url": "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/tests/bbr/template/exercise2/example_1_1.json" } diff --git a/build/generateddocs/json-full/bbr/template/exercise3/index.json b/build/generateddocs/json-full/bbr/template/exercise3/index.json index 602f945..4e8d85f 100644 --- a/build/generateddocs/json-full/bbr/template/exercise3/index.json +++ b/build/generateddocs/json-full/bbr/template/exercise3/index.json @@ -11,7 +11,7 @@ "itemClass": "model", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -39,15 +39,15 @@ "sourceFiles": "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/_sources/exercise3/", "validationPassed": true, "testOutputs": "https://github.com/ogcincubator/bblocks-tutorial/blob/master/build/tests/bbr/template/exercise3/", - "description": "## Exercise 3\n\nGoal: Validate logical rules\n\n### Steps\n- rename `rules.example` to `rules.shacl` \n- run build\n- run viewer\n- navigate to \"Exercise 3\"/Validation\n- view validation results at [Validation Report](../validation) or [build-local/...](/register/build-local/tests/bbr/template/exercise3/_report.json)", + "description": "## Exercise 3\n\nGoal: Validate logical rules\n\n### Steps\n- uncomment line 11 in `rules.shacl` \n- run build\n- run viewer\n- navigate to \"Exercise 3\"/Validation\n- view validation results on \"about tab\" \n", "examples": [ { "title": "Reference a local file for examples", - "content": "[Example from mySchema](../../mySchema/example.json)\n\nIn **Markdown** format.", + "content": "[Example from mySchema](../../exercise1/example.json)\n\nIn **Markdown** format.", "snippets": [ { "language": "json", - "ref": "../mySchema/example.json", + "ref": "../exercise1/example.json", "code": "{\n \"a\": \"mynamespace:aThing\",\n \"b\": 23,\n \"c\": 1\n}\n\n", "url": "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/tests/bbr/template/exercise3/example_1_1.json" }, diff --git a/build/generateddocs/json-full/bbr/template/exercise4/index.json b/build/generateddocs/json-full/bbr/template/exercise4/index.json index 5568621..18eed50 100644 --- a/build/generateddocs/json-full/bbr/template/exercise4/index.json +++ b/build/generateddocs/json-full/bbr/template/exercise4/index.json @@ -11,7 +11,7 @@ "itemClass": "model", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -37,7 +37,7 @@ "sourceFiles": "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/_sources/exercise4/", "validationPassed": false, "testOutputs": "https://github.com/ogcincubator/bblocks-tutorial/blob/master/build/tests/bbr/template/exercise4/", - "description": "## Exercise 3\n\nGoal: Profile a building block with additional rules, with tests\n\nNote this illustrates how to use examples to test rules fail when expected. This is a critical capability for complex systems.\n\n### Steps\n- uncomment import from schema.yaml\n- run build\n- run viewer\n- navigate to \"Exercise 4\"/Validation\n- view validation results at [Validation Report](validation) or [build-local/...](/register/build-local/tests/bbr/template/exercise3/_report.json)\n- move `examples/*-fail` to `tests`\n- run build\n- run viewer\n- view validation results at [Validation Report](validation) or [build-local/...](/register/build-local/tests/bbr/template/exercise3/_report.json)", + "description": "## Exercise 4\n\nGoal: Profile a building block with additional rules, with tests\n\nNote this illustrates how to use examples to test rules fail when expected. This is a critical capability for complex systems.\n\n### Steps\n- uncomment import from schema.yaml\n- uncomment line #11 in rules.shacl and examine the additional profile constraint (B<5))\n- run build\n- run viewer\n- navigate to \"Exercise 4\"/Validation\n- view validation results on \"about tab\"\n- move `examples/*-fail` to `tests`\n- run build\n- run viewer\n- view validation results at [Validation Report](validation) or [build-local/...](/register/build-local/tests/bbr/template/exercise3/_report.json)", "examples": [ { "title": "Valid under new rule", diff --git a/build/generateddocs/json-full/bbr/template/exercise5/index.json b/build/generateddocs/json-full/bbr/template/exercise5/index.json index 00de922..b3b24d7 100644 --- a/build/generateddocs/json-full/bbr/template/exercise5/index.json +++ b/build/generateddocs/json-full/bbr/template/exercise5/index.json @@ -9,7 +9,7 @@ "itemClass": "schema", "register": "ogc-building-block-examples", "version": "1.0", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "sources": [ { "title": "OGC API - Features, Part 1, 7.16.2: Feature Response", diff --git a/build/generateddocs/json-full/bbr/template/exercise6/index.json b/build/generateddocs/json-full/bbr/template/exercise6/index.json index 0910219..2c34832 100644 --- a/build/generateddocs/json-full/bbr/template/exercise6/index.json +++ b/build/generateddocs/json-full/bbr/template/exercise6/index.json @@ -9,7 +9,7 @@ "itemClass": "schema", "register": "ogc-building-block-examples", "version": "1.0", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "sources": [], "maturity": "development", "scope": "unstable", diff --git a/build/generateddocs/json-full/bbr/template/exercise7/index.json b/build/generateddocs/json-full/bbr/template/exercise7/index.json index 68e43f9..2c54668 100644 --- a/build/generateddocs/json-full/bbr/template/exercise7/index.json +++ b/build/generateddocs/json-full/bbr/template/exercise7/index.json @@ -8,7 +8,8 @@ "dateTimeAddition": "2024-10-03T11:31:00+02:00", "itemClass": "schema", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", + "highlighted": true, "shaclRules": {}, "ldContext": "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/annotated/bbr/template/exercise7/context.jsonld", "schema": { diff --git a/build/generateddocs/json-full/bbr/template/exercise8/index.json b/build/generateddocs/json-full/bbr/template/exercise8/index.json index 01b0ed1..24fe86c 100644 --- a/build/generateddocs/json-full/bbr/template/exercise8/index.json +++ b/build/generateddocs/json-full/bbr/template/exercise8/index.json @@ -9,7 +9,7 @@ "itemClass": "schema", "register": "ogc", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "tags": [ "3D", "geometry", diff --git a/build/generateddocs/json-full/bbr/template/mySchema/index.json b/build/generateddocs/json-full/bbr/template/mySchema/index.json index c155877..58e0621 100644 --- a/build/generateddocs/json-full/bbr/template/mySchema/index.json +++ b/build/generateddocs/json-full/bbr/template/mySchema/index.json @@ -10,7 +10,7 @@ "itemClass": "schema", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -23,6 +23,7 @@ "tags": [ "templates" ], + "highlighted": true, "shaclRules": { "ogc.bbr.template.mySchema": [ "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/_sources/mySchema/rules.shacl" diff --git a/build/generateddocs/markdown/bbr/template/exercise1/index.md b/build/generateddocs/markdown/bbr/template/exercise1/index.md index 6ac5f16..14c1a56 100644 --- a/build/generateddocs/markdown/bbr/template/exercise1/index.md +++ b/build/generateddocs/markdown/bbr/template/exercise1/index.md @@ -22,7 +22,7 @@ Goal: take a simple JSON schema and test with an example ## Examples ### Reference a local file for examples -[Example from mySchema](../../mySchema/example.json) +[Example from mySchema](../../exercise1/example.json) In **Markdown** format. ## Schema diff --git a/build/generateddocs/markdown/bbr/template/exercise2/index.md b/build/generateddocs/markdown/bbr/template/exercise2/index.md index 1533933..616af34 100644 --- a/build/generateddocs/markdown/bbr/template/exercise2/index.md +++ b/build/generateddocs/markdown/bbr/template/exercise2/index.md @@ -24,7 +24,7 @@ Goal: Semantically annotate a JSON schema ## Examples ### Reference a local file for examples -[Example from mySchema](../../mySchema/example.json) +[Example from mySchema](../../exercise1/example.json) In **Markdown** format. #### json diff --git a/build/generateddocs/markdown/bbr/template/exercise3/index.md b/build/generateddocs/markdown/bbr/template/exercise3/index.md index 68e1bfa..f57efb1 100644 --- a/build/generateddocs/markdown/bbr/template/exercise3/index.md +++ b/build/generateddocs/markdown/bbr/template/exercise3/index.md @@ -14,15 +14,16 @@ Add logical rules Goal: Validate logical rules ### Steps -- rename `rules.example` to `rules.shacl` +- uncomment line 11 in `rules.shacl` - run build - run viewer - navigate to "Exercise 3"/Validation -- view validation results at [Validation Report](../validation) or [build-local/...](/register/build-local/tests/bbr/template/exercise3/_report.json) +- view validation results on "about tab" + ## Examples ### Reference a local file for examples -[Example from mySchema](../../mySchema/example.json) +[Example from mySchema](../../exercise1/example.json) In **Markdown** format. #### json diff --git a/build/generateddocs/markdown/bbr/template/exercise4/index.md b/build/generateddocs/markdown/bbr/template/exercise4/index.md index e132d82..41ff4c2 100644 --- a/build/generateddocs/markdown/bbr/template/exercise4/index.md +++ b/build/generateddocs/markdown/bbr/template/exercise4/index.md @@ -9,7 +9,7 @@ Profile with rules ## Description -## Exercise 3 +## Exercise 4 Goal: Profile a building block with additional rules, with tests @@ -17,10 +17,11 @@ Note this illustrates how to use examples to test rules fail when expected. This ### Steps - uncomment import from schema.yaml +- uncomment line #11 in rules.shacl and examine the additional profile constraint (B<5)) - run build - run viewer - navigate to "Exercise 4"/Validation -- view validation results at [Validation Report](validation) or [build-local/...](/register/build-local/tests/bbr/template/exercise3/_report.json) +- view validation results on "about tab" - move `examples/*-fail` to `tests` - run build - run viewer diff --git a/build/register.json b/build/register.json index 15fd8cd..3730dcc 100644 --- a/build/register.json +++ b/build/register.json @@ -2,7 +2,7 @@ "name": "My OGC Building Blocks repository", "abstract": "This is an example text for the abstract. It should be short and to the point.\nA \"Tell me more\" link will appear if there is an additional description with a longer explanation.\n", "description": "The description can be longer. Both **the abstract** *and the description* support Markdown,\nincluding [links](https://google.es).\n", - "modified": "2024-10-20T11:27:30.015758", + "modified": "2024-10-21T10:01:10.910654", "tooling": { "bblocks-postprocess": { "commitId": "\"b762fc0e8ff295bfc8279d19691d0ee3a4e3d1ee", @@ -30,7 +30,7 @@ "itemClass": "schema", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -77,7 +77,7 @@ "itemClass": "schema", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -125,7 +125,7 @@ "itemClass": "model", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -179,7 +179,7 @@ "itemClass": "model", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -229,7 +229,7 @@ "itemClass": "schema", "register": "ogc-building-block-examples", "version": "1.0", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "sources": [], "maturity": "development", "scope": "unstable", @@ -272,7 +272,8 @@ "dateTimeAddition": "2024-10-03T11:31:00+02:00", "itemClass": "schema", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", + "highlighted": true, "shaclRules": {}, "ldContext": "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/annotated/bbr/template/exercise7/context.jsonld", "schema": { @@ -440,7 +441,7 @@ "itemClass": "schema", "register": "ogc", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "tags": [ "3D", "geometry", @@ -511,7 +512,7 @@ "itemClass": "schema", "register": "ogc-building-block-register", "version": "0.1", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "link": "https://github.com/opengeospatial/bblock-template", "sources": [ { @@ -524,6 +525,7 @@ "tags": [ "templates" ], + "highlighted": true, "shaclRules": { "ogc.bbr.template.mySchema": [ "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/_sources/mySchema/rules.shacl" @@ -563,7 +565,7 @@ "itemClass": "schema", "register": "ogc-building-block-examples", "version": "1.0", - "dateOfLastChange": "2024-10-20", + "dateOfLastChange": "2024-10-21", "sources": [ { "title": "OGC API - Features, Part 1, 7.16.2: Feature Response", diff --git a/build/tests/bbr/template/exercise1/_report.json b/build/tests/bbr/template/exercise1/_report.json index cf68a65..56bad6e 100644 --- a/build/tests/bbr/template/exercise1/_report.json +++ b/build/tests/bbr/template/exercise1/_report.json @@ -2,7 +2,7 @@ "title": "Validation report for ogc.bbr.template.exercise1 - Exercise 1", "bblockName": "Exercise 1", "bblockId": "ogc.bbr.template.exercise1", - "generated": "2024-10-20T11:27:31.212191+00:00", + "generated": "2024-10-21T10:01:12.152383+00:00", "result": true, "items": [], "globalErrors": {}, diff --git a/build/tests/bbr/template/exercise2/_report.json b/build/tests/bbr/template/exercise2/_report.json index 0d2b541..b45bc97 100644 --- a/build/tests/bbr/template/exercise2/_report.json +++ b/build/tests/bbr/template/exercise2/_report.json @@ -2,7 +2,7 @@ "title": "Validation report for ogc.bbr.template.exercise2 - Exercise 2", "bblockName": "Exercise 2", "bblockId": "ogc.bbr.template.exercise2", - "generated": "2024-10-20T11:27:31.219775+00:00", + "generated": "2024-10-21T10:01:12.160182+00:00", "result": true, "items": [ { diff --git a/build/tests/bbr/template/exercise2/example_1_1.validation_passed.txt b/build/tests/bbr/template/exercise2/example_1_1.validation_passed.txt index 9118698..e816e13 100644 --- a/build/tests/bbr/template/exercise2/example_1_1.validation_passed.txt +++ b/build/tests/bbr/template/exercise2/example_1_1.validation_passed.txt @@ -1,5 +1,5 @@ Validation report for ogc.bbr.template.exercise2 - Exercise 2 -Generated 2024-10-20T11:27:31.219721+00:00 +Generated 2024-10-21T10:01:12.160130+00:00 === Files === Using example_1_1.json from examples === End Files === diff --git a/build/tests/bbr/template/exercise3/_report.json b/build/tests/bbr/template/exercise3/_report.json index 65579c9..c54b587 100644 --- a/build/tests/bbr/template/exercise3/_report.json +++ b/build/tests/bbr/template/exercise3/_report.json @@ -2,7 +2,7 @@ "title": "Validation report for ogc.bbr.template.exercise3 - Exercise 3", "bblockName": "Exercise 3", "bblockId": "ogc.bbr.template.exercise3", - "generated": "2024-10-20T11:27:31.237070+00:00", + "generated": "2024-10-21T10:01:12.176946+00:00", "result": true, "items": [ { @@ -73,13 +73,11 @@ "shaclFile": "_sources/exercise3/rules.shacl", "focusNodes": { "": { - "nodes": [ - "_:Ndffa02e310c742dba2d32fd806f4d87d" - ] + "nodes": [] } }, "isError": false, - "message": "Focus nodes for _sources/exercise3/rules.shacl:\n - Shape : _:Ndffa02e310c742dba2d32fd806f4d87d\n" + "message": "Focus nodes for _sources/exercise3/rules.shacl:\n - Shape : *none*\n" } ] } diff --git a/build/tests/bbr/template/exercise3/example_1_1.validation_passed.txt b/build/tests/bbr/template/exercise3/example_1_1.validation_passed.txt index 84b631c..2728a3d 100644 --- a/build/tests/bbr/template/exercise3/example_1_1.validation_passed.txt +++ b/build/tests/bbr/template/exercise3/example_1_1.validation_passed.txt @@ -1,5 +1,5 @@ Validation report for ogc.bbr.template.exercise3 - Exercise 3 -Generated 2024-10-20T11:27:31.237010+00:00 +Generated 2024-10-21T10:01:12.176884+00:00 === Files === Using example_1_1.json from examples JSON-LD context is present - uplifting @@ -17,7 +17,7 @@ Validation result for _sources/exercise3/rules.shacl: Conforms: True Focus nodes for _sources/exercise3/rules.shacl: - - Shape : _:Ndffa02e310c742dba2d32fd806f4d87d + - Shape : *none* === End SHACL === diff --git a/build/tests/bbr/template/exercise4/_report.json b/build/tests/bbr/template/exercise4/_report.json index d8da800..bb913e8 100644 --- a/build/tests/bbr/template/exercise4/_report.json +++ b/build/tests/bbr/template/exercise4/_report.json @@ -2,7 +2,7 @@ "title": "Validation report for ogc.bbr.template.exercise4 - Exercise 4", "bblockName": "Exercise 4", "bblockId": "ogc.bbr.template.exercise4", - "generated": "2024-10-20T11:27:31.245343+00:00", + "generated": "2024-10-21T10:01:12.185548+00:00", "result": false, "items": [ { diff --git a/build/tests/bbr/template/exercise4/example_1_1.validation_failed.txt b/build/tests/bbr/template/exercise4/example_1_1.validation_failed.txt index 811fd6e..aec80e4 100644 --- a/build/tests/bbr/template/exercise4/example_1_1.validation_failed.txt +++ b/build/tests/bbr/template/exercise4/example_1_1.validation_failed.txt @@ -1,5 +1,5 @@ Validation report for ogc.bbr.template.exercise4 - Exercise 4 -Generated 2024-10-20T11:27:31.245281+00:00 +Generated 2024-10-21T10:01:12.185488+00:00 === Files === Using example_1_1.json from examples JSON-LD context is present - uplifting diff --git a/build/tests/bbr/template/exercise5/_report.json b/build/tests/bbr/template/exercise5/_report.json index 8846e69..a2b49d2 100644 --- a/build/tests/bbr/template/exercise5/_report.json +++ b/build/tests/bbr/template/exercise5/_report.json @@ -2,7 +2,7 @@ "title": "Validation report for ogc.bbr.template.exercise5 - Exercise 5", "bblockName": "Exercise 5", "bblockId": "ogc.bbr.template.exercise5", - "generated": "2024-10-20T11:27:31.593322+00:00", + "generated": "2024-10-21T10:01:12.533921+00:00", "result": false, "items": [ { diff --git a/build/tests/bbr/template/exercise5/example_1_1.validation_passed.txt b/build/tests/bbr/template/exercise5/example_1_1.validation_passed.txt index 1c6c0a9..724ee88 100644 --- a/build/tests/bbr/template/exercise5/example_1_1.validation_passed.txt +++ b/build/tests/bbr/template/exercise5/example_1_1.validation_passed.txt @@ -1,5 +1,5 @@ Validation report for ogc.bbr.template.exercise5 - Exercise 5 -Generated 2024-10-20T11:27:31.592317+00:00 +Generated 2024-10-21T10:01:12.533040+00:00 === Files === Using example_1_1.json from examples JSON-LD context is present - uplifting diff --git a/build/tests/bbr/template/exercise5/example_1_2.validation_passed.txt b/build/tests/bbr/template/exercise5/example_1_2.validation_passed.txt index 938efb3..f8e85b2 100644 --- a/build/tests/bbr/template/exercise5/example_1_2.validation_passed.txt +++ b/build/tests/bbr/template/exercise5/example_1_2.validation_passed.txt @@ -1,5 +1,5 @@ Validation report for ogc.bbr.template.exercise5 - Exercise 5 -Generated 2024-10-20T11:27:31.593267+00:00 +Generated 2024-10-21T10:01:12.533873+00:00 === Files === Using example_1_2.yaml from examples === End Files === diff --git a/build/tests/bbr/template/exercise5/feature-fail.validation_failed.txt b/build/tests/bbr/template/exercise5/feature-fail.validation_failed.txt index 7e5fc17..15264ba 100644 --- a/build/tests/bbr/template/exercise5/feature-fail.validation_failed.txt +++ b/build/tests/bbr/template/exercise5/feature-fail.validation_failed.txt @@ -1,5 +1,5 @@ Validation report for ogc.bbr.template.exercise5 - Exercise 5 -Generated 2024-10-20T11:27:31.588226+00:00 +Generated 2024-10-21T10:01:12.529211+00:00 === General === ** Validation error ** diff --git a/build/tests/bbr/template/exercise6/_report.json b/build/tests/bbr/template/exercise6/_report.json index ac84d05..ebeeaf7 100644 --- a/build/tests/bbr/template/exercise6/_report.json +++ b/build/tests/bbr/template/exercise6/_report.json @@ -2,7 +2,7 @@ "title": "Validation report for ogc.bbr.template.exercise6 - Exercise 6", "bblockName": "Exercise 6", "bblockId": "ogc.bbr.template.exercise6", - "generated": "2024-10-20T11:27:31.253539+00:00", + "generated": "2024-10-21T10:01:12.194222+00:00", "result": true, "items": [ { diff --git a/build/tests/bbr/template/exercise6/example-fail.validation_passed.txt b/build/tests/bbr/template/exercise6/example-fail.validation_passed.txt index 08ce876..5227089 100644 --- a/build/tests/bbr/template/exercise6/example-fail.validation_passed.txt +++ b/build/tests/bbr/template/exercise6/example-fail.validation_passed.txt @@ -1,5 +1,5 @@ Validation report for ogc.bbr.template.exercise6 - Exercise 6 -Generated 2024-10-20T11:27:31.252909+00:00 +Generated 2024-10-21T10:01:12.193533+00:00 === General === Test was expected to fail and it did. === End General === diff --git a/build/tests/bbr/template/exercise6/example_1_1.validation_passed.txt b/build/tests/bbr/template/exercise6/example_1_1.validation_passed.txt index 8dd44d5..3e90489 100644 --- a/build/tests/bbr/template/exercise6/example_1_1.validation_passed.txt +++ b/build/tests/bbr/template/exercise6/example_1_1.validation_passed.txt @@ -1,5 +1,5 @@ Validation report for ogc.bbr.template.exercise6 - Exercise 6 -Generated 2024-10-20T11:27:31.253493+00:00 +Generated 2024-10-21T10:01:12.194172+00:00 === Files === Using example_1_1.json from examples === End Files === diff --git a/build/tests/bbr/template/exercise7/_report.json b/build/tests/bbr/template/exercise7/_report.json index 94f1452..1cd3e3c 100644 --- a/build/tests/bbr/template/exercise7/_report.json +++ b/build/tests/bbr/template/exercise7/_report.json @@ -2,7 +2,7 @@ "title": "Validation report for ogc.bbr.template.exercise7 - Exercise 7", "bblockName": "Exercise 7", "bblockId": "ogc.bbr.template.exercise7", - "generated": "2024-10-20T11:27:31.262281+00:00", + "generated": "2024-10-21T10:01:12.203448+00:00", "result": true, "items": [ { diff --git a/build/tests/bbr/template/exercise7/example_1_1.validation_passed.txt b/build/tests/bbr/template/exercise7/example_1_1.validation_passed.txt index c2fedc5..8d2bef0 100644 --- a/build/tests/bbr/template/exercise7/example_1_1.validation_passed.txt +++ b/build/tests/bbr/template/exercise7/example_1_1.validation_passed.txt @@ -1,5 +1,5 @@ Validation report for ogc.bbr.template.exercise7 - Exercise 7 -Generated 2024-10-20T11:27:31.262227+00:00 +Generated 2024-10-21T10:01:12.203365+00:00 === Files === Using example_1_1.json from examples JSON-LD context is present - uplifting diff --git a/build/tests/bbr/template/exercise8/_report.json b/build/tests/bbr/template/exercise8/_report.json index 34e7912..c32d663 100644 --- a/build/tests/bbr/template/exercise8/_report.json +++ b/build/tests/bbr/template/exercise8/_report.json @@ -2,7 +2,7 @@ "title": "Validation report for ogc.bbr.template.exercise8 - Exercise 8", "bblockName": "Exercise 8", "bblockId": "ogc.bbr.template.exercise8", - "generated": "2024-10-20T11:27:31.376897+00:00", + "generated": "2024-10-21T10:01:12.317102+00:00", "result": true, "items": [ { diff --git a/build/tests/bbr/template/exercise8/example_1_1.validation_passed.txt b/build/tests/bbr/template/exercise8/example_1_1.validation_passed.txt index 5e64334..9c1f339 100644 --- a/build/tests/bbr/template/exercise8/example_1_1.validation_passed.txt +++ b/build/tests/bbr/template/exercise8/example_1_1.validation_passed.txt @@ -1,5 +1,5 @@ Validation report for ogc.bbr.template.exercise8 - Exercise 8 -Generated 2024-10-20T11:27:31.361924+00:00 +Generated 2024-10-21T10:01:12.301868+00:00 === Files === Using example_1_1.json from examples === End Files === diff --git a/build/tests/bbr/template/exercise8/example_2_1.validation_passed.txt b/build/tests/bbr/template/exercise8/example_2_1.validation_passed.txt index c238c4b..19a3a2e 100644 --- a/build/tests/bbr/template/exercise8/example_2_1.validation_passed.txt +++ b/build/tests/bbr/template/exercise8/example_2_1.validation_passed.txt @@ -1,5 +1,5 @@ Validation report for ogc.bbr.template.exercise8 - Exercise 8 -Generated 2024-10-20T11:27:31.376839+00:00 +Generated 2024-10-21T10:01:12.317043+00:00 === Files === Using example_2_1.json from examples === End Files === diff --git a/build/tests/bbr/template/mySchema/_report.json b/build/tests/bbr/template/mySchema/_report.json index 9d5bf39..3fffab0 100644 --- a/build/tests/bbr/template/mySchema/_report.json +++ b/build/tests/bbr/template/mySchema/_report.json @@ -2,7 +2,7 @@ "title": "Validation report for ogc.bbr.template.mySchema - My Schema", "bblockName": "My Schema", "bblockId": "ogc.bbr.template.mySchema", - "generated": "2024-10-20T11:27:31.493435+00:00", + "generated": "2024-10-21T10:01:12.435765+00:00", "result": true, "items": [ { @@ -83,12 +83,12 @@ "focusNodes": { "": { "nodes": [ - "_:N4fba077ebf0245f4bb3dbd751cf22054" + "_:N9a212cd510fa4a57bcbc9790992719be" ] } }, "isError": false, - "message": "Focus nodes for _sources/mySchema/rules.shacl:\n - Shape : _:N4fba077ebf0245f4bb3dbd751cf22054\n" + "message": "Focus nodes for _sources/mySchema/rules.shacl:\n - Shape : _:N9a212cd510fa4a57bcbc9790992719be\n" } ] } diff --git a/build/tests/bbr/template/mySchema/example_1_1.validation_passed.txt b/build/tests/bbr/template/mySchema/example_1_1.validation_passed.txt index 225214f..91d7096 100644 --- a/build/tests/bbr/template/mySchema/example_1_1.validation_passed.txt +++ b/build/tests/bbr/template/mySchema/example_1_1.validation_passed.txt @@ -1,5 +1,5 @@ Validation report for ogc.bbr.template.mySchema - My Schema -Generated 2024-10-20T11:27:31.492805+00:00 +Generated 2024-10-21T10:01:12.435188+00:00 === Files === Using example_1_1.json from examples JSON-LD context is present - uplifting diff --git a/build/tests/bbr/template/mySchema/rules-fail.validation_passed.txt b/build/tests/bbr/template/mySchema/rules-fail.validation_passed.txt index 2b6ce18..077c60f 100644 --- a/build/tests/bbr/template/mySchema/rules-fail.validation_passed.txt +++ b/build/tests/bbr/template/mySchema/rules-fail.validation_passed.txt @@ -1,5 +1,5 @@ Validation report for ogc.bbr.template.mySchema - My Schema -Generated 2024-10-20T11:27:31.488427+00:00 +Generated 2024-10-21T10:01:12.431372+00:00 === General === Test was expected to fail and it did. === End General === @@ -31,7 +31,7 @@ Validation result for _sources/mySchema/rules.shacl: Message: Value of [ ns1:b Literal("23", datatype=xsd:integer) ; ns1:c Literal("25.5", datatype=xsd:double) ; rdf:type mynamespace:aThing ]->ns1:b <= Literal("25.5", datatype=xsd:double) Focus nodes for _sources/mySchema/rules.shacl: - - Shape : _:N4fba077ebf0245f4bb3dbd751cf22054 + - Shape : _:N9a212cd510fa4a57bcbc9790992719be === End SHACL === diff --git a/build/tests/report.html b/build/tests/report.html index 81f20fb..a513534 100644 --- a/build/tests/report.html +++ b/build/tests/report.html @@ -51,7 +51,7 @@

Building blocks validation report

- Generated at 2024-10-20T11:27:31.606965+00:00 + Generated at 2024-10-21T10:01:12.546952+00:00

Number of passing building blocks: 7 / 9 (77.78%)

@@ -184,7 +184,7 @@

Conforms: True

Focus nodes for _sources/exercise3/rules.shacl: - - Shape <https://www.ogc.org/rules/template/#testValues>: _:Ndffa02e310c742dba2d32fd806f4d87d + - Shape <https://www.ogc.org/rules/template/#testValues>: *none*
@@ -519,7 +519,7 @@

Message: Value of [ ns1:b Literal("23", datatype=xsd:integer) ; ns1:c Literal("25.5", datatype=xsd:double) ; rdf:type mynamespace:aThing ]->ns1:b <= Literal("25.5", datatype=xsd:double)
Focus nodes for _sources/mySchema/rules.shacl: - - Shape <https://www.ogc.org/rules/template/#testValues>: _:N4fba077ebf0245f4bb3dbd751cf22054 + - Shape <https://www.ogc.org/rules/template/#testValues>: _:N9a212cd510fa4a57bcbc9790992719be