Skip to content

Commit 8355913

Browse files
committed
added data model links
1 parent d0d9c0d commit 8355913

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/tutorials/python/schema_operations.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You will create a JSON schema using your data model.
99

1010
## Prerequisites
1111
* You have a working [installation](../installation.md) of the Synapse Python Client.
12-
* You have a data-model, see [here](https://sagebionetworks.jira.com/wiki/spaces/SCHEM/pages/2473623559/The+Data+Model+Schema)
12+
* You have a data-model, see this [example data model](https://github.com/Sage-Bionetworks/schematic/blob/develop/tests/data/example.model.column_type_component.csv).
1313

1414
## 1. Imports
1515

@@ -25,8 +25,9 @@ You will create a JSON schema using your data model.
2525

2626
To create a JSON Schema you need a data-model, and the data-types you want to create.
2727
The data-model must be in either CSV or JSON-LD form. The data model may be a local path or a URL.
28+
[Example data model](https://github.com/Sage-Bionetworks/schematic/blob/develop/tests/data/example.model.column_type_component.csv).
2829

29-
The data-types must exist in your data-model. This cna be a list of data-types, or `None` to create all datatatypes in the data-model.
30+
The data-types must exist in your data-model. This can be a list of data-types, or `None` to create all data-types in the data-model.
3031

3132
## 3. Log into Synapse
3233
```python
@@ -40,6 +41,7 @@ Create the JSON Schema(s)
4041
{!docs/tutorials/python/tutorial_scripts/schema_operations.py!lines=15-23}
4142
```
4243
You should see the first JSON Schema for the datatype(s) you selected printed.
44+
It will look like [this schema](https://repo-prod.prod.sagebase.org/repo/v1/schema/type/registered/dpetest-test.schematic.Patient).
4345

4446

4547
## Source Code for this Tutorial

0 commit comments

Comments
 (0)