Skip to content

Commit

Permalink
fix(script): add property domain (was missing)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Mar 22, 2024
1 parent 681afd6 commit 4f8b27a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions script/cli/templates/schema.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ Here are the namespaces used in this schema:
#### {{ property | value(schema.graph, RDFS.label) | capitalize }}
> **IRI**: {{ property | curiefy(schema.graph) | linkify(property) }}
>
> **Domain**: 
{%- for domain in (property | domains(schema.graph)) -%}
{{- domain | curiefy(schema.graph) | linkify(domain) }}{{ ", " if not loop.last else "" -}}
{%- endfor %}
>
> **Range**: 
{%- for range in (property | ranges(schema.graph)) -%}
{{- range | curiefy(schema.graph) | linkify(range) }}{{ ", " if not loop.last else "" -}}
Expand Down

0 comments on commit 4f8b27a

Please sign in to comment.