Skip to content

Commit

Permalink
Add synonyms slot to Variant and VariantDTO
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-grove committed Dec 17, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 6118279 commit 21d6be5
Showing 4 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions generated/jsonschema/allianceModel.schema.json
Original file line number Diff line number Diff line change
@@ -24744,6 +24744,13 @@
},
"type": "array"
},
"synonyms": {
"description": "A generic free-text field for objects that only have string representation of one or more synonyms and do not require meta data or attribution; if meta data or attribution are required to be captured for individual synonyms, consider the NameSlotAnnotation class",
"items": {
"type": "string"
},
"type": "array"
},
"taxon": {
"description": "The taxon from which the biological entity derives.",
"type": "string"
@@ -24836,6 +24843,13 @@
},
"type": "array"
},
"synonyms": {
"description": "A generic free-text field for objects that only have string representation of one or more synonyms and do not require meta data or attribution; if meta data or attribution are required to be captured for individual synonyms, consider the NameSlotAnnotation class",
"items": {
"type": "string"
},
"type": "array"
},
"taxon_curie": {
"description": "Curie of the NCBITaxonTerm representing the taxon from which the biological entity derives",
"type": "string"
1 change: 1 addition & 0 deletions model/schema/variantDTO.yaml
Original file line number Diff line number Diff line change
@@ -43,6 +43,7 @@ classes:
slots:
- variant_type_curie
- note_dtos
- synonyms
- source_general_consequence_dtos
- variant_status_name

1 change: 1 addition & 0 deletions model/schema/variation.yaml
Original file line number Diff line number Diff line change
@@ -51,6 +51,7 @@ classes:
slots:
- variant_type
- related_notes
- synonyms
- source_general_consequences
- curated_variant_genomic_locations
- curated_variant_transcript_locations
3 changes: 3 additions & 0 deletions test/data/variant_test.json
Original file line number Diff line number Diff line change
@@ -3,6 +3,9 @@
"variant_ingest_set": [
{
"primary_external_id": "ZFIN:ZDB-ALT-000412-8",
"synonyms": [
"name: I:g.118901G>A"
],
"data_provider_dto": {
"source_organization_abbreviation": "ZFIN",
"cross_reference_dto": {

0 comments on commit 21d6be5

Please sign in to comment.