Skip to content

Finalize the protocol

Viewing the activity

Push the content you have created on your repository on github

# Type this in a terminal window
git add --all
git commit -m 'adding the EHI activity'
git push

Use the UI to visualize just the activity.

https://www.repronim.org/reproschema-ui/#/activities/0?url=url-to-activity-schema
https://www.repronim.org/reproschema-ui/#/activities/0?url=https://raw.githubusercontent.com/<YOUR_USERNAME>/depression_nimg_schema/activities/edinburgh_handedness_inventory_short.jsonld

Adding the activity to the protocol

{
    "@context": [
      "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc1/contexts/generic",
      {
        "rl": "https://raw.githubusercontent.com/ReproNim/reproschema-library/master/activities/"
      }
    ],
    "@type": "reproschema:Protocol",
    "@id": "depression_nimg_schema.jsonld",
    "prefLabel": "depression neuroimaging study",
    "description": "a study on linguistic processing in depression",
    "schemaVersion": "1.0.0-rc1",
    "version": "0.0.1",
    "landingPage": {
      "@id": "README.md",
      "inLanguage": "en"
    },
    "ui": {
      "addProperties": [
        {
          "isAbout": "rl:PHQ-9/PHQ9_schema",
          "variableName": "PHQ9_schema",
          "prefLabel": { "en": "Depression" }
        },
          {
          "isAbout": "../activities/EHI/edinburgh_handedness_inventory_short.jsonld",
          "variableName": "EHI_short_schema",
          "prefLabel": { "en": "EHI" }
        }
      ],
      "order": [
          "rl:PHQ-9/PHQ9_schema",
          "EHI_short_schema"
          ]
    }
}