From b60dc130639280dfa7f30778d9d9c22395c750fe Mon Sep 17 00:00:00 2001 From: dosumis Date: Tue, 9 Jun 2020 10:41:34 +0100 Subject: [PATCH] First draft reporting schema file. --- src/schema/reporting_schema.json | 75 ++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 src/schema/reporting_schema.json diff --git a/src/schema/reporting_schema.json b/src/schema/reporting_schema.json new file mode 100644 index 0000000..b5f907f --- /dev/null +++ b/src/schema/reporting_schema.json @@ -0,0 +1,75 @@ +{ + "definitions": { + "mapping": { + "properties": { + "name_in_source": { + "type": "string" + }, + "id_in_source": { + "type": "string" + }, + "maps_to_name": { + "type": "string" + }, + "maps_to_id": { + "type": "string" + } + } + } + }, + "properties": { + "pub": { + "Properties": { + "FBrf": { + "type": "string" + }, + "PMID": { + "type": "string" + }, + "DOI": { + "type": "string" + }, + "CATMAID": { + "type": "string" + }, + "DataSet": { + "type": "string" + }, + "status": { + "$ref" :"#definitions/status" + } + } + }, + "source": { + }, + "status": { + "additionalProperties": false, + "properties": { + "thin": { + "type": "boolean" + }, + "anat": { + "type": "boolean" + }, + "exp_cur": { + "type": "boolean" + }, + "kb": { + "description": "Is paper in KB?", + "type": "boolean" + }, + "image_curation": { + "description": "Have related images been curated to KB?", + "type": "boolean" + } + } + }, + "mapped_anatomy": + { + "type": "list", + "value": { + "$ref": "#definitions/mapping" + } + } + } +}