Skip to content

Commit

Permalink
fix validation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sierra-moxon committed Oct 28, 2024
1 parent 0aa3a63 commit d000065
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ all: site
site: gen-project gendoc

test_pr:
$(RUN) linkml-validate infores-catalog.yaml -s src/information_resource_registry/schema/infores-catalog-schema.yaml
$(RUN) linkml-validate infores_catalog.yaml -s src/information_resource_registry/schema/information_resource_registry.yaml
$(RUN) pytest
$(RUN) codespell
$(RUN) yamllint -c .yamllint-config src/information_resource_registry/schema/*.yaml
$(RUN) yamllint -c .yamllint-config infores_catalog.yaml

test:
$(RUN) linkml-validate infores-catalog.yaml -s src/information_resource_registry/schema/infores-catalog-schema.yaml
$(RUN) linkml-validate infores_catalog.yaml -s src/information_resource_registry/schema/information_resource_registry.yaml
$(RUN) pytest
$(RUN) codespell
$(RUN) yamllint -c .yamllint-config src/information_resource_registry/schema/*.yaml
Expand Down
10 changes: 7 additions & 3 deletions infores_catalog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3802,7 +3802,8 @@ information_resources:
name: SmartAPI API
knowledge_level: knowledge_assertion
agent_type: not_provided
description: This is the API provided from [SmartAPI](https://smart-api.info) application.
description: >-
This is the API provided from SmartAPI, https://smart-api.info, application.
xref:
- https://github.com/NCATSTranslator/Translator-All/wiki/Smart-API-Registry
- id: infores:smartapi
Expand All @@ -3812,8 +3813,8 @@ information_resources:
- https://smart-api.info
knowledge_level: knowledge_assertion
agent_type: not_provided
description:
- This is the API provided from [SmartAPI](https://smart-api.info) application.
description: >-
This is the API provided from SmartAPI, https://smart-api.info, application.
- id: infores:smpdb
status: released
name: Small Molecule Pathway Database (SMPDB)
Expand Down Expand Up @@ -4783,3 +4784,6 @@ information_resources:
- id: infores:omop-ohdsi
consumed_by:
- infores:cohd
knowledge_level: not_provided
agent_type: not_provided
status: released
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ classes:
- description
- knowledge_level
- agent_type
- consumes
- consumed_by
description: >-
A database or knowledgebase and its supporting ecosystem of interfaces
and services that deliver content to consumers (e.g. web portals, APIs,
Expand All @@ -76,6 +78,22 @@ classes:
slots:

consumes:
description: >-
A collection of information resources that are consumed by this information resource
multivalued: true
range: uriorcurie
inlined_as_list: true
inlined: true

consumed_by:
description: >-
A collection of information resources that consume this information resource
multivalued: true
range: uriorcurie
inlined_as_list: true
inlined: true

status:
description: the status of the infores identifier, the default is "released"
range: InformationResourceStatusEnum
Expand Down

0 comments on commit d000065

Please sign in to comment.