Skip to content

Commit 42398be

Browse files
authored
convert 2.0.0-snapshot.2025-02 branch to 2.0 release ready branch (#638)
* convert 2.0.0-snapshot.2025-02 branch to 2.0 release ready branch * update sm + fix schema ids to 2.0.0
1 parent 2a77d5f commit 42398be

26 files changed

+103
-103
lines changed

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[submodule "submodules/gks-core"]
22
path = submodules/gks-core
33
url = https://github.com/ga4gh/gks-core.git
4-
branch = 1.0.0-snapshot.2025-02
4+
branch = 1.0

.requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jsonschema
33
referencing
44
ipython
55
pyyaml
6-
ga4gh.gks.metaschema==0.3.1
6+
ga4gh.gks.metaschema==0.3.2
77
sphinx ~= 7.2
88
sphinx-rtd-theme ~= 1.2
99
jupyterlab

schema/vrs/json/Adjacency

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/Adjacency",
3+
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0/json/Adjacency",
44
"title": "Adjacency",
55
"type": "object",
66
"maturity": "trial use",
@@ -39,7 +39,7 @@
3939
"type": "array",
4040
"ordered": false,
4141
"items": {
42-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/Extension"
42+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/Extension"
4343
},
4444
"description": "A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model.",
4545
"$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."
@@ -53,7 +53,7 @@
5353
"type": "array",
5454
"ordered": false,
5555
"items": {
56-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/Expression"
56+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/Expression"
5757
}
5858
},
5959
"type": {
@@ -69,10 +69,10 @@
6969
"items": {
7070
"oneOf": [
7171
{
72-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/SequenceLocation"
72+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/SequenceLocation"
7373
},
7474
{
75-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/iriReference"
75+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/iriReference"
7676
}
7777
],
7878
"not": {
@@ -90,13 +90,13 @@
9090
"description": "The sequence found between adjoined sequences.",
9191
"oneOf": [
9292
{
93-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/LengthExpression"
93+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/LengthExpression"
9494
},
9595
{
96-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/LiteralSequenceExpression"
96+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/LiteralSequenceExpression"
9797
},
9898
{
99-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/ReferenceLengthExpression"
99+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/ReferenceLengthExpression"
100100
}
101101
]
102102
},

schema/vrs/json/Allele

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/Allele",
3+
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0/json/Allele",
44
"title": "Allele",
55
"type": "object",
66
"maturity": "trial use",
@@ -39,7 +39,7 @@
3939
"type": "array",
4040
"ordered": false,
4141
"items": {
42-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/Extension"
42+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/Extension"
4343
},
4444
"description": "A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model.",
4545
"$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."
@@ -53,7 +53,7 @@
5353
"type": "array",
5454
"ordered": false,
5555
"items": {
56-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/Expression"
56+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/Expression"
5757
}
5858
},
5959
"type": {
@@ -65,10 +65,10 @@
6565
"location": {
6666
"oneOf": [
6767
{
68-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/SequenceLocation"
68+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/SequenceLocation"
6969
},
7070
{
71-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/iriReference"
71+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/iriReference"
7272
}
7373
],
7474
"description": "The location of the Allele"
@@ -77,13 +77,13 @@
7777
"description": "An expression of the sequence state",
7878
"oneOf": [
7979
{
80-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/LengthExpression"
80+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/LengthExpression"
8181
},
8282
{
83-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/LiteralSequenceExpression"
83+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/LiteralSequenceExpression"
8484
},
8585
{
86-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/ReferenceLengthExpression"
86+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/ReferenceLengthExpression"
8787
}
8888
]
8989
}

schema/vrs/json/CisPhasedBlock

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/CisPhasedBlock",
3+
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0/json/CisPhasedBlock",
44
"title": "CisPhasedBlock",
55
"type": "object",
66
"maturity": "trial use",
@@ -38,7 +38,7 @@
3838
"type": "array",
3939
"ordered": false,
4040
"items": {
41-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/Extension"
41+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/Extension"
4242
},
4343
"description": "A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model.",
4444
"$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."
@@ -52,7 +52,7 @@
5252
"type": "array",
5353
"ordered": false,
5454
"items": {
55-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/Expression"
55+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/Expression"
5656
}
5757
},
5858
"type": {
@@ -69,17 +69,17 @@
6969
"items": {
7070
"oneOf": [
7171
{
72-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/Allele"
72+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/Allele"
7373
},
7474
{
75-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/iriReference"
75+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/iriReference"
7676
}
7777
]
7878
},
7979
"description": "A list of Alleles that are found in-cis on a shared molecule."
8080
},
8181
"sequenceReference": {
82-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/SequenceReference",
82+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/SequenceReference",
8383
"description": "An optional Sequence Reference on which all of the in-cis Alleles are found. When defined, this may be used to implicitly define the `sequenceReference` attribute for each of the CisPhasedBlock member Alleles."
8484
}
8585
},

schema/vrs/json/CopyNumberChange

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/CopyNumberChange",
3+
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0/json/CopyNumberChange",
44
"title": "CopyNumberChange",
55
"type": "object",
66
"maturity": "draft",
@@ -39,7 +39,7 @@
3939
"type": "array",
4040
"ordered": false,
4141
"items": {
42-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/Extension"
42+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/Extension"
4343
},
4444
"description": "A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model.",
4545
"$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."
@@ -53,7 +53,7 @@
5353
"type": "array",
5454
"ordered": false,
5555
"items": {
56-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/Expression"
56+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/Expression"
5757
}
5858
},
5959
"type": {
@@ -65,17 +65,17 @@
6565
"location": {
6666
"oneOf": [
6767
{
68-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/SequenceLocation"
68+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/SequenceLocation"
6969
},
7070
{
71-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/iriReference"
71+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/iriReference"
7272
}
7373
],
7474
"description": "The location of the subject of the copy change."
7575
},
7676
"copyChange": {
7777
"description": "MUST use a `primaryCode` 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).",
78-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/MappableConcept"
78+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/MappableConcept"
7979
}
8080
},
8181
"required": [

schema/vrs/json/CopyNumberCount

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/CopyNumberCount",
3+
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0/json/CopyNumberCount",
44
"title": "CopyNumberCount",
55
"type": "object",
66
"maturity": "trial use",
@@ -39,7 +39,7 @@
3939
"type": "array",
4040
"ordered": false,
4141
"items": {
42-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/Extension"
42+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/Extension"
4343
},
4444
"description": "A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model.",
4545
"$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."
@@ -53,7 +53,7 @@
5353
"type": "array",
5454
"ordered": false,
5555
"items": {
56-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/Expression"
56+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/Expression"
5757
}
5858
},
5959
"type": {
@@ -65,18 +65,18 @@
6565
"location": {
6666
"oneOf": [
6767
{
68-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/SequenceLocation"
68+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/SequenceLocation"
6969
},
7070
{
71-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/iriReference"
71+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/iriReference"
7272
}
7373
],
7474
"description": "The location of the subject of the copy count."
7575
},
7676
"copies": {
7777
"oneOf": [
7878
{
79-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/Range"
79+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/Range"
8080
},
8181
{
8282
"type": "integer"

schema/vrs/json/DerivativeMolecule

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/DerivativeMolecule",
3+
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0/json/DerivativeMolecule",
44
"title": "DerivativeMolecule",
55
"type": "object",
66
"maturity": "draft",
@@ -38,7 +38,7 @@
3838
"type": "array",
3939
"ordered": false,
4040
"items": {
41-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/Extension"
41+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/Extension"
4242
},
4343
"description": "A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model.",
4444
"$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."
@@ -52,7 +52,7 @@
5252
"type": "array",
5353
"ordered": false,
5454
"items": {
55-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/Expression"
55+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/Expression"
5656
}
5757
},
5858
"type": {
@@ -68,19 +68,19 @@
6868
"items": {
6969
"oneOf": [
7070
{
71-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/Allele"
71+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/Allele"
7272
},
7373
{
74-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/CisPhasedBlock"
74+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/CisPhasedBlock"
7575
},
7676
{
77-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/Terminus"
77+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/Terminus"
7878
},
7979
{
80-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/TraversalBlock"
80+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/TraversalBlock"
8181
},
8282
{
83-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/iriReference"
83+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/iriReference"
8484
}
8585
]
8686
},

schema/vrs/json/Expression

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/Expression",
3+
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0/json/Expression",
44
"title": "Expression",
55
"type": "object",
66
"maturity": "trial use",
@@ -14,7 +14,7 @@
1414
"type": "array",
1515
"ordered": false,
1616
"items": {
17-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/Extension"
17+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/Extension"
1818
},
1919
"description": "A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model.",
2020
"$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."

schema/vrs/json/LengthExpression

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/LengthExpression",
3+
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0/json/LengthExpression",
44
"title": "LengthExpression",
55
"type": "object",
66
"maturity": "draft",
@@ -37,7 +37,7 @@
3737
"type": "array",
3838
"ordered": false,
3939
"items": {
40-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/Extension"
40+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/Extension"
4141
},
4242
"description": "A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model.",
4343
"$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."
@@ -53,7 +53,7 @@
5353
"description": "The length of the sequence.",
5454
"oneOf": [
5555
{
56-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/Range"
56+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/Range"
5757
},
5858
{
5959
"type": "integer"

schema/vrs/json/LiteralSequenceExpression

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/LiteralSequenceExpression",
3+
"$id": "https://w3id.org/ga4gh/schema/vrs/2.0.0/json/LiteralSequenceExpression",
44
"title": "LiteralSequenceExpression",
55
"type": "object",
66
"maturity": "trial use",
@@ -37,7 +37,7 @@
3737
"type": "array",
3838
"ordered": false,
3939
"items": {
40-
"$ref": "/ga4gh/schema/gks-core/1.0.0-snapshot.2025-02.4/json/Extension"
40+
"$ref": "/ga4gh/schema/gks-core/1.0.0/json/Extension"
4141
},
4242
"description": "A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model.",
4343
"$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."
@@ -50,7 +50,7 @@
5050
"default": "LiteralSequenceExpression"
5151
},
5252
"sequence": {
53-
"$ref": "/ga4gh/schema/vrs/2.0.0-snapshot.2025-02.4/json/sequenceString",
53+
"$ref": "/ga4gh/schema/vrs/2.0.0/json/sequenceString",
5454
"description": "the literal sequence"
5555
}
5656
},

0 commit comments

Comments
 (0)