-
Notifications
You must be signed in to change notification settings - Fork 6
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 #62 from elixir-europe/dev
Release v2.1.0
- Loading branch information
Showing
17 changed files
with
895 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"sampleName": "test sample", | ||
"SampleId": "SAMEA2397676" | ||
} |
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,4 @@ | ||
{ | ||
"sampleName": "test sample", | ||
"SampleId": "biosample:INVALID_ID" | ||
} |
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,4 @@ | ||
{ | ||
"sampleName": "test sample", | ||
"SampleId": "arrayexpress:E-MEXP-1712" | ||
} |
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,4 @@ | ||
{ | ||
"sampleName": "test sample", | ||
"SampleId": "biosample:SAMEA2397676" | ||
} |
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,27 @@ | ||
{ | ||
"$id": "http://subs/isValidIdentifier-schema.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"description": "Test schema for BioSample accession", | ||
"$async": true, | ||
"additionalProperties": false, | ||
"required": [ | ||
"SampleId" | ||
], | ||
"title": "disease_ontology", | ||
"properties": { | ||
"sampleName": { | ||
"description": "The text for the term as the user provides it.", | ||
"type": "string" | ||
}, | ||
"SampleId": { | ||
"description": "An optional ontology reference in format where prefix_ indicates which ontology", | ||
"type": "string", | ||
"isValidIdentifier": { | ||
"prefixes": [ | ||
"biosample" | ||
] | ||
} | ||
} | ||
}, | ||
"type": "object" | ||
} |
25 changes: 25 additions & 0 deletions
25
examples/schemas/isValidIdentifier-single-prefix-schema.json
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,25 @@ | ||
{ | ||
"$id": "http://subs/isValidIdentifier-schema.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"description": "Test schema for BioSample accession", | ||
"$async": true, | ||
"additionalProperties": false, | ||
"required": [ | ||
"SampleId" | ||
], | ||
"title": "disease_ontology", | ||
"properties": { | ||
"sampleName": { | ||
"description": "The text for the term as the user provides it.", | ||
"type": "string" | ||
}, | ||
"SampleId": { | ||
"description": "An optional ontology reference in format where prefix_ indicates which ontology", | ||
"type": "string", | ||
"isValidIdentifier": { | ||
"prefix": "biosample" | ||
} | ||
} | ||
}, | ||
"type": "object" | ||
} |
Oops, something went wrong.