Skip to content

Commit

Permalink
Merge pull request #73 from ReproNim/enh/rc4
Browse files Browse the repository at this point in the history
update all schemas to rc4
  • Loading branch information
yibeichan authored Oct 10, 2024
2 parents 9be140d + 886ef0f commit 083d04c
Show file tree
Hide file tree
Showing 4,438 changed files with 14,546 additions and 11,231 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
14 changes: 8 additions & 6 deletions .github/workflows/testactivities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ on:

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, '3.10', '3.11']

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
Expand All @@ -26,4 +28,4 @@ jobs:
python tests/jsonParser.py
- name: Test with pyshacl
run: |
reproschema -l DEBUG validate activities
reproschema -l DEBUG validate activities
4 changes: 2 additions & 2 deletions activities/BADS/BADS_schema
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Activity",
"@id": "BADS_schema",
"prefLabel": "BADS Assessment",
"description": "BADS assessment schema",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"citation": "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5619563/",
"preamble": "Please read each statement carefully and then select the number which best describes how much the statement was true for you DURING THE PAST WEEK, INCLUDING TODAY",
Expand Down
4 changes: 2 additions & 2 deletions activities/BADS/items/bads_1
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "bads_1",
"prefLabel": "BADS-1",
"description": "Q1 of the BADS Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "There were certain things I needed to do that I didn\u2019t do. ",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/BADS/items/bads_2
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "bads_2",
"prefLabel": "BADS-2",
"description": "Q2 of the BADS Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "I am content with the amount and types of things I did.",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/BADS/items/bads_3
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "bads_3",
"prefLabel": "BADS-3",
"description": "Q3 of the BADS Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "I engaged in many different activities.",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/BADS/items/bads_4
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "bads_4",
"prefLabel": "BADS-4",
"description": "Q4 of the BADS Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "I made good decisions about what type of activities and/or situations I put myself in",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/BADS/items/bads_5
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "bads_5",
"prefLabel": "BADS-5",
"description": "schema for Q5 of the BADS Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "I was an active person and accomplished the\ngoals I set out to do",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/BADS/items/bads_6
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "bads_6",
"prefLabel": "BADS-6",
"description": "schema for Q6 of the BADS Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "Most of what I did was to escape from or avoid something unpleasant",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/BADS/items/bads_7
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "bads_7",
"prefLabel": "BADS-7",
"description": "schema for Q7 of the BADS Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "I spent a long time thinking over and over about my problems",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/BADS/items/bads_8
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "bads_8",
"prefLabel": "BADS-8",
"description": "schema for Q8 of the BADS Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "I engaged in activities that would distract me from feeling bad",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/BADS/items/bads_9
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "bads_9",
"prefLabel": "BADS-9",
"description": "schema for Q9 of the BADS Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "I did things that were enjoyable",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/BADS/items/bads_category
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "bads_category",
"prefLabel": "BADS Category",
"description": "schema for score category of the PHQ-9 Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"ui": {
"inputType": "text",
Expand Down
4 changes: 2 additions & 2 deletions activities/BADS/items/bads_total_score
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "bads_total_score",
"prefLabel": "BADS Score",
"description": "schema for total score of the PHQ-9 Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"ui": {
"inputType": "number",
Expand Down
2 changes: 1 addition & 1 deletion activities/BADS/valueConstraints
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@id": "valueConstraints",
"@type": "reproschema:ResponseOption",
"valueType": "xsd:integer",
Expand Down
4 changes: 2 additions & 2 deletions activities/Brief_PHQ/Brief_PHQ_1schema
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Activity",
"@id": "Brief_PHQ_1schema",
"prefLabel": {
"en": "Brief PHQ Assessment",
"es": "Breve PHQ Evaluación"
},
"description": "PHQ-9 assessment schema",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"citation": "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1495268/",
"preamble": {
Expand Down
4 changes: 2 additions & 2 deletions activities/Brief_PHQ/Brief_PHQ_q2schema
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Activity",
"@id": "Brief_PHQ_q2schema",
"prefLabel": {
"en": "Brief PHQ Assessment",
"es": "Breve PHQ Evaluación"
},
"description": "PHQ-9 assessment schema",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"citation": "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1495268/",
"preamble": {
Expand Down
4 changes: 2 additions & 2 deletions activities/Brief_PHQ/Brief_PHQ_q4schema
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Activity",
"@id": "Brief_PHQ_q4schema",
"prefLabel": {
"en": "Brief PHQ Assessment",
"es": "Breve PHQ Evaluación"
},
"description": "PHQ-9 assessment schema",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"citation": "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1495268/",
"preamble": {
Expand Down
4 changes: 2 additions & 2 deletions activities/Brief_PHQ/Brief_PHQ_q8schema
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Activity",
"@id": "Brief_PHQ_q8schema",
"prefLabel": {
"en": "Brief PHQ Assessment",
"es": "Breve PHQ Evaluación"
},
"description": "PHQ-9 assessment schema",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"citation": "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1495268/",
"preamble": {
Expand Down
4 changes: 2 additions & 2 deletions activities/Brief_PHQ/Brief_PHQ_schema
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Activity",
"@id": "Brief_PHQ_schema",
"prefLabel": {
"en": "Brief PHQ Assessment",
"es": "Breve PHQ Evaluación"
},
"description": "PHQ-9 assessment schema",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"citation": "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1495268/",
"preamble": {
Expand Down
4 changes: 2 additions & 2 deletions activities/Brief_PHQ/items/briefphq_1a
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "briefphq_1a",
"prefLabel": "BriefPHQ-1a",
"description": "Q1a of the derived Brief-PHQ Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "Little interest or pleasure in doing things",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/Brief_PHQ/items/briefphq_1b
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "briefphq_1b",
"prefLabel": "BriefPHQ-1b",
"description": "Q1b of the derived Brief PHQ Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "Feeling down, depressed or hopeless?",

Expand Down
4 changes: 2 additions & 2 deletions activities/Brief_PHQ/items/briefphq_1c
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "briefphq_1c",
"prefLabel": "Brief-PHQ 1c",
"description": "Q1c of the derived Brief PHQ Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "Trouble falling or staying asleep, or sleeping too much?",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/Brief_PHQ/items/briefphq_1d
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "briefphq_1d",
"prefLabel": "Brief PHQ-1d",
"description": "Q1d of the derived Brief PHQ Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "Feeling tired or having little energy?",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/Brief_PHQ/items/briefphq_1e
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@id": "briefphq_1e",
"@type": "reproschema:Field",
"prefLabel": "Brief PHQ 1e",
"description": "schema for Q1e of the derived Brief PHQ Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "Poor appetite or overeating?",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/Brief_PHQ/items/briefphq_1f
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "briefphq_1f",
"prefLabel": "Brief PHQ 1f",
"description": "schema for Q1f of the derived Brief PHQ Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "Feeling bad about yourself or that you are a failure or have let yourself or your family down?",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/Brief_PHQ/items/briefphq_1g
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "briefphq_1g",
"prefLabel": "Brief PHQ q1g",
"description": "schema for Q1g of the derived Brief PHQ Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "Trouble concentrating on things, such as reading the newspaper or watching television?",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/Brief_PHQ/items/briefphq_1h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "briefphq_1h",
"prefLabel": "PHQ9a-8",
"description": "schema for Q1g of the derived Brief PHQ Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "Moving or speaking so slowly that other people could have noticed? Or the opposite \u2014 being so fidgety or restless that you have been moving around a lot more than usual?",
"ui": {
Expand Down
4 changes: 2 additions & 2 deletions activities/Brief_PHQ/items/briefphq_1i
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "briefphq_1i",
"prefLabel": "PHQ9a-9",
"description": "schema for Q1i of the Brief PHQ Assessment",
"schemaVersion": "1.0.0-rc1",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": "Thoughts that you would be better off dead or of hurting yourself in some way?",
"ui": {
Expand Down
Loading

0 comments on commit 083d04c

Please sign in to comment.