https://raw.githubusercontent.com/EbiEga/ega-metadata-schema/main/schemas/EGA.protocol.json#/properties/protocolTypeDescriptor/properties/protocolSubtype/allOf/0
This property represents an ontology term (a.k.a. class). It consists on two properties: the term identifier (termId) and its label (termLabel). This property and its structure is inherited across many other elements in the schemas. It is there, when inherited, where the real ontology constraint is put in place (e.g. using 'graphRestriction' keywords). Based on phenopacket's OntologyClass
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | EGA.protocol.json* |
object
(Ontology term)
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
termId | Merged | Required | cannot be null | EGA common metadata definitions |
termLabel | string |
Required | cannot be null | EGA common metadata definitions |
The identifier of an ontology term must be in CURIE format (check property 'curieGeneralPattern'). Whether a specific term is valid or not according to an ontology hierarchy is checked at each specific termId using ontology validation keywords (e.g. 'graphRestriction').
termId
-
is required
-
Type:
string
(ID of the term) -
cannot be null
-
defined in: EGA common metadata definitions
string
(ID of the term)
all of
minimum length: the minimum number of characters for this string is: 1
"MONDO:0100096"
"EFO:0003101"
"EFO:0005518"
"EFO:0002944"
"EFO:0003813"
The label of a term is the human-readable string associated with the identifier. It is not required that it matches the label of the termId within the referenced ontology, although it should. This is due to the fact that the source of truth will always be the termId, and not the label, which adds more context.
termLabel
-
is required
-
Type:
string
(Label of the term) -
cannot be null
-
defined in: EGA common metadata definitions
string
(Label of the term)
minimum length: the minimum number of characters for this string is: 1
"COVID-19"
"Axila skin"
"bone marrow cell"
"astrocyte"
"oligodendrocyte"
"Unknown"
"Unaffected"
"homo sapiens"