-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
120 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"description": "A representation of a Blueprint Sample XML", | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "string", | ||
"pattern": "^S|^ERS", | ||
"minLength": 4 | ||
}, | ||
"entity_type": { | ||
"type": "string", | ||
"enum": ["EXPERIMENT","SAMPLE","RUN","STUDY"] | ||
|
||
}, | ||
"attributes" : { | ||
"type": "array", | ||
"minItems": 2, | ||
"uniqueItems": true, | ||
"items": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"properties": { | ||
"subject_id": { | ||
"type": "string" | ||
}, | ||
"MOLECULE": { | ||
"type": "string", | ||
"enum": ["total RNA", "polyA RNA", "cytoplasmic RNA", "nuclear RNA", "genomic DNA", "protein", "other"] | ||
}, | ||
"DISEASE": { | ||
"type": "string" | ||
}, | ||
"BIOMATERIAL_PROVIDER": { | ||
"type": "string", | ||
"enum": ["NIHR Cambridge BioResource","Jose I. Martin-Subero","Prof: Lucia Altucci (SECONDA UNIVERSITA' di NAPOLI- IT)","Prof.dr. E. Vellenga, University Medical Centre Groningen - Department of Hematology","Sanquin_Nijmegen"] | ||
}, | ||
"BIOMATERIAL_TYPE": { | ||
"type": "string", | ||
"enum": ["Cell Line","Primary Cell","Pooled Primary Cell","Primary Tissue"] | ||
}, | ||
"CELL_TYPE": { | ||
"type": "string" | ||
}, | ||
"TISSUE_TYPE": { | ||
"type": "string" | ||
}, | ||
"MARKERS": { | ||
"type": "string", | ||
"pattern": "^CD" | ||
}, | ||
"DONOR_ID": { | ||
"type": "string" | ||
}, | ||
"DONOR_AGE": { | ||
"type": "string", | ||
"pattern": "[0-9]+-[0-9]+|NA" | ||
}, | ||
"DONOR_HEALTH_STATUS": { | ||
"type": "string" | ||
}, | ||
"DONOR_SEX": { | ||
"type": "string", | ||
"enum": ["Male","Female","Unknown"] | ||
}, | ||
"gender": { | ||
"type": "string", | ||
"enum": ["male","female","unknown"] | ||
}, | ||
"DONOR_ETHNICITY": { | ||
"type": "string", | ||
"enum": ["arab","caucasian","dutch","nortern european","NA"] | ||
}, | ||
"PASSAGE_IF_EXPANDED": { | ||
"type": "string" | ||
}, | ||
"SAMPLE_ONTOLOGY_URI": { | ||
"type": "string", | ||
"pattern": "http://purl.obolibrary.org/obo/+" | ||
}, | ||
"DISEASE_ONTOLOGY_URI": { | ||
"type": "string", | ||
"pattern": "^http|NA" | ||
}, | ||
"TREATMENT": { | ||
"type": "string" | ||
}, | ||
"phenotype": { | ||
"type": "string", | ||
"pattern": "C[0-9]+;CL_[0-9]+;UBERON_[0-9]+" | ||
}, | ||
"TISSUE_DEPOT": { | ||
"type": "string" | ||
}, | ||
"ENA-CHECKLIST": { | ||
"type": "string", | ||
"pattern": "ERC*" | ||
} | ||
}, | ||
"additionalProperties":false | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"required": ["id","entity_type","attributes"] | ||
} |
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 was deleted.
Oops, something went wrong.
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