-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #792 from BioSchemas/non-schema-props
Bioschemas property web pages to prevent 404 errors on profiles
- Loading branch information
Showing
8 changed files
with
135 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<h2>{{page.prop_name}}</h2> | ||
<em>A Bioschemas property</em> | ||
|
||
<h3></h3> | ||
<p> | ||
{{page.description}} | ||
</p> | ||
|
||
{% if page.expected_values_as_type or page.expected_values_as_data %} | ||
<h4>Expected values</h4> | ||
<ul> | ||
{% for v in page.expected_values_as_type %} | ||
{%- assign typeName = '/types/' | append: v %} | ||
<li><a href="{{ typeName | relative_url }}">{{ v }}</a></li> | ||
{% endfor %} | ||
{% for v in page.expected_values_as_data %} | ||
<li> | ||
{{v}} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
|
||
{% if page.used_in_profiles %} | ||
<h4>Used on these profiles</h4> | ||
<ul> | ||
{% for v in page.used_in_profiles %} | ||
{%- assign profileName = '/profiles/' | append: v %} | ||
<li><a href="{{ profileName | relative_url }}">{{ v }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
|
||
{% if page.used_in_types %} | ||
<h4>Used on these types</h4> | ||
<ul> | ||
{% for v in page.used_in_types %} | ||
{%- assign typeName = '/types/' | append: v %} | ||
<li><a href="{{ typeName | relative_url }}">{{ v }}</a></li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
layout: default | ||
title: Bioschemas Properties | ||
# redirect_from: | ||
# - "/devTypes/" | ||
# - "/types/drafts/" | ||
|
||
--- | ||
<h1>Bioschemas Properties | ||
<a target="_blank" href="mailto:[email protected]?subject=[Bioschemas] request to create a new property" | ||
class="btn btn-primary btn-sm float-end" role="button"> | ||
Propose a new property</a> | ||
</h1> | ||
|
||
<p><a href="https://schema.org/">Schema.org</a> provides a vocabulary of terms that can be used to describe data on the | ||
Internet. The Bioschemas community is extending this vocabulary to be able to describe life sciences resources.</p> | ||
|
||
<p>Comments and discussions on the <a href="https://lists.w3.org/Archives/Public/public-bioschemas/" | ||
itemprop="email">mailing list</a> or <a href="https://github.com/Bioschemas/specifications/issues">GitHub issue | ||
tracker</a> are encouraged.</p> | ||
<br /> | ||
|
||
<ul> | ||
{% for prop in site.properties %} | ||
{% if prop.prop_name %} | ||
{%- assign propName = '/properties/' | append: prop.prop_name %} | ||
<li><a href="{{ propName | relative_url }}">{{ prop.prop_name }}</a></li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
dateModified: 2023-10-06 | ||
prop_name: input | ||
description: a property aimed at specifying the type of consumed data. | ||
|
||
expected_values_as_type : | ||
- FormalParameter | ||
|
||
# expected_values_as_data : | ||
# - text | ||
|
||
# used_in_types: | ||
# - | ||
|
||
used_in_profiles: | ||
- ComputationalTool | ||
- ComputationalWorkflow | ||
--- | ||
|
||
{% include properties.html %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
dateModified: 2023-10-06 | ||
prop_name: output | ||
description: a property aimed at specifying the type of produced data. | ||
|
||
expected_values_as_type : | ||
- FormalParameter | ||
|
||
# expected_values_as_data : | ||
# - text | ||
|
||
# used_in_types: | ||
# - | ||
|
||
used_in_profiles: | ||
- ComputationalTool | ||
- ComputationalWorkflow | ||
--- | ||
|
||
{% include properties.html %} |