Skip to content

Commit

Permalink
added Element PR from gks-core to add Extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
larrybabb committed Oct 31, 2024
1 parent 7c28ba3 commit 0587e0c
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/source/concepts/AdditionalDataTypes/Code.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Code
!!!!

.. include:: ../../def/gks.common/core-im/Code.rst
.. include:: ../../def/gks-core/Code.rst
2 changes: 1 addition & 1 deletion docs/source/concepts/AdditionalDataTypes/Coding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Coding
!!!!!!

.. include:: ../../def/gks.common/core-im/Coding.rst
.. include:: ../../def/gks-core/Coding.rst
2 changes: 1 addition & 1 deletion docs/source/concepts/AdditionalDataTypes/Entity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Entity
!!!!!!

.. include:: ../../def/gks.common/core-im/Entity.rst
.. include:: ../../def/gks-core/Entity.rst
2 changes: 1 addition & 1 deletion docs/source/concepts/AdditionalDataTypes/Extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Extension
!!!!!!!!!

.. include:: ../../def/gks.common/core-im/Extension.rst
.. include:: ../../def/gks-core/Extension.rst
2 changes: 1 addition & 1 deletion docs/source/concepts/AdditionalDataTypes/IRI.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
IRI
!!!

.. include:: ../../def/gks.common/core-im/IRI.rst
.. include:: ../../def/gks-core/IRI.rst
1 change: 1 addition & 0 deletions docs/source/def/gks-core
1 change: 0 additions & 1 deletion docs/source/def/gks.common/core-im

This file was deleted.

1 change: 0 additions & 1 deletion docs/source/def/gks.common/data-types

This file was deleted.

4 changes: 4 additions & 0 deletions schema/vrs/def/Expression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ Some Expression attributes are inherited from :ref:`gks-core:Element`.
- string
- 0..1
- The 'logical' identifier of the data element in the system of record, e.g. a UUID. This 'id' is unique within a given system, but may or may not be globally unique outside the system. It is used within a system to reference an object from another.
* - extensions
- :ref:`Extension`
- 0..m
- A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model.
* - syntax
- string
- 1..1
Expand Down
9 changes: 9 additions & 0 deletions schema/vrs/json/Expression
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@
"type": "string",
"description": "The 'logical' identifier of the data element in the system of record, e.g. a UUID. This 'id' is unique within a given system, but may or may not be globally unique outside the system. It is used within a system to reference an object from another."
},
"extensions": {
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-core/1.x/json/Extension"
},
"description": "A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model.",
"$comment": "Extension objects have a key-value data structure that allows definition of custom fields in the data itself. Extensions are not expected to be natively understood, but may be used for pre-negotiated exchange of message attributes between systems."
},
"syntax": {
"type": "string",
"enum": [
Expand Down
1 change: 0 additions & 1 deletion schema/vrs/vrs-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,6 @@ $defs:
# Numerics, Comparators, and Ranges

Range:
inherits: gks-core:Element
maturity: trial use
description: An inclusive range of values bounded by one or more integers.
type: array
Expand Down

0 comments on commit 0587e0c

Please sign in to comment.