Skip to content

Commit

Permalink
fix requirement on MappableConcept to anyOf (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
larrybabb authored Nov 16, 2024
1 parent 2f8a937 commit bb9741a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions examples/mappable-concept-gene.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
id: HGNC:1101
primaryCode: BRCA2
label: BRCA2 DNA repair associated
conceptType: Gene
mappings:
- coding:
Expand Down
2 changes: 1 addition & 1 deletion schema/gks-core/gks-core-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ $defs:
description: >-
A list of mappings to concepts in terminologies or code systems. Each mapping should
include a coding and a relation.
oneOf:
anyOf:
- required:
- label
- required:
Expand Down
2 changes: 1 addition & 1 deletion schema/gks-core/json/MappableConcept
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"description": "A list of mappings to concepts in terminologies or code systems. Each mapping should include a coding and a relation."
}
},
"oneOf": [
"anyOf": [
{
"required": [
"label"
Expand Down

0 comments on commit bb9741a

Please sign in to comment.