-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
43 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: monthly |
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,14 @@ | ||
from linkml_runtime.dumpers import json_dumper | ||
from pid4cat_model.datamodel import pid4cat_model_pydantic as p4c | ||
|
||
pid1_ressource_info = p4c.ResourceInfo( | ||
label="Resource label", | ||
description="Resource description", | ||
resource_category=p4c.ResourceCategory.SAMPLE, | ||
rdf_url="https://example.org/resource", | ||
rdf_type="TURTLE", | ||
schema_url="https://example.org/schema", | ||
schema_type="XSD", | ||
) | ||
|
||
print(json_dumper.dumps(pid1_ressource_info, inject_type=False)) |
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 |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# pid4cat-model | ||
|
||
A LinkML model for handle-based PIDs for resources in catalysis (PID4Cat). | ||
For more see GitHub [NFDI4Cat/pid4cat-model](ttps://github.org/nfid4cat/pid4cat-model). | ||
|
||
This is work in progress! | ||
**The model is work in progress!** Please don't expect stability before Release 1.0. | ||
|
||
- License: MIT | ||
- Author & contributors: https://github.com/nfdi4cat/pid4cat-model?tab=readme-ov-file#contributors |
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