Skip to content

Commit

Permalink
fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed May 10, 2024
1 parent bedf2ff commit ccae7ad
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/30_schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ src="../img/reproschema.png"
alt="reproschema"
style="width: 800px; height: auto; display: block; margin-left: auto; margin-right: auto;"/>

You can see an example of those in the [examples folder](https://github.com/ReproNim/reproschema/examples)
You can see an example of those in the [examples folder](https://github.com/ReproNim/reproschema/tree/master/examples)

There are in fact more levels than this each and each level has its own schema:
- all of the schemas can be found in the [`terms` folder](https://github.com/ReproNim/reproschema/terms)
- all of the schemas can be found in the [`terms` folder](https://github.com/ReproNim/reproschema/tree/master/terms)
- the Reproschema actually allows for a more complex level nesting than the one described above (e.g you can have an `activity` within an `activity`)
- all the properties of each level are described below in the [Properties of ReproSchema objects section](#properties-of-reproschema-objects)

Expand Down
2 changes: 1 addition & 1 deletion docs/51_create_new_protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ The field `isAbout` is the URL to point to the schema of that activity.
The field `order` is there to indicate which activity should be presented first, second...

??? "Making sure you have a valid json file"
Json files can get a bit long and you might sometimes forget a coma of a closing square brackets, so to make sure that your json file is correctly formatted you can use a linter. For example, you can test individual files on the [json linter website](`https://jsonlint.com/`).
Json files can get a bit long and you might sometimes forget a coma of a closing square brackets, so to make sure that your json file is correctly formatted you can use a linter. For example, you can test individual files on the [json linter website](https://jsonlint.com/).

??? "JSON-LD expansion"
You might notice that `rl:PHQ-9/PHQ9_schema` does not look like a typical URL and clearly does not match the one we fed the UI earlier (https://raw.githubusercontent.com/ReproNim/reproschema-library/master/activities/PHQ-9/PHQ9_schema). Well this is because we have defined, in the `@context` part of our jsonld, that the `rl` from `rl:PHQ-9/PHQ9_schema` will actually stand for `https://raw.githubusercontent.com/ReproNim/reproschema-library/master/activities/`. This shorthand makes it faster for us to write URL but the UI will know how to `expand` this into an actual URL.
Expand Down
2 changes: 1 addition & 1 deletion docs/53_tips_to_make_your_life_easier.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ grep -r "@context" . \
| cut -d: -f1 | xargs -I fname jsonlint -q fname
```

Or test individual files on the [json linter website](`https://jsonlint.com/`).
Or test individual files on the [json linter website](https://jsonlint.com/).

## Validating your schema

Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ could save you from a lot of confusion. 😉
- Not sure how the project is organized? Check out the [project structure](./20_project_structure.md)
page.

- Want more details on how the `Reproschema` itself is structured: check out our [schema page](./30_schema)
- Want more details on how the `Reproschema` itself is structured: check out our [schema page](./30_schema.md)

<!-- - If you want to use the schema to create your own questionnaire: check out our
Expand Down

0 comments on commit ccae7ad

Please sign in to comment.