diff --git a/.github/workflows/schematic-schema-convert.yml b/.github/workflows/schematic-schema-convert.yml index 9e80651..c450a0d 100644 --- a/.github/workflows/schematic-schema-convert.yml +++ b/.github/workflows/schematic-schema-convert.yml @@ -12,7 +12,8 @@ on: env: schema_filename: nf_research_tools.rdb.model.csv - + SCHEMATIC_VERSION: 24.7.2 # please update .devcontainer as well until this can be set globally somewhere... + jobs: build: runs-on: ubuntu-22.04 @@ -28,13 +29,18 @@ jobs: ref: ${{ github.event.pull_request.head.ref }} persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token. fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository - - - name: Install schematic and convert schema #temporarily revert to this to use edge version of schematic - shell: bash + + # Set up supported python. + - uses: actions/setup-python@v5 + with: + python-version: '3.10.12' + + - name: Setup schematic and do another convert pass + id: schematic-convert run: | - pip install schematicpy + pip install schematicpy==$SCHEMATIC_VERSION + pip show schematicpy schematic schema convert $schema_filename -o nf-research-tools.jsonld - - name: Commit files run: | diff --git a/nf_research_tools.rdb.model.csv b/nf_research_tools.rdb.model.csv index 84ea37f..6489a73 100644 --- a/nf_research_tools.rdb.model.csv +++ b/nf_research_tools.rdb.model.csv @@ -139,7 +139,7 @@ funder,A person or organization that provides money for a particular resource.,, funderId,A unique identifier for the funder of the resource.,,,FALSE,,funder,,, funderName,The name of the person or agency that funded the development of the resource.,,,FALSE,,funder,,, investigator,A person who carries out a formal inquiry or investigation into the development of the resource.,,"Component, investigatorId, orcid, investigatorName, institution, investigatorSynapseId",FALSE,,investigator,"investigatorId, orcid, investigatorName, institution, investigatorSynapseId",, -investigatorId,A unique identifier for the investigator.,,,FALSE,,investigator,,, +investigatorId,A unique identifier for the investigator.,,,TRUE,,investigator,,, orcid,The orcidId of the investigator that developed the resource,,,FALSE,,investigator,,, investigatorName,The name of the investigator responsible for developing the resource.,,,TRUE,,investigator,,, institution,The insitution of the investator,,,FALSE,,investigator,,,