Skip to content

Commit

Permalink
Add constraint to items in adjoinedSequences
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrinal-Thomas-Epic committed Oct 9, 2024
1 parent 93bcd9d commit bbaaa0e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion schema/vrs/json/Adjacency
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,13 @@
{
"$ref": "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
}
]
],
"not": {
"required": [
"start",
"end"
]
}
},
"description": "The terminal sequence or pair of adjoined sequences that defines in the adjacency.",
"minItems": 2,
Expand Down
2 changes: 2 additions & 0 deletions schema/vrs/vrs-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,8 @@ $defs:
oneOf:
- $ref: "/ga4gh/schema/gks-common/1.x/data-types/json/IRI"
- $ref: "#/$defs/Location"
not:
required: ["start", "end"]
description: The terminal sequence or pair of adjoined sequences that defines in the adjacency.
minItems: 2
maxItems: 2
Expand Down

0 comments on commit bbaaa0e

Please sign in to comment.