Skip to content

Commit

Permalink
made profiles require constraints and maxcontains on relations
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielPuthawala authored Oct 1, 2024
1 parent 9b6940d commit aed3a36
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions schema/cat-vrs/profiles/cat-vrs-profiles-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ $defs:
relations:
contains:
const: codon_translation
maxContains: 1
required:
- constraints

ProteinSequenceConsequence:
description: >-
Expand Down Expand Up @@ -55,6 +58,10 @@ $defs:
const: sequence_liftover
- contains:
const: transcript_projection
maxContains: 2
required:
- constraints


CanonicalAllele:
maturity: draft
Expand Down Expand Up @@ -87,6 +94,9 @@ $defs:
anyOf:
- $ref: "/ga4gh/schema/cat-vrs/1.x/core/json/CopyCountConstraint"
- $ref: "/ga4gh/schema/cat-vrs/1.x/core/json/CopyChangeConstraint"
required:
- constraints


CategoricalCnv:
maturity: draft
Expand Down

0 comments on commit aed3a36

Please sign in to comment.