PepPA / schemas /ToolResult.json
pranamanam's picture
Upload 97 files
98bde72 verified
Raw History Blame Contribute Delete
7.23 kB
{
"$defs": {
"Candidate": {
"additionalProperties": false,
"properties": {
"molecule": {
"$ref": "#/$defs/Molecule"
},
"parent_ids": {
"items": {
"type": "string"
},
"title": "Parent Ids",
"type": "array"
},
"generator": {
"title": "Generator",
"type": "string"
},
"revision": {
"title": "Revision",
"type": "string"
}
},
"required": [
"molecule",
"generator",
"revision"
],
"title": "Candidate",
"type": "object"
},
"Evidence": {
"additionalProperties": false,
"properties": {
"id": {
"title": "Id",
"type": "string"
},
"source_url": {
"title": "Source Url",
"type": "string"
},
"source_version": {
"title": "Source Version",
"type": "string"
},
"retrieved_at": {
"title": "Retrieved At",
"type": "string"
},
"passage": {
"title": "Passage",
"type": "string"
},
"claim": {
"title": "Claim",
"type": "string"
},
"target_ids": {
"items": {
"type": "string"
},
"title": "Target Ids",
"type": "array"
},
"species": {
"title": "Species",
"type": "string"
},
"assay": {
"title": "Assay",
"type": "string"
},
"molecular_format": {
"title": "Molecular Format",
"type": "string"
},
"direction": {
"enum": [
"supports",
"opposes",
"unresolved"
],
"title": "Direction",
"type": "string"
},
"evidence_type": {
"enum": [
"experimental",
"computational",
"review"
],
"title": "Evidence Type",
"type": "string"
}
},
"required": [
"id",
"source_url",
"source_version",
"retrieved_at",
"passage",
"claim",
"target_ids",
"species",
"assay",
"molecular_format",
"direction",
"evidence_type"
],
"title": "Evidence",
"type": "object"
},
"Measurement": {
"additionalProperties": false,
"properties": {
"candidate_id": {
"title": "Candidate Id",
"type": "string"
},
"endpoint": {
"title": "Endpoint",
"type": "string"
},
"value": {
"title": "Value",
"type": "number"
},
"unit": {
"title": "Unit",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"kind": {
"enum": [
"prediction",
"experiment"
],
"title": "Kind",
"type": "string"
},
"lower": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Lower"
},
"upper": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Upper"
},
"assay": {
"title": "Assay",
"type": "string"
},
"replicate_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Replicate Id"
},
"censor": {
"default": "none",
"enum": [
"none",
"left",
"right"
],
"title": "Censor",
"type": "string"
}
},
"required": [
"candidate_id",
"endpoint",
"value",
"unit",
"source_id",
"kind",
"assay"
],
"title": "Measurement",
"type": "object"
},
"Modification": {
"additionalProperties": false,
"properties": {
"position": {
"minimum": 1,
"title": "Position",
"type": "integer"
},
"residue": {
"maxLength": 1,
"minLength": 1,
"title": "Residue",
"type": "string"
},
"ccd": {
"minLength": 1,
"title": "Ccd",
"type": "string"
}
},
"required": [
"position",
"residue",
"ccd"
],
"title": "Modification",
"type": "object"
},
"Molecule": {
"additionalProperties": false,
"properties": {
"sequence": {
"title": "Sequence",
"type": "string"
},
"modifications": {
"items": {
"$ref": "#/$defs/Modification"
},
"title": "Modifications",
"type": "array"
},
"bonds": {
"items": {
"maxItems": 4,
"minItems": 4,
"prefixItems": [
{
"type": "integer"
},
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "string"
}
],
"type": "array"
},
"title": "Bonds",
"type": "array"
},
"n_terminus": {
"default": "free",
"title": "N Terminus",
"type": "string"
},
"c_terminus": {
"default": "free",
"title": "C Terminus",
"type": "string"
},
"smiles": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Smiles"
}
},
"required": [
"sequence"
],
"title": "Molecule",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"candidates": {
"items": {
"$ref": "#/$defs/Candidate"
},
"title": "Candidates",
"type": "array"
},
"measurements": {
"items": {
"$ref": "#/$defs/Measurement"
},
"title": "Measurements",
"type": "array"
},
"evidence": {
"items": {
"$ref": "#/$defs/Evidence"
},
"title": "Evidence",
"type": "array"
},
"artifacts": {
"additionalProperties": {
"type": "string"
},
"title": "Artifacts",
"type": "object"
},
"message": {
"default": "",
"title": "Message",
"type": "string"
}
},
"title": "ToolResult",
"type": "object"
}