File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -513,6 +513,29 @@ Example:
513
513
}
514
514
```
515
515
516
+ Each level can be described with a string as in the example above,
517
+ or with an object containing the fields [ ` Description ` ] ( ./glossary.md#description-metadata )
518
+ and [ ` TermURL ` ] ( ./glossary.md#termurl-metadata )
519
+ like in the example below.
520
+
521
+ ``` JSON
522
+ {
523
+ "sex" : {
524
+ "Description" : " sex of the participant as reported by the participant" ,
525
+ "Levels" : {
526
+ "M" : {
527
+ "Description" : " Male" ,
528
+ "TermURL" : " https://www.ncbi.nlm.nih.gov/mesh/68008297"
529
+ },
530
+ "F" : {
531
+ "Description" : " Female" ,
532
+ "TermURL" : " https://www.ncbi.nlm.nih.gov/mesh/68005260"
533
+ },
534
+ }
535
+ }
536
+ }
537
+ ```
538
+
516
539
### Key-value files (dictionaries)
517
540
518
541
JavaScript Object Notation (JSON) files MUST be used for storing key-value
Original file line number Diff line number Diff line change @@ -3371,9 +3371,10 @@ TermURL:
3371
3371
name : TermURL
3372
3372
display_name : TermURL
3373
3373
description : |
3374
- URL pointing to a formal definition of this type of data in an ontology
3375
- available on the web .
3374
+ URL pointing to a formal definition of this type of data in an ontology available on the web.
3375
+ For example: https://www.ncbi.nlm.nih.gov/mesh/68008297 for "male" .
3376
3376
type : string
3377
+ format : uri
3377
3378
TimeZero :
3378
3379
name : TimeZero
3379
3380
display_name : Time Zero
You can’t perform that action at this time.
0 commit comments