Merging improvements from https://github.com/skodapetr/funpdbe-validator skodapetr@github - "fix multiple molecules issue"

This commit is contained in:
Mihaly Varadi 2019-03-22 13:04:00 +00:00
parent 89ac85e304
commit 78b3f53a5f
2 changed files with 28 additions and 19 deletions

View file

@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "https://github.com/funpdbe-consortium/funpdbe_schema/blob/master/funpdbe_schema.v0.0.1.json",
"$id": "https://gitlab.ebi.ac.uk/pdbe-kb/funpdbe/funpdbe-schema/raw/master/funpdbe_schema.json",
"title": "funpdbe_schema",
"type": "object",
"properties": {
@ -32,7 +32,8 @@
},
"additional_entry_annotations": {
"type": "object",
"description": "Additional entry-level annotations"
"description": "Additional entry-level annotations",
"additionalProperties": true
},
"chains": {
"type": "array",
@ -45,7 +46,8 @@
},
"additional_chain_annotations": {
"type": "object",
"description": "Additional chain-level annotations"
"description": "Additional chain-level annotations",
"additionalProperties": true
},
"residues": {
"type": "array",
@ -63,7 +65,8 @@
},
"additional_residue_annotations": {
"type": "object",
"description": "Additional residue-level annotations"
"description": "Additional residue-level annotations",
"additionalProperties": true
},
"site_data": {
"type": "array",
@ -80,9 +83,8 @@
},
"confidence_score": {
"type": "number",
"description": "Confidence level of the annotation (0-1)",
"minimum": 0.0,
"maximum": 1.0
"description": "Confidence level of the annotation (0-1, except if the method justifies otherwise)",
"minimum": 0.0
},
"confidence_classification": {
"type": "string",
@ -91,14 +93,18 @@
"high",
"medium",
"low",
"null"
"null",
"curated"
]
},
"aa_variant": {
"type": "string",
"description": "Three-letter amino acid code of variant/mutant",
"pattern": "^[A-Za-z0-9]+$"
}
},
"required": [
"site_id_ref",
"raw_score",
"confidence_score",
"confidence_classification"
],
"additionalProperties": false
@ -155,7 +161,8 @@
},
"additional_site_annotations": {
"type": "object",
"description": "Additional site-level annotations"
"description": "Additional site-level annotations",
"additionalProperties": true
}
},
"required": [
@ -199,4 +206,4 @@
"sites"
],
"additionalProperties": false
}
}