Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converted the ComponentEnum to an explicit "permissible_values" Enum #37

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
207 changes: 97 additions & 110 deletions poetry.lock

Large diffs are not rendered by default.

Binary file modified project/excel/translator_testing_model.xlsx
Binary file not shown.
3 changes: 2 additions & 1 deletion project/jsonld/translator_testing_model.context.jsonld
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"comments": {
"description": "Auto generated by LinkML jsonld context generator",
"generation_date": "2024-04-25T12:49:11",
"generation_date": "2024-04-25T16:24:01",
"source": "translator_testing_model.yaml"
},
"@context": {
"biolink": "https://w3id.org/biolink/",
"example": "https://example.org/",
"infores": "https://w3id.org/biolink/vocab/",
"linkml": "https://w3id.org/linkml/",
"schema": "http://schema.org/",
"skos": "http://www.w3.org/2004/02/skos/core#",
Expand Down
103 changes: 94 additions & 9 deletions project/jsonld/translator_testing_model.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
"prefix_prefix": "biolink",
"prefix_reference": "https://w3id.org/biolink/"
},
{
"prefix_prefix": "infores",
"prefix_reference": "https://w3id.org/biolink/vocab/"
},
{
"prefix_prefix": "schema",
"prefix_reference": "http://schema.org/"
Expand Down Expand Up @@ -644,12 +648,93 @@
"definition_uri": "https://w3id.org/TranslatorSRI/TranslatorTestingModel/ComponentEnum",
"description": "Translator components are identified by their InfoRes identifiers.",
"from_schema": "https://w3id.org/TranslatorSRI/TranslatorTestingModel",
"reachable_from": {
"source_ontology": "biolink",
"source_nodes": [
"biolink:infores"
]
}
"permissible_values": [
{
"text": "ars",
"description": "Automatic Relay Service component of Translator",
"meaning": "infores:ncats-ars"
},
{
"text": "arax",
"description": "ARAX Translator Reasoner",
"meaning": "infores:arax"
},
{
"text": "explanatory",
"description": "A Translator Reasoner API for the Explanatory Agent",
"meaning": "infores:explanatory-agent"
},
{
"text": "improving",
"description": "imProving Agent OpenAPI TRAPI Specification",
"meaning": "infores:improving-agent"
},
{
"text": "aragorn",
"description": "Performs a query operation which compiles data from numerous ranking agent services.",
"meaning": "infores:aragorn"
},
{
"text": "bte",
"description": "BioThings Explorer",
"meaning": "infores:biothings-explorer"
},
{
"text": "unsecret",
"description": "Unsecret Agent OpenAPI for NCATS Biomedical Translator Reasoners",
"meaning": "infores:unsecret-agent"
},
{
"text": "rtxkg2",
"description": "TRAPI endpoint for the NCATS Biomedical Translator KP called RTX KG2",
"meaning": "infores:rtx-kg2"
},
{
"text": "icees",
"description": "ICEES (Integrated Clinical and Environmental Exposures Service)",
"meaning": "infores:icees-kg"
},
{
"text": "cam",
"description": "Causal Activity Model KP",
"meaning": "infores:cam-kp"
},
{
"text": "spoke",
"description": "SPOKE KP - an NIH NCATS Knowledge Provider to expose UCSFs SPOKE",
"meaning": "infores:spoke"
},
{
"text": "molepro",
"description": "Molecular Data Provider for NCATS Biomedical Translator Reasoners",
"meaning": "infores:molepro"
},
{
"text": "textmining",
"description": "Text Mining KP",
"meaning": "infores:textmining-kp"
},
{
"text": "cohd",
"description": "Columbia Open Health Data (COHD)",
"meaning": "infores:cohd"
},
{
"text": "openpredict",
"description": "OpenPredict API",
"meaning": "infores:openpredict"
},
{
"text": "collaboratory",
"description": "Translator Knowledge Collaboratory API",
"meaning": "infores:knowledge-collaboratory"
},
{
"text": "connections",
"description": "Connections Hypothesis Provider API",
"meaning": "infores:connections-hypothesis"
}
]
},
{
"name": "TestPersonaEnum",
Expand Down Expand Up @@ -2553,9 +2638,9 @@
],
"metamodel_version": "1.7.0",
"source_file": "translator_testing_model.yaml",
"source_file_date": "2024-04-25T12:16:22",
"source_file_size": 28237,
"generation_date": "2024-04-25T12:49:11",
"source_file_date": "2024-04-25T16:22:16",
"source_file_size": 30696,
"generation_date": "2024-04-25T16:24:01",
"@type": "SchemaDefinition",
"@context": [
"project/jsonld/translator_testing_model.context.jsonld",
Expand Down
19 changes: 19 additions & 0 deletions project/jsonschema/translator_testing_model.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,25 @@
},
"ComponentEnum": {
"description": "Translator components are identified by their InfoRes identifiers.",
"enum": [
"ars",
"arax",
"explanatory",
"improving",
"aragorn",
"bte",
"unsecret",
"rtxkg2",
"icees",
"cam",
"spoke",
"molepro",
"textmining",
"cohd",
"openpredict",
"collaboratory",
"connections"
],
"title": "ComponentEnum",
"type": "string"
},
Expand Down
Loading
Loading