Skip to content

Commit

Permalink
Add links to SHACL shapes in slate
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Sep 20, 2023
1 parent bbe9826 commit bc3b323
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ogc/bblocks/templates/slate/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,22 @@ ${bblock.jsonld_context_contents}
You can find the full JSON-LD context here:
<a href="${bblock.ldContext}" target="_blank">${bblock.ldContext}</a>

% endif
% if bblock.shaclRules:
${'#'} Validation

${'##'} SHACL Shapes

The following SHACL shapes are used for validating this building block:

% for rule in bblock.shaclRules:
% if rule.startswith('http://') or rule.startswith('https://'):
* [${rule}](${rule})
% else:
* `${rule}`
% endif
% endfor

% endif
% if bblock.sources:
${'#'} References
Expand Down

0 comments on commit bc3b323

Please sign in to comment.