Skip to content

Commit

Permalink
SMU datatype merge to core-im
Browse files Browse the repository at this point in the history
  • Loading branch information
larrybabb committed Oct 10, 2024
1 parent 93bcd9d commit ddbed32
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 38 deletions.
1 change: 0 additions & 1 deletion schema/data-types

This file was deleted.

4 changes: 2 additions & 2 deletions schema/vrs/json/Adjacency
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/Extension"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/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."
Expand Down Expand Up @@ -72,7 +72,7 @@
"$ref": "/ga4gh/schema/vrs/2.x/json/SequenceLocation"
},
{
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/Allele
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/Extension"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/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."
Expand Down Expand Up @@ -68,7 +68,7 @@
"$ref": "/ga4gh/schema/vrs/2.x/json/SequenceLocation"
},
{
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
}
],
"description": "The location of the Allele"
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/CisPhasedBlock
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/Extension"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/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."
Expand Down Expand Up @@ -72,7 +72,7 @@
"$ref": "/ga4gh/schema/vrs/2.x/json/Allele"
},
{
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
}
]
},
Expand Down
8 changes: 4 additions & 4 deletions schema/vrs/json/CopyNumberChange
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/Extension"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/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."
Expand All @@ -62,7 +62,7 @@
"$ref": "/ga4gh/schema/vrs/2.x/json/SequenceLocation"
},
{
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
}
],
"description": "A location for which the number of systemic copies is described."
Expand All @@ -74,8 +74,8 @@
"description": "MUST be \"CopyNumberChange\""
},
"copyChange": {
"description": "MUST be a Coding representing one of \"EFO:0030069\" (complete genomic loss), \"EFO:0020073\" (high-level loss), \"EFO:0030068\" (low-level loss), \"EFO:0030067\" (loss), \"EFO:0030064\" (regional base ploidy), \"EFO:0030070\" (gain), \"EFO:0030071\" (low-level gain), \"EFO:0030072\" (high-level gain).",
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/Coding"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/json/Coding",
"description": "MUST be a Coding representing one of \"EFO:0030069\" (complete genomic loss), \"EFO:0020073\" (high-level loss), \"EFO:0030068\" (low-level loss), \"EFO:0030067\" (loss), \"EFO:0030064\" (regional base ploidy), \"EFO:0030070\" (gain), \"EFO:0030071\" (low-level gain), \"EFO:0030072\" (high-level gain)."
}
},
"required": [
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/CopyNumberCount
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/Extension"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/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."
Expand All @@ -62,7 +62,7 @@
"$ref": "/ga4gh/schema/vrs/2.x/json/SequenceLocation"
},
{
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
}
],
"description": "A location for which the number of systemic copies is described."
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/DerivativeMolecule
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/Extension"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/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."
Expand Down Expand Up @@ -71,7 +71,7 @@
"$ref": "/ga4gh/schema/vrs/2.x/json/TraversalBlock"
},
{
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/json/LengthExpression
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/Extension"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/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."
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/json/LiteralSequenceExpression
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/Extension"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/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."
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/json/ReferenceLengthExpression
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/Extension"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/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."
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/SequenceLocation
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/Extension"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/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."
Expand All @@ -62,7 +62,7 @@
"$ref": "/ga4gh/schema/vrs/2.x/json/SequenceReference"
},
{
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
}
],
"description": "A reference to a Sequence on which the location is defined."
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/json/SequenceReference
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/Extension"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/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."
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs/json/Terminus
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/Extension"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/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."
Expand Down Expand Up @@ -67,7 +67,7 @@
"$ref": "/ga4gh/schema/vrs/2.x/json/SequenceLocation"
},
{
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
}
],
"description": "The location of the terminus."
Expand Down
2 changes: 1 addition & 1 deletion schema/vrs/json/TraversalBlock
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"type": "array",
"ordered": false,
"items": {
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/Extension"
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/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."
Expand Down
21 changes: 8 additions & 13 deletions schema/vrs/vrs-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ strict: true

imports:
gks.core-im: ../core-im/core-im-source.yaml
gks.data-types: ../data-types/data-types-source.yaml

namespaces:
gks.core-im: ../core-im/core-im-source.json#/$defs/
gks.data-types: ../data-types/data-types-source.json#/$defs/

$defs:
# VRS definitions are presented top-down. Everything rolls up to
Expand Down Expand Up @@ -143,7 +138,7 @@ $defs:
MUST be "Allele"
location:
oneOf:
- $ref: "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
- $ref: "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
- $ref: "#/$defs/Location"
description: >-
The location of the Allele
Expand Down Expand Up @@ -178,7 +173,7 @@ $defs:
items:
oneOf:
- $ref: "#/$defs/Allele"
- $ref: "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
- $ref: "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
description: >-
A list of :ref:`Alleles <Allele>` that are found in-cis on a shared molecule.
sequenceReference:
Expand All @@ -203,7 +198,7 @@ $defs:
heritableProperties:
location:
oneOf:
- $ref: "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
- $ref: "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
- $ref: "#/$defs/Location"
description: >-
A location for which the number of systemic copies is described.
Expand Down Expand Up @@ -254,7 +249,7 @@ $defs:
description: >-
MUST be "CopyNumberChange"
copyChange:
$refCurie: gks.data-types:Coding
$ref: "/ga4gh/schema/gks-common/1.x/core-im/json/Coding"
description: >-
MUST be a :ref:`Coding` representing one of "EFO:0030069" (complete genomic loss), "EFO:0020073" (high-level loss),
"EFO:0030068" (low-level loss), "EFO:0030067" (loss), "EFO:0030064" (regional base ploidy),
Expand Down Expand Up @@ -292,7 +287,7 @@ $defs:
description: MUST be "SequenceLocation"
sequenceReference:
oneOf:
- $ref: "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
- $ref: "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
- $ref: "#/$defs/SequenceReference"
description: A reference to a :ref:`Sequence` on which the location is defined.
start:
Expand Down Expand Up @@ -519,7 +514,7 @@ $defs:
ordered: true
items:
oneOf:
- $ref: "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
- $ref: "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
- $ref: "#/$defs/Location"
description: The terminal sequence or pair of adjoined sequences that defines in the adjacency.
minItems: 2
Expand Down Expand Up @@ -556,7 +551,7 @@ $defs:
description: MUST be "Terminus".
location:
oneOf:
- $ref: "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
- $ref: "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
- $ref: "#/$defs/Location"
description: The location of the terminus.
required:
Expand Down Expand Up @@ -585,7 +580,7 @@ $defs:
ordered: true
items:
oneOf:
- $ref: "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
- $ref: "/ga4gh/schema/gks-common/1.x/core-im/json/IRI"
- $ref: "#/$defs/TraversalBlock"
description: >-
The molecular components that constitute the derivative molecule.
Expand Down
2 changes: 1 addition & 1 deletion submodules/gks-common

0 comments on commit ddbed32

Please sign in to comment.