-
Notifications
You must be signed in to change notification settings - Fork 38
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
1 parent
f100837
commit 972f4d8
Showing
22 changed files
with
906 additions
and
0 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,71 @@ | ||
{ | ||
"id": "https://raw.githubusercontent.com/ISA-tools/isa-api/master/isatools/resources/schemas/v1.0.1/assay_schema.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title": "ISA Assay JSON Schema", | ||
"name": "ISA Assay JSON Schema", | ||
"description": "JSON Schema describing an ISA model Assay object", | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string", "format": "uri-reference" }, | ||
"@context": { "type": "string", "format": "uri-reference"}, | ||
"@type" : { "type": "string", "enum": ["Assay"] }, | ||
"filename" : { "type" : "string" }, | ||
"measurementType" : { | ||
"$ref": "ontology_annotation_schema.json#" | ||
}, | ||
"technologyType" : { | ||
"$ref": "ontology_annotation_schema.json#" | ||
}, | ||
"technologyPlatform" : { "type" : "string"}, | ||
"dataFiles" : { | ||
"type": "array", | ||
"items" : { | ||
"$ref": "data_schema.json#" | ||
} | ||
}, | ||
"materials": { | ||
"type": "object", | ||
"properties": { | ||
"samples": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "sample_schema.json#" | ||
} | ||
}, | ||
"otherMaterials": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "material_schema.json#" | ||
} | ||
} | ||
} | ||
}, | ||
"characteristicCategories": { | ||
"description": "List of all the characteristics categories (or material attributes) defined in the study, used to avoid duplication of their declaration when each material_attribute_value is created. ", | ||
"type": "array", | ||
"items": { | ||
"$ref": "material_attribute_schema.json#" | ||
} | ||
}, | ||
"unitCategories": { | ||
"description": "List of all the unitsdefined in the study, used to avoid duplication of their declaration when each value is created. ", | ||
"type": "array", | ||
"items": { | ||
"$ref": "ontology_annotation_schema.json#" | ||
} | ||
}, | ||
"processSequence": { | ||
"type": "array", | ||
"items" : { | ||
"$ref" : "process_schema.json#" | ||
} | ||
}, | ||
"comments" : { | ||
"type": "array", | ||
"items": { | ||
"$ref": "comment_schema.json#" | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
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,20 @@ | ||
{ | ||
"id": "https://raw.githubusercontent.com/ISA-tools/isa-api/master/isatools/resources/schemas/v1.0.1/comment_schema.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title": "ISA Comment schema - it corresponds to ISA Comment[] construct", | ||
"name" : "ISA Comment schema", | ||
"description": "JSON-schema representing an ISA model Comment object", | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string", "format": "uri-reference" }, | ||
"@context": { "type": "string", "format": "uri-reference"}, | ||
"@type" : { "type": "string", "enum": ["Comment"] }, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"value": { | ||
"type": "string" | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
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,43 @@ | ||
{ | ||
"id": "https://raw.githubusercontent.com/ISA-tools/isa-api/master/isatools/resources/schemas/v1.0.1/data_schema.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title": "ISA Data schema", | ||
"name" : "ISA Data schema", | ||
"description": "JSON-schema representing an ISA model Data object", | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string", "format": "uri-reference" }, | ||
"@context": { "type": "string", "format": "uri-reference"}, | ||
"@type" : { "type": "string", "enum": ["Data"] }, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"Raw Data File", | ||
"Derived Data File", | ||
"Image File", | ||
"Acquisition Parameter Data File", | ||
"Derived Spectral Data File", | ||
"Protein Assignment File", | ||
"Raw Spectral Data File", | ||
"Peptide Assignment File", | ||
"Array Data File", | ||
"Derived Array Data File", | ||
"Post Translational Modification Assignment File", | ||
"Derived Array Data Matrix File", | ||
"Free Induction Decay Data File", | ||
"Metabolite Assignment File", | ||
"Array Data Matrix File" | ||
] | ||
}, | ||
"comments" : { | ||
"type": "array", | ||
"items": { | ||
"$ref": "comment_schema.json#" | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
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,26 @@ | ||
{ | ||
"id": "https://raw.githubusercontent.com/ISA-tools/isa-api/master/isatools/resources/schemas/v1.0.1/factor_schema.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title": "ISA Factor schema", | ||
"name": "ISA Factor schema", | ||
"description": "JSON-schema representing an ISA model Factor object", | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string", "format": "uri-reference" }, | ||
"@context": { "type": "string", "format": "uri-reference"}, | ||
"@type" : { "type": "string", "enum": ["Factor"] }, | ||
"factorName": { | ||
"type": "string" | ||
}, | ||
"factorType": { | ||
"$ref": "ontology_annotation_schema.json#" | ||
}, | ||
"comments" : { | ||
"type": "array", | ||
"items": { | ||
"$ref": "comment_schema.json#" | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
33 changes: 33 additions & 0 deletions
33
isatools/resources/schemas/v1.0.1/factor_value_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,33 @@ | ||
{ | ||
"id": "https://raw.githubusercontent.com/ISA-tools/isa-api/master/isatools/resources/schemas/v1.0.1/factor_value_schema.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title": "ISA Factor Value schema", | ||
"name": "ISA Factor Value schema", | ||
"description": "JSON-schema representing an ISA model Factor Value object", | ||
"type": "object", | ||
"properties": { | ||
"@id": { "type": "string", "format": "uri-reference" }, | ||
"@context": { "type": "string", "format": "uri-reference"}, | ||
"@type" : { "type": "string", "enum": ["FactorValue"] }, | ||
"category" : { | ||
"$ref": "factor_schema.json#" | ||
}, | ||
"value": { | ||
"anyOf" : [ | ||
{ "$ref": "ontology_annotation_schema.json#"}, | ||
{ "type": "string"}, | ||
{ "type": "number"} | ||
] | ||
}, | ||
"unit": { | ||
"$ref": "ontology_annotation_schema.json#" | ||
}, | ||
"comments" : { | ||
"type": "array", | ||
"items": { | ||
"$ref": "comment_schema.json#" | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
63 changes: 63 additions & 0 deletions
63
isatools/resources/schemas/v1.0.1/investigation_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,63 @@ | ||
{ | ||
"id": "https://raw.githubusercontent.com/ISA-tools/isa-api/master/isatools/resources/schemas/v1.0.1/investigation_schema.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title" : "ISA investigation schema", | ||
"name" : "ISA Investigation schema", | ||
"description" : "JSON-schema representing an ISA mode Investigation object", | ||
"type" : "object", | ||
"properties" : { | ||
"@id": { "type": "string", "format": "uri-reference" }, | ||
"@context": { "type": "string", "format": "uri-reference"}, | ||
"@type" : { "type": "string", "enum": ["Investigation"] }, | ||
"filename": { "type" : "string"}, | ||
"identifier" : { "type" : "string" }, | ||
"title" : { "type" : "string"}, | ||
"description" : { "type" : "string"}, | ||
"submissionDate" : { | ||
"anyOf": [ | ||
{ "type": "string", "format": "date-time"}, | ||
{ "type": "string", "format": "date"}, | ||
{ "type": "string", "maxLength": 0 } | ||
]}, | ||
"publicReleaseDate" : { | ||
"anyOf": [ | ||
{ "type": "string", "format": "date-time"}, | ||
{ "type": "string", "format": "date"}, | ||
{ "type": "string", "maxLength": 0 } | ||
]}, | ||
"ontologySourceReferences" : { | ||
"type" : "array", | ||
"items" : { | ||
"$ref": "ontology_source_reference_schema.json#" | ||
} | ||
}, | ||
"publications" : { | ||
"type" : "array", | ||
"items" : { | ||
"$ref": "publication_schema.json#" | ||
|
||
} | ||
}, | ||
"people" : { | ||
"type" : "array", | ||
"items" : { | ||
"$ref": "person_schema.json#" | ||
|
||
} | ||
}, | ||
"studies" : { | ||
"type" : "array", | ||
"items" : { | ||
"$ref": "study_schema.json#" | ||
|
||
} | ||
}, | ||
"comments" : { | ||
"type": "array", | ||
"items": { | ||
"$ref": "comment_schema.json#" | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
17 changes: 17 additions & 0 deletions
17
isatools/resources/schemas/v1.0.1/material_attribute_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,17 @@ | ||
{ | ||
"id": "https://raw.githubusercontent.com/ISA-tools/isa-api/master/isatools/resources/schemas/v1.0.1/material_attribute_schema.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title" : "ISA material attribute schema", | ||
"name" : "ISA Material Attribute schema", | ||
"description" : "JSON-schema representing a characteristics category (what appears between the brackets in Characteristics[]) in the ISA model", | ||
"type" : "object", | ||
"properties" : { | ||
"@id": { "type": "string", "format": "uri-reference" }, | ||
"@context": { "type": "string", "format": "uri-reference"}, | ||
"@type" : { "type": "string", "enum": ["MaterialAttribute"] }, | ||
"characteristicType": { | ||
"$ref": "ontology_annotation_schema.json#" | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
33 changes: 33 additions & 0 deletions
33
isatools/resources/schemas/v1.0.1/material_attribute_value_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,33 @@ | ||
{ | ||
"id": "https://raw.githubusercontent.com/ISA-tools/isa-api/master/isatools/resources/schemas/v1.0.1/material_attribute_schema.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title" : "ISA Material Attribute schema", | ||
"name" : "ISA Material Attribute schema", | ||
"description" : "JSON-schema representing an ISA model material attribute (or characteristic) value object", | ||
"type" : "object", | ||
"properties" : { | ||
"@id": { "type": "string", "format": "uri-reference" }, | ||
"@context": { "type": "string", "format": "uri-reference"}, | ||
"@type" : { "type": "string", "enum": ["MaterialAttributeValue"] }, | ||
"category" : { | ||
"$ref": "material_attribute_schema.json#" | ||
}, | ||
"value": { | ||
"anyOf" : [ | ||
{ "$ref": "ontology_annotation_schema.json#"}, | ||
{ "type": "string" }, | ||
{ "type": "number" } | ||
] | ||
}, | ||
"unit": { | ||
"$ref": "ontology_annotation_schema.json#" | ||
}, | ||
"comments" : { | ||
"type": "array", | ||
"items": { | ||
"$ref": "comment_schema.json#" | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
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,40 @@ | ||
{ | ||
"id": "https://raw.githubusercontent.com/ISA-tools/isa-api/master/isatools/resources/schemas/v1.0.1/material_schema.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title" : "ISA Material schema", | ||
"name" : "ISA Material schema", | ||
"description" : "JSON-schema representing an ISA model material object, which is not a source or a sample (as they have specific schemas) - this will correspond to 'Extract Name', 'Labeled Extract Name'", | ||
"type" : "object", | ||
"properties" : { | ||
"@id": { "type": "string", "format": "uri-reference" }, | ||
"@context": { "type": "string", "format": "uri-reference"}, | ||
"@type" : { "type": "string", "enum": ["Material"] }, | ||
"name" : { "type" : "string" }, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"Extract Name", | ||
"Labeled Extract Name" | ||
] | ||
}, | ||
"characteristics" : { | ||
"type" : "array", | ||
"items" : { | ||
"$ref": "material_attribute_value_schema.json#" | ||
} | ||
}, | ||
"derivesFrom": { | ||
"type" : "array", | ||
"items" : { | ||
"$ref": "material_schema.json#" | ||
} | ||
}, | ||
"comments" : { | ||
"type": "array", | ||
"items": { | ||
"$ref": "comment_schema.json#" | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
34 changes: 34 additions & 0 deletions
34
isatools/resources/schemas/v1.0.1/ontology_annotation_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,34 @@ | ||
{ | ||
"id": "https://raw.githubusercontent.com/ISA-tools/isa-api/master/isatools/resources/schemas/v1.0.1/ontology_annotation_schema.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title" : "ISA ontology reference schema", | ||
"name" : "ISA ontology reference schema", | ||
"description" : "JSON-schema representing an ISA model Ontology Reference or annotation (for fields that are required to be ontology annotations)", | ||
"type" : "object", | ||
"properties" : { | ||
"@id": { "type": "string", "format": "uri-reference" }, | ||
"@context": { "type": "string", "format": "uri-reference"}, | ||
"@type" : { "type": "string", "enum": ["OntologyAnnotation"] }, | ||
"annotationValue": { | ||
"anyOf": [ | ||
{ "type": "string" }, | ||
{ "type": "number"} | ||
] | ||
}, | ||
"termSource" : { | ||
"type" : "string", | ||
"description" : "The abbreviated ontology name. It should correspond to one of the sources as specified in the ontologySourceReference section of the Investigation." | ||
}, | ||
"termAccession" : { | ||
"type" : "string", | ||
"format" : "uri-reference" | ||
}, | ||
"comments" : { | ||
"type": "array", | ||
"items": { | ||
"$ref": "comment_schema.json#" | ||
} | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
Oops, something went wrong.