-
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.
v4 metadata schema ready for release. All $ref tags updated to raw gi…
…thub v4 tag URL
- Loading branch information
1 parent
80eb40a
commit fc98079
Showing
30 changed files
with
825 additions
and
778 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 |
---|---|---|
@@ -1,155 +1,155 @@ | ||
{ | ||
"$schema" : "http://json-schema.org/draft-04/schema#", | ||
"additionalProperties" : true, | ||
"properties" : { | ||
"tasks" : { | ||
"description" : "Descriptions of tasks in the workflow.", | ||
"type" : "array", | ||
"items" : { | ||
"type" : { | ||
"$ref" : "analysis.json#/definitions/task" | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"additionalProperties": true, | ||
"properties": { | ||
"tasks": { | ||
"description": "Descriptions of tasks in the workflow.", | ||
"type": "array", | ||
"items": { | ||
"type": { | ||
"$ref": "https://raw.githubusercontent.com/HumanCellAtlas/metadata-schema/4.0/json_schema/analysis.json#/definitions/task" | ||
} | ||
} | ||
} | ||
}, | ||
"analysis_id" : { | ||
"description" : "A unique ID for this analysis.", | ||
"type" : "number" | ||
}, | ||
"name": { | ||
"description": "A short, descriptive name for the analysis that need not be unique.", | ||
"type": "string" | ||
}, | ||
"description": { | ||
"description": "A general description of the analysis.", | ||
"type": "string" | ||
}, | ||
"computational_method" : { | ||
"description" : "A URI to a versioned workflow and versioned execution environment in a GA4GH-compliant repository.", | ||
"type" : "uri" | ||
}, | ||
"outputs" : { | ||
"items" : { | ||
"type" : { | ||
"$ref" : "analysis.json#/definitions/file" | ||
} | ||
}, | ||
"description" : "Output generated by the pipeline run.", | ||
"type" : "array" | ||
}, | ||
"input_bundles" : { | ||
"items" : { | ||
"type" : "uri" | ||
}, | ||
"description" : "The input bundles used in this analysis run.", | ||
"type" : "array" | ||
}, | ||
"timestamp_stop_utc" : { | ||
"type" : "date-time", | ||
"description" : "Terminal stop time of the full pipeline." | ||
}, | ||
"metadata_schema" : { | ||
"description" : "The version of the metadata schemas used for the json files.", | ||
"type" : "string" | ||
}, | ||
"timestamp_start_utc" : { | ||
"description" : "Initial start time of the full pipeline.", | ||
"type" : "date-time" | ||
}, | ||
"inputs" : { | ||
"items" : { | ||
"type" : { | ||
"$ref" : "analysis.json#/definitions/parameter" | ||
} | ||
}, | ||
"type" : "array", | ||
"description" : "Input parameters used in the pipeline run, these can be files or string values (settings)." | ||
}, | ||
"analysis_run_type" : { | ||
"enum" : [ | ||
"run", | ||
"copy-forward" | ||
], | ||
"description" : "Indicator of whether the analysis actually ran or was just copied forward as an optimization.", | ||
"type" : "string" | ||
}, | ||
"reference_bundle" : { | ||
"description" : "Bundle containing the reference used in running the pipeline.", | ||
"type" : "uri" | ||
}, | ||
"core": { | ||
}, | ||
"analysis_id": { | ||
"description": "A unique ID for this analysis.", | ||
"type": "number" | ||
}, | ||
"name": { | ||
"description": "A short, descriptive name for the analysis that need not be unique.", | ||
"type": "string" | ||
}, | ||
"description": { | ||
"description": "A general description of the analysis.", | ||
"type": "string" | ||
}, | ||
"computational_method": { | ||
"description": "A URI to a versioned workflow and versioned execution environment in a GA4GH-compliant repository.", | ||
"type": "uri" | ||
}, | ||
"outputs": { | ||
"items": { | ||
"type": { | ||
"$ref": "https://raw.githubusercontent.com/HumanCellAtlas/metadata-schema/4.0/json_schema/analysis.json#/definitions/file" | ||
} | ||
}, | ||
"description": "Output generated by the pipeline run.", | ||
"type": "array" | ||
}, | ||
"input_bundles": { | ||
"items": { | ||
"type": "uri" | ||
}, | ||
"description": "The input bundles used in this analysis run.", | ||
"type": "array" | ||
}, | ||
"timestamp_stop_utc": { | ||
"type": "date-time", | ||
"description": "Terminal stop time of the full pipeline." | ||
}, | ||
"metadata_schema": { | ||
"description": "The version of the metadata schemas used for the json files.", | ||
"type": "string" | ||
}, | ||
"timestamp_start_utc": { | ||
"description": "Initial start time of the full pipeline.", | ||
"type": "date-time" | ||
}, | ||
"inputs": { | ||
"items": { | ||
"type": { | ||
"$ref": "https://raw.githubusercontent.com/HumanCellAtlas/metadata-schema/4.0/json_schema/analysis.json#/definitions/parameter" | ||
} | ||
}, | ||
"type": "array", | ||
"description": "Input parameters used in the pipeline run, these can be files or string values (settings)." | ||
}, | ||
"analysis_run_type": { | ||
"enum": [ | ||
"run", | ||
"copy-forward" | ||
], | ||
"description": "Indicator of whether the analysis actually ran or was just copied forward as an optimization.", | ||
"type": "string" | ||
}, | ||
"reference_bundle": { | ||
"description": "Bundle containing the reference used in running the pipeline.", | ||
"type": "uri" | ||
}, | ||
"core": { | ||
"description": "Type and schema for this object.", | ||
"$ref": "core.json" | ||
} | ||
}, | ||
"type" : "object", | ||
"definitions" : { | ||
"file" : { | ||
"additionalProperties" : false, | ||
"required" : [ | ||
"checksum", | ||
"file_path", | ||
"format" | ||
], | ||
"properties" : { | ||
"format" : "string", | ||
"file_path" : "uri", | ||
"checksum" : "string" | ||
}, | ||
"type" : "object" | ||
}, | ||
"task" : { | ||
"properties" : { | ||
"start_time" : "date-time", | ||
"stop_time" : "date-time", | ||
"name" : "string", | ||
"log_err" : "uri", | ||
"log_out" : "uri", | ||
"disk_size" : "string", | ||
"docker_image" : "string", | ||
"cpus" : "int", | ||
"memory" : "string", | ||
"zone" : "string" | ||
}, | ||
"required" : [ | ||
"name", | ||
"start_time", | ||
"stop_time", | ||
"log", | ||
"disk_size", | ||
"docker_image", | ||
"cpus", | ||
"memory", | ||
"zone" | ||
], | ||
"additionalProperties" : false, | ||
"type" : "object" | ||
}, | ||
"parameter" : { | ||
"additionalProperties" : false, | ||
"required" : [ | ||
"name", | ||
"value" | ||
], | ||
"properties" : { | ||
"checksum" : "string", | ||
"value" : "string", | ||
"name" : "string" | ||
}, | ||
"type" : "object" | ||
} | ||
}, | ||
"title" : "analysis", | ||
"required" : [ | ||
"timestamp_start_utc", | ||
"timestamp_stop_utc", | ||
"computational_method", | ||
"input_bundles", | ||
"reference_bundle", | ||
"analysis_id", | ||
"analysis_run_type", | ||
"metadata_schema", | ||
"tasks", | ||
"inputs", | ||
"outputs" | ||
] | ||
} | ||
"$ref": "https://raw.githubusercontent.com/HumanCellAtlas/metadata-schema/4.0/json_schema/core.json" | ||
} | ||
}, | ||
"type": "object", | ||
"definitions": { | ||
"file": { | ||
"additionalProperties": false, | ||
"required": [ | ||
"checksum", | ||
"file_path", | ||
"format" | ||
], | ||
"properties": { | ||
"format": "string", | ||
"file_path": "uri", | ||
"checksum": "string" | ||
}, | ||
"type": "object" | ||
}, | ||
"task": { | ||
"properties": { | ||
"start_time": "date-time", | ||
"stop_time": "date-time", | ||
"name": "string", | ||
"log_err": "uri", | ||
"log_out": "uri", | ||
"disk_size": "string", | ||
"docker_image": "string", | ||
"cpus": "int", | ||
"memory": "string", | ||
"zone": "string" | ||
}, | ||
"required": [ | ||
"name", | ||
"start_time", | ||
"stop_time", | ||
"log", | ||
"disk_size", | ||
"docker_image", | ||
"cpus", | ||
"memory", | ||
"zone" | ||
], | ||
"additionalProperties": false, | ||
"type": "object" | ||
}, | ||
"parameter": { | ||
"additionalProperties": false, | ||
"required": [ | ||
"name", | ||
"value" | ||
], | ||
"properties": { | ||
"checksum": "string", | ||
"value": "string", | ||
"name": "string" | ||
}, | ||
"type": "object" | ||
} | ||
}, | ||
"title": "analysis", | ||
"required": [ | ||
"timestamp_start_utc", | ||
"timestamp_stop_utc", | ||
"computational_method", | ||
"input_bundles", | ||
"reference_bundle", | ||
"analysis_id", | ||
"analysis_run_type", | ||
"metadata_schema", | ||
"tasks", | ||
"inputs", | ||
"outputs" | ||
] | ||
} |
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
Oops, something went wrong.