-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added gender_identity field and ontology. Fixes #1409.
- Loading branch information
1 parent
18bbd73
commit e6f1b7a
Showing
7 changed files
with
75 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"description": "A term that may be associated with a gender-related ontology term.", | ||
"additionalProperties": false, | ||
"required": [ | ||
"text" | ||
], | ||
"title": "Ethnicity ontology", | ||
"name": "ethnicity_ontology", | ||
"type": "object", | ||
"properties": { | ||
"describedBy" : { | ||
"description": "The URL reference to the schema.", | ||
"pattern" : "^(http|https)://schema.(.*?)humancellatlas.org/module/ontology/(([0-9]{1,}.[0-9]{1,}.[0-9]{1,})|([a-zA-Z]*?))/gender_identity_ontology", | ||
"type": "string" | ||
}, | ||
"schema_version": { | ||
"description": "Version number in major.minor.patch format.", | ||
"type": "string", | ||
"pattern": "^[0-9]{1,}.[0-9]{1,}.[0-9]{1,}$", | ||
"example": "4.6.1" | ||
}, | ||
"text": { | ||
"description": "The gender identity of the human donor at the time of the experiment.", | ||
"type": "string", | ||
"user_friendly": "Gender identity", | ||
"example": "Female-to-Male Transsexual; Agender" | ||
}, | ||
"ontology": { | ||
"description": "An ontology term identifier in the form prefix:accession.", | ||
"type": "string", | ||
"graph_restriction": { | ||
"ontologies" : ["obo:hcao", "obo:ncit"], | ||
"classes": ["NCIT:C17357"], | ||
"relations": ["rdfs:subClassOf"], | ||
"direct": false, | ||
"include_self": false | ||
}, | ||
"user_friendly": "Gender identity ontology ID", | ||
"example": "NCIT:C46121; NCIT:C180329" | ||
}, | ||
"ontology_label": { | ||
"description": "The preferred label for the ontology term referred to in the ontology field. This may differ from the user-supplied value in the text field.", | ||
"type": "string", | ||
"user_friendly": "Gender identity ontology label", | ||
"example": "Female-to-Male Transsexual; Agender" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
Schema,Change type,Change message,Version,Date | ||
module/ontology/gender_identity_ontology,major,"Added ontology module for gender identity.",, | ||
type/biomaterial/donor_organism,minor,"Added non-required gender identity field.",, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters