diff --git a/.github/workflows/ci-validate.yaml b/.github/workflows/ci-validate.yaml new file mode 100644 index 0000000..a964cd9 --- /dev/null +++ b/.github/workflows/ci-validate.yaml @@ -0,0 +1,49 @@ + +name: Validate bdf.yaml + +on: + workflow_call: + inputs: + python-version: + required: true + type: string + default: '3.9' + validation-branch: + required: false + type: string + default: 'main' + schema-url: + required: false + type: string + default: 'https://raw.githubusercontent.com/ARPA-H-BDF/bdfkb-schema/refs/heads/main/src/bdfkb_schema/schema/bdfkb_schema.yaml' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Checkout source repository (where validate.py lives) + uses: actions/checkout@v4 + with: + repository: ARPA-H-BDF/bdfkb-schema + ref: ${{ inputs.validation-branch }} + path: validation-source + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: ${{ inputs.python-version }} + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install linkml + + - name: Validate yaml + run: | + python ./validation-source/src/validation/validate.py ${{inputs.schema-url}} + + diff --git a/bdf.yaml b/bdf.yaml new file mode 100644 index 0000000..0c4cd1c --- /dev/null +++ b/bdf.yaml @@ -0,0 +1,74 @@ +version: 0.1.0 + +tool: + name: Representativeness Exploration and Comparison Tool - REACT + repo_url: https://github.com/MIDRC/MIDRC-REACT + tool_homepage: https://github.com/MIDRC/MIDRC-REACT + documentation_url: https://midrc.github.io/MIDRC-REACT/ + tool_type: Script + +llm: + usesLlm: false + bringOwnKey: false + +input: + - name: Imaging structured 1 + dataCategory: imaging + dataClass: structured + dataType: radiology + format: + - csv + dataStandard: + - dicom + proprietary: false + source: https://data.midrc.org/ + +output: + - name: Imaging Tabular 1 + dataCategory: imaging + dataClass: tabular + dataType: radiology + format: + - csv + dataStandard: + - dicom + proprietary: false + source: https://data.midrc.org/ + +license: + license_type: Apache-2.0 + link: https://github.com/MIDRC/MIDRC-REACT/blob/master/LICENSE + +funding: + source: Developed for MIDRC creation with NIBIB, and then generalized and converted to tool via ARPA-H BDF + agreement: Not specified + link: "" + +domains: + - Imaging and other AI input domains + +credit: + - name: MIDRC + role: Developer + org: Medical Imaging and Data Resource Center + url: https://www.midrc.org/ + +target_users: + primary_user: + user_type: researcher + technical_literacy_level: + - intermediate + biomedical_literacy_level: + - intermediate + +maturity: + beginning_maturity: 1 + current_maturity: 8 + +media: + [ + { "link": "https://www.youtube.com/watch?v=PFa6EUqE-G8" }, + { "link": "https://player.vimeo.com/video/998029033" }, + ] + +collaborations: []