Skip to content

Commit

Permalink
add link to glossary
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Sep 6, 2023
1 parent b2f8ad4 commit 2e987ec
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
35 changes: 35 additions & 0 deletions q
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

src/common-principles.md

──────────────┐
514: Example: │
──────────────┘
│ 514│``` │ 514│```
│ 515│ │ 515│
│ 516│Each level can be described with a string as in the exampl↴│ 516│Each level can be described with a string as in the exampl↴
│ │ …e above,│ │ …e above,
│ 517│or with an object containing the fields `Description` and ↴│ 517│or with an object containing the fields [`Description`](..↵
│ │ …`TermURL`│ │/glossary.md#description-metadata)
│ │ │ 518│and [`TermURL`](../glossary.md#termurl-metadata)
│ 518│like in the example below. │ 519│like in the example below.
│ 519│ │ 520│
│ 520│```JSON │ 521│```JSON

src/schema/objects/metadata.yaml

───────────────┐
3371: TermURL: │
───────────────┘
│3371│ name: TermURL │3371│ name: TermURL
│3372│ display_name: TermURL │3372│ display_name: TermURL
│3373│ description: | │3373│ description: |
│3374│ URL pointing to a formal definition of this type of da↴│3374│ URL pointing to a formal definition of this type of da↵
│ │ …ta in an ontology│ │ta in an ontology available on the web.
│3375│ available on the web. │ │
│ │ │3375│ For example: https://www.ncbi.nlm.nih.gov/mesh/6800829↴
│ │ │ │ …7 for "male".
│3376│ type: string │3376│ type: string
│ │ │3377│ format: uri
│3377│TimeZero: │3378│TimeZero:
│3378│ name: TimeZero │3379│ name: TimeZero
│3379│ display_name: Time Zero │3380│ display_name: Time Zero
3 changes: 2 additions & 1 deletion src/common-principles.md
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,8 @@ Example:
```

Each level can be described with a string as in the example above,
or with an object containing the fields `Description` and `TermURL`
or with an object containing the fields [`Description`](../glossary.md#description-metadata)
and [`TermURL`](../glossary.md#termurl-metadata)
like in the example below.

```JSON
Expand Down
5 changes: 3 additions & 2 deletions src/schema/objects/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3371,9 +3371,10 @@ TermURL:
name: TermURL
display_name: TermURL
description: |
URL pointing to a formal definition of this type of data in an ontology
available on the web.
URL pointing to a formal definition of this type of data in an ontology available on the web.
For example: https://www.ncbi.nlm.nih.gov/mesh/68008297 for "male".
type: string
format: uri
TimeZero:
name: TimeZero
display_name: Time Zero
Expand Down

0 comments on commit 2e987ec

Please sign in to comment.