Skip to content

Commit

Permalink
bring all classes up to maturity
Browse files Browse the repository at this point in the history
  • Loading branch information
larrybabb committed Feb 11, 2025
1 parent a4b4f81 commit 64f77cd
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 24 deletions.
4 changes: 2 additions & 2 deletions schema/gks-core/def/Code.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. warning:: This data class is at a **draft** maturity level and may \
change significantly in future releases. Maturity \
.. note:: This data class is at a **trial use** maturity level and may \
change in future releases. Maturity \
levels are described in the :ref:`maturity-model`.

**Computational Definition**
Expand Down
4 changes: 2 additions & 2 deletions schema/gks-core/def/Coding.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. warning:: This data class is at a **draft** maturity level and may \
change significantly in future releases. Maturity \
.. note:: This data class is at a **trial use** maturity level and may \
change in future releases. Maturity \
levels are described in the :ref:`maturity-model`.

**Computational Definition**
Expand Down
4 changes: 2 additions & 2 deletions schema/gks-core/def/ConceptMapping.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. warning:: This data class is at a **draft** maturity level and may \
change significantly in future releases. Maturity \
.. note:: This data class is at a **trial use** maturity level and may \
change in future releases. Maturity \
levels are described in the :ref:`maturity-model`.

**Computational Definition**
Expand Down
19 changes: 17 additions & 2 deletions schema/gks-core/def/MappableConcept.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
.. warning:: This data class is at a **draft** maturity level and may \
change significantly in future releases. Maturity \
.. note:: This data class is at a **trial use** maturity level and may \
change in future releases. Maturity \
levels are described in the :ref:`maturity-model`.

**Computational Definition**

A concept name that may be mapped to one or more :ref:`Codings <Coding>`.

**GA4GH Digest**

.. list-table::
:class: clean-wrap
:header-rows: 1
:align: left
:widths: auto

* - Prefix
- Inherent

* - None
- ['primaryCode']


**Information Model**

Some MappableConcept attributes are inherited from :ref:`Element`.
Expand Down
4 changes: 2 additions & 2 deletions schema/gks-core/def/date.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. warning:: This data class is at a **draft** maturity level and may \
change significantly in future releases. Maturity \
.. note:: This data class is at a **trial use** maturity level and may \
change in future releases. Maturity \
levels are described in the :ref:`maturity-model`.

**Computational Definition**
Expand Down
4 changes: 2 additions & 2 deletions schema/gks-core/def/datetime.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. warning:: This data class is at a **draft** maturity level and may \
change significantly in future releases. Maturity \
.. note:: This data class is at a **trial use** maturity level and may \
change in future releases. Maturity \
levels are described in the :ref:`maturity-model`.

**Computational Definition**
Expand Down
12 changes: 6 additions & 6 deletions schema/gks-core/gks-core-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ $defs:
MappableConcept:
inherits: Element
type: object
maturity: draft
maturity: trial use
ga4gh:
inherent:
- primaryCode
Expand Down Expand Up @@ -159,7 +159,7 @@ $defs:
ConceptMapping:
type: object
inherits: Element
maturity: draft
maturity: trial use
description: >-
A mapping to a concept in a terminology or code system.
properties:
Expand All @@ -184,7 +184,7 @@ $defs:
Coding:
inherits: Element
type: object
maturity: draft
maturity: trial use
description: >-
A structured representation of a code for a defined concept in a terminology or code system.
properties:
Expand Down Expand Up @@ -215,7 +215,7 @@ $defs:
# primitive data types section for convenience and consistency -- code, iriReference, date, datetime
code:
type: string
maturity: draft
maturity: trial use
description: >-
Indicates that the value is taken from a set of controlled strings defined elsewhere.
Technically, a code is restricted to a string which has at least one character and no leading or
Expand All @@ -235,14 +235,14 @@ $defs:

date:
type: string
maturity: draft
maturity: trial use
description: >-
A string is valid against this format if it represents a date in the following format: YYYY-MM-DD.
format: date

datetime:
type: string
maturity: draft
maturity: trial use
description: >-
A string is valid against this format if it represents a date-time in the following format:
YYYY:MM::DDThh:mm:ss.sTZD.
Expand Down
2 changes: 1 addition & 1 deletion schema/gks-core/json/Code
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"$id": "https://w3id.org/ga4gh/schema/gks-core/1.x/json/code",
"title": "code",
"type": "string",
"maturity": "draft",
"maturity": "trial use",
"description": "Indicates that the value is taken from a set of controlled strings defined elsewhere. Technically, a code is restricted to a string which has at least one character and no leading or trailing whitespace, and where there is no whitespace other than single spaces in the contents.",
"pattern": "\\S+( \\S+)*",
"example": "ENSG00000139618"
Expand Down
2 changes: 1 addition & 1 deletion schema/gks-core/json/Coding
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"$id": "https://w3id.org/ga4gh/schema/gks-core/1.x/json/Coding",
"title": "Coding",
"type": "object",
"maturity": "draft",
"maturity": "trial use",
"description": "A structured representation of a code for a defined concept in a terminology or code system.",
"properties": {
"id": {
Expand Down
2 changes: 1 addition & 1 deletion schema/gks-core/json/ConceptMapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"$id": "https://w3id.org/ga4gh/schema/gks-core/1.x/json/ConceptMapping",
"title": "ConceptMapping",
"type": "object",
"maturity": "draft",
"maturity": "trial use",
"description": "A mapping to a concept in a terminology or code system.",
"properties": {
"id": {
Expand Down
2 changes: 1 addition & 1 deletion schema/gks-core/json/MappableConcept
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"$id": "https://w3id.org/ga4gh/schema/gks-core/1.x/json/MappableConcept",
"title": "MappableConcept",
"type": "object",
"maturity": "draft",
"maturity": "trial use",
"ga4gh": {
"inherent": [
"primaryCode"
Expand Down
2 changes: 1 addition & 1 deletion schema/gks-core/json/date
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"$id": "https://w3id.org/ga4gh/schema/gks-core/1.x/json/date",
"title": "date",
"type": "string",
"maturity": "draft",
"maturity": "trial use",
"description": "A string is valid against this format if it represents a date in the following format: YYYY-MM-DD.",
"format": "date"
}
2 changes: 1 addition & 1 deletion schema/gks-core/json/datetime
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"$id": "https://w3id.org/ga4gh/schema/gks-core/1.x/json/datetime",
"title": "datetime",
"type": "string",
"maturity": "draft",
"maturity": "trial use",
"description": "A string is valid against this format if it represents a date-time in the following format: YYYY:MM::DDThh:mm:ss.sTZD.",
"format": "date-time"
}

0 comments on commit 64f77cd

Please sign in to comment.