Skip to content

Commit a4d0823

Browse files
authored
Merge pull request #1024 from GenomicsStandardsConsortium/1022-the-season-slot-should-use-a-structured_pattern-just-like-all-of-the-other-term-labelterm-id-slots
enum range for `season`
2 parents c6d3419 + 8a5130e commit a4d0823

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

src/mixs/schema/mixs.yaml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ prefixes:
1616
shex: http://www.w3.org/ns/shex#
1717
schema: http://schema.org/
1818
SO: http://purl.obolibrary.org/obo/SO_ # Sequence Ontology
19+
NCIT: http://purl.obolibrary.org/obo/NCIT_
1920
default_prefix: MIXS
2021
default_range: string
2122
subsets:
@@ -25,6 +26,17 @@ subsets:
2526
nucleic acid sequence source:
2627
investigation:
2728
enums:
29+
SeasonEnum:
30+
permissible_values:
31+
'autumn [NCIT:C94733]':
32+
meaning: NCIT:C94733
33+
'spring [NCIT:C94731]':
34+
meaning: NCIT:C94731
35+
'summer [NCIT:C94732]':
36+
meaning: NCIT:C94732
37+
'winter [NCIT:C94730]':
38+
meaning: NCIT:C94730
39+
2840
InsdcMissingValueEnum:
2941
description: Permissible values recommended by INSDC for reporting missing metadata values.
3042
comments:
@@ -12032,23 +12044,16 @@ slots:
1203212044
slot_uri: MIXS:0000054
1203312045
season:
1203412046
annotations:
12035-
Expected_value: autumn [NCIT:C94733], spring [NCIT:C94731], summer [NCIT:C94732], winter
12036-
[NCIT:C94730]
1203712047
description: The season when sampling occurred. Any of the four periods into which
1203812048
the year is divided by the equinoxes and solstices. This field accepts terms
1203912049
listed under season (http://purl.obolibrary.org/obo/NCIT_C94729)
1204012050
title: season
12041-
comments:
12042-
- autumn [NCIT:C94733] does not match ^\\S+.*\\S+ \\[[a-zA-Z]{2,}:\\d+\\]$
12043-
- would require ^\\S+.*\\S+ \\[[a-zA-Z]{2,}:[a-zA-Z0-9]\\]$
1204412051
examples:
1204512052
- value: autumn [NCIT:C94733]
1204612053
keywords:
1204712054
- season
12048-
string_serialization: '{termLabel} [{termID}]'
1204912055
slot_uri: MIXS:0000829
12050-
range: string
12051-
pattern: ^\S+.*\S+ \[[a-zA-Z]{2,}:[a-zA-Z0-9]+\]$
12056+
range: SeasonEnum
1205212057
season_environment:
1205312058
description: Treatment involving an exposure to a particular season (e.g. Winter,
1205412059
summer, rabi, rainy etc.), treatment regimen including how many times the treatment

0 commit comments

Comments
 (0)