Skip to content

Commit

Permalink
subject to location
Browse files Browse the repository at this point in the history
  • Loading branch information
ahwagner committed Sep 8, 2023
1 parent bd21446 commit 7847130
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion schema/defs/vrs/CopyNumber.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Some CopyNumber attributes are inherited from :ref:`Ga4ghIdentifiableObject`.
- string
- 1..1
-
* - subject
* - location
- gks.core:IRI | :ref:`Location`
- 1..1
- A location for which the number of systemic copies is described.
2 changes: 1 addition & 1 deletion schema/defs/vrs/CopyNumberChange.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Some CopyNumberChange attributes are inherited from :ref:`CopyNumber`.
- string
- 1..1
- MUST be "CopyNumberChange"
* - subject
* - location
- gks.core:IRI | :ref:`Location`
- 1..1
- A location for which the number of systemic copies is described.
Expand Down
2 changes: 1 addition & 1 deletion schema/defs/vrs/CopyNumberCount.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Some CopyNumberCount attributes are inherited from :ref:`CopyNumber`.
- string
- 1..1
- MUST be "CopyNumberCount"
* - subject
* - location
- gks.core:IRI | :ref:`Location`
- 1..1
- A location for which the number of systemic copies is described.
Expand Down
8 changes: 4 additions & 4 deletions schema/merged.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"default": "CopyNumberCount",
"description": "MUST be \"CopyNumberCount\""
},
"subject": {
"location": {
"oneOf": [
{
"$ref": "#/$defs/SequenceLocation"
Expand All @@ -267,7 +267,7 @@
},
"required": [
"copies",
"subject",
"location",
"type"
],
"additionalProperties": false
Expand Down Expand Up @@ -315,7 +315,7 @@
"default": "CopyNumberChange",
"description": "MUST be \"CopyNumberChange\""
},
"subject": {
"location": {
"oneOf": [
{
"$ref": "#/$defs/SequenceLocation"
Expand Down Expand Up @@ -343,7 +343,7 @@
},
"required": [
"copyChange",
"subject",
"location",
"type"
],
"additionalProperties": false
Expand Down
8 changes: 4 additions & 4 deletions schema/merged.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ $defs:
const: CopyNumberCount
default: CopyNumberCount
description: MUST be "CopyNumberCount"
subject:
location:
oneOf:
- $ref: '#/$defs/SequenceLocation'
- $refCurie: gks.core:IRI
Expand All @@ -190,7 +190,7 @@ $defs:
description: The integral number of copies of the subject in a system
required:
- copies
- subject
- location
- type
additionalProperties: false
CopyNumberChange:
Expand Down Expand Up @@ -232,7 +232,7 @@ $defs:
const: CopyNumberChange
default: CopyNumberChange
description: MUST be "CopyNumberChange"
subject:
location:
oneOf:
- $ref: '#/$defs/SequenceLocation'
- $refCurie: gks.core:IRI
Expand All @@ -254,7 +254,7 @@ $defs:
(low-level gain), "efo:0030072" (high-level gain).
required:
- copyChange
- subject
- location
- type
additionalProperties: false
Genotype:
Expand Down
4 changes: 2 additions & 2 deletions schema/vrs-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,13 @@ $defs:
description: >-
A measure of the copies of a :ref:`Location` within a system (e.g. genome, cell, etc.)
heritableProperties:
subject:
location:
oneOf:
- $refCurie: gks.core:IRI
- $ref: "#/$defs/Location"
description: >-
A location for which the number of systemic copies is described.
heritableRequired: [ "subject" ]
heritableRequired: [ "location" ]

CopyNumberCount:
maturity: Alpha
Expand Down
8 changes: 4 additions & 4 deletions schema/vrs.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"default": "CopyNumberCount",
"description": "MUST be \"CopyNumberCount\""
},
"subject": {
"location": {
"oneOf": [
{
"$ref": "#/$defs/SequenceLocation"
Expand All @@ -267,7 +267,7 @@
},
"required": [
"copies",
"subject",
"location",
"type"
],
"additionalProperties": false
Expand Down Expand Up @@ -315,7 +315,7 @@
"default": "CopyNumberChange",
"description": "MUST be \"CopyNumberChange\""
},
"subject": {
"location": {
"oneOf": [
{
"$ref": "#/$defs/SequenceLocation"
Expand Down Expand Up @@ -343,7 +343,7 @@
},
"required": [
"copyChange",
"subject",
"location",
"type"
],
"additionalProperties": false
Expand Down
8 changes: 4 additions & 4 deletions schema/vrs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ $defs:
const: CopyNumberCount
default: CopyNumberCount
description: MUST be "CopyNumberCount"
subject:
location:
oneOf:
- $ref: '#/$defs/SequenceLocation'
- $refCurie: gks.core:IRI
Expand All @@ -190,7 +190,7 @@ $defs:
description: The integral number of copies of the subject in a system
required:
- copies
- subject
- location
- type
additionalProperties: false
CopyNumberChange:
Expand Down Expand Up @@ -232,7 +232,7 @@ $defs:
const: CopyNumberChange
default: CopyNumberChange
description: MUST be "CopyNumberChange"
subject:
location:
oneOf:
- $ref: '#/$defs/SequenceLocation'
- $refCurie: gks.core:IRI
Expand All @@ -254,7 +254,7 @@ $defs:
(low-level gain), "efo:0030072" (high-level gain).
required:
- copyChange
- subject
- location
- type
additionalProperties: false
Genotype:
Expand Down

0 comments on commit 7847130

Please sign in to comment.