Skip to content

Commit

Permalink
fixed schema id refs & SM update
Browse files Browse the repository at this point in the history
  • Loading branch information
larrybabb committed Sep 18, 2024
1 parent 313e602 commit 5a97fd4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
14 changes: 7 additions & 7 deletions schema/cat-vrs/core/cat-vrs-core-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ $defs:
this categorical variant.
items:
oneOf:
- $ref: /ga4gh/schema/vrs/2.x/json/Variation
- $ref: /ga4gh/schema/gks-common/1.x/data-types/json/IRI
- $ref: /ga4gh/schema/vrs/2.0.0-connect.2024-09.1/json/Variation
- $ref: /ga4gh/schema/gks-common/1.0.0-connect.2024-09.1/data-types/json/IRI
constraints:
type: array
ordered: false
Expand Down Expand Up @@ -77,9 +77,9 @@ $defs:
description: 'MUST be "DefiningContextConstraint"'
definingContext:
oneOf:
- $ref: /ga4gh/schema/vrs/2.x/json/Variation
- $ref: /ga4gh/schema/vrs/2.x/json/Location
- $ref: /ga4gh/schema/gks-common/1.x/data-types/json/IRI
- $ref: /ga4gh/schema/vrs/2.0.0-connect.2024-09.1/json/Variation
- $ref: /ga4gh/schema/vrs/2.0.0-connect.2024-09.1/json/Location
- $ref: /ga4gh/schema/gks-common/1.0.0-connect.2024-09.1/data-types/json/IRI
relations:
type: array
ordered: false
Expand Down Expand Up @@ -112,7 +112,7 @@ $defs:
copies:
oneOf:
- type: integer
- $ref: /ga4gh/schema/vrs/2.x/json/Range
- $ref: /ga4gh/schema/vrs/2.0.0-connect.2024-09.1/json/Range
required:
- copies

Expand All @@ -129,7 +129,7 @@ $defs:
default: CopyChangeConstraint
description: 'MUST be "CopyChangeConstraint"'
copyChange:
$ref: /ga4gh/schema/gks-common/1.x/data-types/json/Coding
$ref: /ga4gh/schema/gks-common/1.0.0-connect.2024-09.1/data-types/json/Coding
items:
properties:
code:
Expand Down
16 changes: 8 additions & 8 deletions schema/cat-vrs/profiles/cat-vrs-profiles-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $defs:
constraints:
contains:
allOf:
- $ref: "/ga4gh/schema/cat-vrs/1.x/core/json/DefiningContextConstraint"
- $ref: "/ga4gh/schema/cat-vrs/1.0.0-connect.2024-09.1/core/json/DefiningContextConstraint"
- type: object
properties:
relations:
Expand All @@ -35,7 +35,7 @@ $defs:
that is representative of a collection of congruent Protein Alleles that share the same altered codon(s).
allOf:
- $ref: "#/$defs/ProteinSequenceConsequenceProperties"
- $ref: "/ga4gh/schema/cat-vrs/1.x/core/json/CategoricalVariant"
- $ref: "/ga4gh/schema/cat-vrs/1.0.0-connect.2024-09.1/core/json/CategoricalVariant"

CanonicalAlleleProperties:
type: object
Expand All @@ -46,7 +46,7 @@ $defs:
constraints:
contains:
allOf:
- $ref: "/ga4gh/schema/cat-vrs/1.x/core/json/DefiningContextConstraint"
- $ref: "/ga4gh/schema/cat-vrs/1.0.0-connect.2024-09.1/core/json/DefiningContextConstraint"
- type: object
properties:
relations:
Expand All @@ -65,7 +65,7 @@ $defs:
across different genome assemblies and associated cDNA transcript representations.
allOf:
- $ref: "#/$defs/CanonicalAlleleProperties"
- $ref: "/ga4gh/schema/cat-vrs/1.x/core/json/CategoricalVariant"
- $ref: "/ga4gh/schema/cat-vrs/1.0.0-connect.2024-09.1/core/json/CategoricalVariant"

CategoricalCnvProperties:
type: object
Expand All @@ -77,21 +77,21 @@ $defs:
allOf:
- contains:
allOf:
- $ref: "/ga4gh/schema/cat-vrs/1.x/core/json/DefiningContextConstraint"
- $ref: "/ga4gh/schema/cat-vrs/1.0.0-connect.2024-09.1/core/json/DefiningContextConstraint"
- type: object
properties:
relations:
contains:
const: sequence_liftover
- contains:
anyOf:
- $ref: "/ga4gh/schema/cat-vrs/1.x/core/json/CopyCountConstraint"
- $ref: "/ga4gh/schema/cat-vrs/1.x/core/json/CopyChangeConstraint"
- $ref: "/ga4gh/schema/cat-vrs/1.0.0-connect.2024-09.1/core/json/CopyCountConstraint"
- $ref: "/ga4gh/schema/cat-vrs/1.0.0-connect.2024-09.1/core/json/CopyChangeConstraint"

CategoricalCnv:
maturity: draft
description: >-
A representation of the constraints for matching knowledge about CNVs.
allOf:
- $ref: "#/$defs/CategoricalCnvProperties"
- $ref: "/ga4gh/schema/cat-vrs/1.x/core/json/CategoricalVariant"
- $ref: "/ga4gh/schema/cat-vrs/1.0.0-connect.2024-09.1/core/json/CategoricalVariant"
2 changes: 1 addition & 1 deletion submodules/vrs

0 comments on commit 5a97fd4

Please sign in to comment.