You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/explanations/curator_data_model.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ Here is the Patient described above represented as a CSV data model:
22
22
| Gender ||
23
23
| Name ||
24
24
25
-
The end goal is to create a JSON Schema that can be used in Curator. A JSON Schema consists of only one data type and their attributes. Converting the above data model to JSON Schema results in:
25
+
The end goal is to create a JSON Schema that can be used in Curator. A JSON Schema consists of only one data type and its attributes. Converting the above data model to JSON Schema results in:
26
26
27
27
```json
28
28
{
@@ -50,15 +50,15 @@ Note: Individual columns are covered later on this page.
50
50
51
51
Defining data types:
52
52
53
-
- Put a unique data type name in the `Attribute` column
54
-
- List its attributes (minimum 1) in the `DependsOn` column (comma-separated)
53
+
- Put a unique data type name in the `Attribute` column.
54
+
- List at least one attribute in the `DependsOn` column (comma-separated).
55
55
- Optionally add a description to the `Description` column.
56
56
57
57
Defining attributes:
58
58
59
-
- Put a unique attribute name in the `Attribute` column
60
-
- Leave the `DependsOn` column empty
61
-
- All other columns are optional
59
+
- Put a unique attribute name in the `Attribute` column.
60
+
- Leave the `DependsOn` column empty.
61
+
- All other columns are optional.
62
62
63
63
### Attribute
64
64
@@ -133,7 +133,7 @@ JSON Schema output:
133
133
134
134
### columnType
135
135
136
-
The data type of this of this attribute. See [type](https://json-schema.org/understanding-json-schema/reference/type).
136
+
The data type of this attribute. See [type](https://json-schema.org/understanding-json-schema/reference/type).
137
137
138
138
Must be one of:
139
139
@@ -178,7 +178,7 @@ JSON Schema output:
178
178
179
179
### Format
180
180
181
-
The format of this attribute. See [format](https://json-schema.org/understanding-json-schema/reference/type#format) The type of this attribute must be "string" or "string_list". The value of this column will be appear as the `format` of this attribute in the JSON Schema. Must be one of:
181
+
The format of this attribute. See [format](https://json-schema.org/understanding-json-schema/reference/type#format) The type of this attribute must be "string" or "string_list". The value of this column will appear as the `format` of this attribute in the JSON Schema. Must be one of:
0 commit comments