Skip to content

Commit

Permalink
addresses #465 and disables out-of-scope classes
Browse files Browse the repository at this point in the history
  • Loading branch information
ahwagner committed Feb 10, 2024
1 parent 5ace850 commit cf58308
Show file tree
Hide file tree
Showing 22 changed files with 229 additions and 987 deletions.
8 changes: 4 additions & 4 deletions schema/defs/vrs/Adjacency.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ Some Adjacency attributes are inherited from :ref:`Variation`.
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - type
- string
- 0..1
- MUST be "Adjacency".
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - expressions
- :ref:`Expression`
- 0..m
Expand Down
8 changes: 4 additions & 4 deletions schema/defs/vrs/Allele.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ Some Allele attributes are inherited from :ref:`Variation`.
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - type
- string
- 0..1
- MUST be "Allele"
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - expressions
- :ref:`Expression`
- 0..m
Expand Down
8 changes: 4 additions & 4 deletions schema/defs/vrs/CopyNumber.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ Some CopyNumber attributes are inherited from :ref:`Variation`.
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - type
- string
- 0..1
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - expressions
- :ref:`Expression`
- 0..m
Expand Down
8 changes: 4 additions & 4 deletions schema/defs/vrs/CopyNumberChange.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ Some CopyNumberChange attributes are inherited from :ref:`CopyNumber`.
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - type
- string
- 0..1
- MUST be "CopyNumberChange"
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - expressions
- :ref:`Expression`
- 0..m
Expand Down
8 changes: 4 additions & 4 deletions schema/defs/vrs/CopyNumberCount.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ Some CopyNumberCount attributes are inherited from :ref:`CopyNumber`.
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - type
- string
- 0..1
- MUST be "CopyNumberCount"
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - expressions
- :ref:`Expression`
- 0..m
Expand Down
10 changes: 5 additions & 5 deletions schema/defs/vrs/Ga4ghIdentifiableObject.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A contextual value object for which a GA4GH computed identifier can be created.

**Information Model**

Some Ga4ghIdentifiableObject attributes are inherited from :ref:`ValueObject`.
Some Ga4ghIdentifiableObject attributes are inherited from :ref:`gks.core:Entity`.

.. list-table::
:class: clean-wrap
Expand Down Expand Up @@ -32,11 +32,11 @@ Some Ga4ghIdentifiableObject attributes are inherited from :ref:`ValueObject`.
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - type
- string
- 0..1
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
54 changes: 0 additions & 54 deletions schema/defs/vrs/Genotype.rst

This file was deleted.

46 changes: 0 additions & 46 deletions schema/defs/vrs/GenotypeMember.rst

This file was deleted.

8 changes: 4 additions & 4 deletions schema/defs/vrs/Haplotype.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ Some Haplotype attributes are inherited from :ref:`Variation`.
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - type
- string
- 0..1
- MUST be "Haplotype"
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - expressions
- :ref:`Expression`
- 0..m
Expand Down
4 changes: 0 additions & 4 deletions schema/defs/vrs/LengthExpression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ Some LengthExpression attributes are inherited from :ref:`SequenceExpression`.
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - type
- string
- 1..1
Expand Down
4 changes: 0 additions & 4 deletions schema/defs/vrs/LiteralSequenceExpression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ Some LiteralSequenceExpression attributes are inherited from :ref:`SequenceExpre
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - type
- string
- 1..1
Expand Down
4 changes: 0 additions & 4 deletions schema/defs/vrs/ReferenceLengthExpression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ Some ReferenceLengthExpression attributes are inherited from :ref:`SequenceExpre
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - type
- string
- 1..1
Expand Down
6 changes: 1 addition & 5 deletions schema/defs/vrs/SequenceExpression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ An expression describing a :ref:`Sequence`.

**Information Model**

Some SequenceExpression attributes are inherited from :ref:`ValueObject`.
Some SequenceExpression attributes are inherited from :ref:`gks.core:Entity`.

.. list-table::
:class: clean-wrap
Expand Down Expand Up @@ -32,10 +32,6 @@ Some SequenceExpression attributes are inherited from :ref:`ValueObject`.
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - type
- string
- 1..1
Expand Down
8 changes: 4 additions & 4 deletions schema/defs/vrs/SequenceLocation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ Some SequenceLocation attributes are inherited from :ref:`Ga4ghIdentifiableObjec
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - type
- string
- 0..1
- MUST be "SequenceLocation"
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - sequenceReference
- `IRI <gks.common.json#/$defs/IRI>`_ | :ref:`SequenceReference`
- 0..1
Expand Down
6 changes: 1 addition & 5 deletions schema/defs/vrs/SequenceReference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A sequence of nucleic or amino acid character codes.

**Information Model**

Some SequenceReference attributes are inherited from :ref:`ValueObject`.
Some SequenceReference attributes are inherited from :ref:`gks.core:Entity`.

.. list-table::
:class: clean-wrap
Expand Down Expand Up @@ -32,10 +32,6 @@ Some SequenceReference attributes are inherited from :ref:`ValueObject`.
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - type
- string
- 0..1
Expand Down
37 changes: 1 addition & 36 deletions schema/defs/vrs/ValueObject.rst
Original file line number Diff line number Diff line change
@@ -1,38 +1,3 @@
**Computational Definition**

A contextual value whose equality is based on value, not identity. All VRS Value Objects may have computed digests from the VRS Computed Identifier algorithm. See https://en.wikipedia.org/wiki/Value_object for more on Value Objects.

**Information Model**

Some ValueObject attributes are inherited from :ref:`gks.core:Entity`.

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

* - Field
- Type
- Limits
- Description
* - id
- string
- 0..1
- The 'logical' identifier of the entity in the system of record, e.g. a UUID. This 'id' is unique within a given system. The identified entity may have a different 'id' in a different system, or may refer to an 'id' for the shared concept in another system (e.g. a CURIE).
* - label
- string
- 0..1
- A primary label for the entity.
* - description
- string
- 0..1
- A free-text description of the entity.
* - extensions
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
A contextual value whose equality is based on value, not identity. See https://en.wikipedia.org/wiki/Value_object for more on Value Objects.
8 changes: 4 additions & 4 deletions schema/defs/vrs/Variation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ Some Variation attributes are inherited from :ref:`Ga4ghIdentifiableObject`.
- `Extension <gks.common.json#/$defs/Extension>`_
- 0..m
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - type
- string
- 0..1
-
* - digest
- string
- 0..1
- A sha512t24u digest created using the VRS Computed Identifier algorithm.
* - expressions
- :ref:`Expression`
- 0..m
Expand Down
Loading

0 comments on commit cf58308

Please sign in to comment.