-
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.
Merge pull request #1475 from HumanCellAtlas/esv-gender-identity-Issu…
…e1409 Added gender_identity field and ontology. Fixes #1409.
- Loading branch information
Showing
7 changed files
with
82 additions
and
2 deletions.
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
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": "Gender identity ontology", | ||
"name": "gender_identity_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 Gender; Agender; Non-Binary Gender" | ||
}, | ||
"ontology": { | ||
"description": "An ontology term identifier in the form prefix:accession.", | ||
"type": "string", | ||
"graph_restriction": { | ||
"ontologies" : ["obo:ncit"], | ||
"classes": ["NCIT:C17357"], | ||
"relations": ["rdfs:subClassOf"], | ||
"direct": false, | ||
"include_self": false | ||
}, | ||
"user_friendly": "Gender identity ontology ID", | ||
"example": "NCIT:C46110; NCIT:C205469; NCIT:C160941" | ||
}, | ||
"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 Gender; Agender; Non-Binary Gender" | ||
} | ||
} | ||
} |
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