Skip to content

Commit c9df620

Browse files
committed
Pending work from bdc include working group
1 parent 577512d commit c9df620

File tree

1 file changed

+43
-20
lines changed

1 file changed

+43
-20
lines changed

src/cmdr/schema/cmdr.yaml

Lines changed: 43 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,45 @@ imports:
2121
- linkml:types
2222

2323
classes:
24+
# These classes have been examined by the new CMDR working group
25+
Entity:
26+
abstract: true
27+
description: The Entity class is the abstract parent class for all classes in the CMDR schema
28+
attributes:
29+
internal_id:
30+
identifier: true
31+
range: uriorcurie
32+
description: A 'logical' identifier within the system of record.
33+
name: id
34+
global_id:
35+
identifier: true
36+
range: uriorcurie
37+
description: The unique identifier for an entity
38+
name: global_id
39+
name:
40+
range: string
41+
description: The name of the entity
42+
name: name
43+
description:
44+
range: string
45+
description: A description of the entity
46+
name: description
47+
Study:
48+
parent: Entity
49+
aliases:
50+
- ResearchStudy
51+
- Investigation
52+
- Proposal
53+
description: General information about a Study
54+
see_also:
55+
- include:Study
56+
slot_usage:
57+
part_of:
58+
range: Study
59+
url:
60+
range: string
61+
62+
# These classes have not yet been examined by the new CMDR working group
2463
Container:
2564
from_schema: TEMP
2665
slot_usage:
@@ -71,24 +110,6 @@ classes:
71110
from_schema: TEMP
72111
see_also:
73112
- include:DataFile
74-
Investigation:
75-
aliases:
76-
- Study
77-
- Proposal
78-
description: General information about the Investigation
79-
from_schema: TEMP
80-
see_also:
81-
- include:Study
82-
slot_usage:
83-
id:
84-
identifier: true
85-
range: uriorcurie
86-
part_of:
87-
range: Investigation
88-
slots:
89-
- id
90-
- name
91-
- part_of
92113
MaterialEntity:
93114
aliases:
94115
- Substance
@@ -222,6 +243,8 @@ classes:
222243
slots:
223244
- id
224245
- name
246+
247+
# Were investigating moving most of these slots out of the top-level class and into classes (and parent classes) as needed.
225248
slots:
226249
comparator:
227250
from_schema: TEMP
@@ -237,8 +260,6 @@ slots:
237260
from_schema: TEMP
238261
has_unit:
239262
from_schema: TEMP
240-
id:
241-
from_schema: TEMP
242263
includes:
243264
from_schema: TEMP
244265
investigations:
@@ -271,3 +292,5 @@ subsets:
271292
temporal_data:
272293
from_schema: TEMP
273294

295+
296+
# Slots we expect should be defined at top level: in a parent class called Entity.

0 commit comments

Comments
 (0)