{"openapi":"3.0.1","info":{"title":"OpenPredict API","description":"Get predicted targets for a given entity: the **potential drugs treating a given disease**, or the **potential diseases a given drug could treat**.\n\n\nUse the **predict** and **similarity** operations to easily retrieve predictions for a given entity (output format complying with the [BioThings Explorer](https://x-bte-extension.readthedocs.io/en/latest/x-bte-kgs-operations.html)).\n\n\nPredictions are currently produced using the [PREDICT method](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3159979/) from the [fair-workflows/openpredict](https://github.com/fair-workflows/openpredict) project.\n\n\nMore documentation available at [github.com/MaastrichtU-IDS/translator-openpredict](https://github.com/MaastrichtU-IDS/translator-openpredict)\n\n\n[![Test production API](https://github.com/MaastrichtU-IDS/translator-openpredict/actions/workflows/run-tests-prod.yml/badge.svg)](https://github.com/MaastrichtU-IDS/translator-openpredict/actions/workflows/run-tests-prod.yml)\n\n\nService supported by the [NCATS Translator project](https://ncats.nih.gov/translator/about)","version":"1.0.0","contact":{"name":"Vincent Emonet","email":"vincent.emonet@maastrichtuniversity.nl","x-role":"responsible developer"},"license":{"name":"MIT license","url":"https://opensource.org/licenses/MIT"},"termsOfService":"https://raw.githubusercontent.com/MaastrichtU-IDS/translator-openpredict/master/LICENSE","x-translator":{"component":"KP","team":["Clinical Data Provider"],"biolink-version":"3.1.0","infores":"infores:openpredict","externalDocs":{"description":"The values for component and team are restricted according to this external JSON schema. See schema and examples at url","url":"https://github.com/NCATSTranslator/translator_extensions/blob/production/x-translator/"}},"x-trapi":{"version":"1.4.0","asyncquery":false,"operations":["lookup"],"externalDocs":{"description":"The values for version are restricted according to the regex in this external JSON schema. See schema and examples at url","url":"https://github.com/NCATSTranslator/translator_extensions/blob/production/x-trapi/"}}},"paths":{"/query":{"post":{"tags":["reasoner"],"summary":"Trapi Query","description":"The default example TRAPI query will give you a list of predicted potential drug treatments for a given disease\n\nYou can also try this query to retrieve similar entities for a given drug:\n\n```json\n{\n    \"message\": {\n        \"query_graph\": {\n            \"edges\": {\n                \"e01\": {\n                    \"object\": \"n1\",\n                    \"predicates\": [ \"biolink:similar_to\" ],\n                    \"subject\": \"n0\"\n                }\n            },\n            \"nodes\": {\n                \"n0\": {\n                    \"categories\": [ \"biolink:Drug\" ],\n                    \"ids\": [ \"DRUGBANK:DB00394\" ]\n                },\n                \"n1\": {\n                    \"categories\": [ \"biolink:Drug\" ]\n                }\n            }\n        }\n    },\n    \"query_options\": { \"n_results\": 5 }\n}\n```\n        ","operationId":"TRAPI_query_query_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Query"},"example":{"message":{"query_graph":{"edges":{"e01":{"object":"n1","predicates":["biolink:treated_by"],"subject":"n0"}},"nodes":{"n0":{"categories":["biolink:Disease"],"ids":["OMIM:246300"]},"n1":{"categories":["biolink:Drug"]}}}},"query_options":{"max_score":1,"min_score":0.5,"n_results":10}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Query"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/meta_knowledge_graph":{"get":{"tags":["trapi"],"summary":"Get The Meta Knowledge Graph","description":"Get the meta knowledge graph","operationId":"Get_the_meta_knowledge_graph_meta_knowledge_graph_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get The Meta Knowledge Graph Meta Knowledge Graph Get","type":"object"}}}}}}},"/predict":{"post":{"tags":["models"],"summary":"Get Predicted Targets For Given Entities","description":"Return the predicted targets for given entities: drug (DrugBank ID) or disease (OMIM ID), with confidence scores.\nProvide the list of drugs as `subjects`, and/or the list of diseases as `objects`\nThis operation is annotated with x-bte-kgs-operations, and follow the BioThings API recommendations.\n\nYou can try:\n\n| objects: `OMIM:246300` | subjects: `DRUGBANK:DB00394` |\n| ------- | ---- |\n| to check the drug predictions for a disease   | to check the disease predictions for a drug |\n","operationId":"Get_predicted_targets_for_given_entities_predict_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Predicted Targets For Given Entities Predict Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/similarity":{"post":{"tags":["models"],"summary":"Get Similar Entities","description":"Get similar entites for a given entity CURIE.\n\nYou can try:\n\n| drug_id: `DRUGBANK:DB00394` | disease_id: `OMIM:246300` |\n| ------- | ---- |\n| model_id: `drugs_fp_embed.txt` | model_id: `disease_hp_embed.txt` |\n| to check the drugs similar to a given drug | to check the diseases similar to a given disease   |\n","operationId":"Get_similar_entities_similarity_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Similar Entities Similarity Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evidence-path":{"get":{"tags":["openpredict"],"summary":"Get The Evidence Path Between Two Entities","description":"Get the evidence path between two entities. The evidence path is generated using the overall similarity score by default. You could change the\n    included features by defining the names of the features.\n\nYou can try:\n\n| drug_id: `DRUGBANK:DB00915` | disease_id: `OMIM:104300` |\n| ------- | ---- |\n| min_similarity_threshold_drugs/disease : `0.1` | features_drug: `PPI-SIM` | features_disease : `HPO-SIM` |\n| (Between 0-1) to include the drugs/diseases which have similarity below the threshold | to select a specific similarity feature for drugs   | to select a specific similarity feature for diseases |\n","operationId":"Get_the_evidence_path_between_two_entities_evidence_path_get","parameters":[{"required":true,"schema":{"title":"Drug Id","type":"string"},"example":"DRUGBANK:DB00915","name":"drug_id","in":"query"},{"required":true,"schema":{"title":"Disease Id","type":"string"},"example":"OMIM:104300","name":"disease_id","in":"query"},{"required":false,"schema":{"title":"Min Similarity Threshold Drugs","type":"number","default":1.0},"name":"min_similarity_threshold_drugs","in":"query"},{"required":false,"schema":{"title":"Min Similarity Threshold Disease","type":"number","default":1.0},"name":"min_similarity_threshold_disease","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/FeatureTypesDrugs"},"name":"features_drug","in":"query"},{"required":false,"schema":{"$ref":"#/components/schemas/FeatureTypesDiseases"},"name":"features_disease","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get The Evidence Path Between Two Entities Evidence Path Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/explain-shap":{"get":{"tags":["openpredict"],"summary":"Get Calculated Shap Explanations For  Predicted Drug For A Given Disease","description":"Return the explanations for predicted entities  for a given disease  with SHAP values for feature importances: drug (DrugBank ID) or disease (OMIM ID), with confidence scores.\na disease_id can be provided,\nThis operation is annotated with x-bte-kgs-operations, and follow the BioThings API recommendations.\n\nYou can try:\n\n| disease_id: `OMIM:246300` |\n\n| to check the drug prediction explanations  for a disease  |\n","operationId":"Get_calculated_shap_explanations_for__predicted_drug_for_a_given_disease_explain_shap_get","parameters":[{"required":false,"schema":{"title":"Disease Id","type":"string","default":"OMIM:246300"},"name":"disease_id","in":"query"},{"required":false,"schema":{"title":"N Results","type":"integer","default":100},"name":"n_results","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get Calculated Shap Explanations For  Predicted Drug For A Given Disease Explain Shap Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/features":{"get":{"tags":["openpredict"],"summary":"Return The Features Trained In The Models","description":"Return the features trained in the model, for Drugs, Diseases or Both.","operationId":"Return_the_features_trained_in_the_models_features_get","parameters":[{"required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/EmbeddingTypes"}],"default":"Drugs"},"name":"embedding_type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Return The Features Trained In The Models Features Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/models":{"get":{"tags":["openpredict"],"summary":"Return The Models With Their Training Features And Scores","description":"Return the models with their training features and scores","operationId":"Return_the_models_with_their_training_features_and_scores_models_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Return The Models With Their Training Features And Scores Models Get","type":"object"}}}}}}},"/embedding":{"post":{"tags":["openpredict"],"summary":"Upload Your Embedding For Drugs Or Diseases","description":"Upload your embedding file:\n\n1. Select which types do you have in the embeddings: Drugs, Diseases or Both.\n\n2. Define the base `model_id`: use the `/models` call to see the list of trained models with their characteristics, and pick the ID of the model you will use as base to add your embedding\n\n3. The model will be retrained and evaluation will be stored in a triplestore (available in `/models`)\n","operationId":"Upload_your_embedding_for_drugs_or_diseases_embedding_post","parameters":[{"required":true,"schema":{"title":"Emb Name","type":"string"},"name":"emb_name","in":"query"},{"required":true,"schema":{"title":"Description","type":"string"},"name":"description","in":"query"},{"required":false,"schema":{"allOf":[{"$ref":"#/components/schemas/EmbeddingTypes"}],"default":"Both"},"name":"types","in":"query"},{"required":false,"schema":{"title":"Model Id","type":"string","default":"openpredict_baseline"},"name":"model_id","in":"query"},{"required":false,"schema":{"title":"Apikey","type":"string"},"name":"apikey","in":"query"}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_Upload_your_embedding_for_drugs_or_diseases_embedding_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Upload Your Embedding For Drugs Or Diseases Embedding Post","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/drugrepositioning":{"get":{"tags":["openpredict"],"summary":"Get  Predicted Drugs For A Given Disease","description":"Return the predicted drugs for a given disease (such as MESHID or OMIMID), with confidence scores.\nOnly disease_id can be provided, the disease_id will be ignored if drug_id is provided\nThis operation is annotated with x-bte-kgs-operations, and follow the BioThings API recommendations.\n\nYou can try:\n\n| disease_id: `MESH:D000544` |\n\n| to check the drug prediction explanations  for a disease  |\n","operationId":"Get__predicted_drugs_for_a_given_disease_drugrepositioning_get","parameters":[{"required":false,"schema":{"title":"Disease Id","type":"string","default":"MESH:D000544"},"name":"disease_id","in":"query"},{"required":false,"schema":{"title":"N Results","type":"integer","default":100},"name":"n_results","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Get  Predicted Drugs For A Given Disease Drugrepositioning Get","type":"object"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AboveOrBelowEnum":{"title":"AboveOrBelowEnum","enum":["above","below"],"type":"string","description":"'above' or 'below'."},"Analysis":{"title":"analysis","required":["resource_id","edge_bindings"],"type":"object","properties":{"resource_id":{"title":"resource infores","type":"string"},"edge_bindings":{"title":"list of edge bindings","allOf":[{"$ref":"#/components/schemas/HashableMapping_str__HashableSet_EdgeBinding__"}]},"score":{"title":"Score","type":"number","format":"float"},"support_graphs":{"title":"Support Graphs","allOf":[{"$ref":"#/components/schemas/HashableSet_str_"}],"nullable":true},"scoring_method":{"title":"Scoring Method","type":"string","nullable":true},"attributes":{"title":"Attributes","allOf":[{"$ref":"#/components/schemas/HashableSet_Attribute_"}],"nullable":true}},"description":"Analysis."},"AnnotateEdgesParameters":{"title":"AnnotateEdgesParameters","type":"object","properties":{"attributes":{"$ref":"#/components/schemas/HashableSequence_str_"}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"AnnotateNodesParameters":{"title":"AnnotateNodesParameters","type":"object","properties":{"attributes":{"$ref":"#/components/schemas/HashableSequence_str_"}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"AscOrDescEnum":{"title":"AscOrDescEnum","enum":["ascending","descending"],"type":"string","description":"'ascending' or 'descending'."},"Attribute":{"title":"Attribute","required":["attribute_type_id","value"],"type":"object","properties":{"attribute_type_id":{"title":"type","type":"string"},"value":{"title":"value"},"value_type_id":{"title":"value_type_id","type":"string","nullable":true},"original_attribute_name":{"title":"Original Attribute Name","type":"string","nullable":true},"value_url":{"title":"Value Url","type":"string","nullable":true},"attribute_source":{"title":"Attribute Source","type":"string","nullable":true},"description":{"title":"Description","type":"string","nullable":true},"attributes":{"title":"Attributes","allOf":[{"$ref":"#/components/schemas/HashableSequence_SubAttribute_"}],"nullable":true}},"additionalProperties":false,"description":"Node/edge attribute."},"AttributeConstraint":{"title":"AttributeConstraint","required":["name","id","operator","value"],"type":"object","properties":{"name":{"title":"name","type":"string","nullable":false},"id":{"title":"id","type":"string","nullable":false},"not":{"title":"not","type":"boolean","default":false},"operator":{"title":"operator","allOf":[{"$ref":"#/components/schemas/Operator"}]},"value":{"title":"value"},"unit_id":{"title":"unit_id"},"unit_name":{"title":"unit_name"}},"additionalProperties":false,"description":"QNode or QEdge attribute constraint."},"AuxiliaryGraph":{"title":"auxiliary graph","required":["edges"],"type":"object","properties":{"edges":{"title":"edges in auxiliary graph","allOf":[{"$ref":"#/components/schemas/HashableSet_str_"}]},"attributes":{"title":"Attributes","allOf":[{"$ref":"#/components/schemas/HashableSet_Attribute_"}],"nullable":true}},"description":"Auxiliary Graph"},"AuxiliaryGraphs":{"$ref":"#/components/schemas/HashableMapping_str__AuxiliaryGraph_","title":"auxiliary graphs","description":"Auxiliary Graphs"},"Body_Upload_your_embedding_for_drugs_or_diseases_embedding_post":{"title":"Body_Upload_your_embedding_for_drugs_or_diseases_embedding_post","required":["uploaded_file"],"type":"object","properties":{"uploaded_file":{"title":"Uploaded File","type":"string","format":"binary"}}},"Edge":{"title":"knowledge-graph edge","required":["subject","object","predicate","sources"],"type":"object","properties":{"subject":{"title":"subject node id","type":"string"},"object":{"title":"object node id","type":"string"},"predicate":{"title":"edge predicate","pattern":"^biolink:[a-z][a-z_]*$","type":"string"},"sources":{"title":"list of source retrievals","allOf":[{"$ref":"#/components/schemas/HashableSet_RetrievalSource_"}]},"qualifiers":{"title":"Qualifiers","allOf":[{"$ref":"#/components/schemas/HashableSet_Qualifier_"}],"nullable":true},"attributes":{"title":"Attributes","allOf":[{"$ref":"#/components/schemas/HashableSet_Attribute_"}],"nullable":true}},"additionalProperties":false,"description":"Knowledge graph edge."},"EdgeBinding":{"title":"edge binding","required":["id"],"type":"object","properties":{"id":{"title":"knowledge graph id","type":"string"},"attributes":{"title":"Attributes","allOf":[{"$ref":"#/components/schemas/HashableSet_Attribute_"}],"nullable":true}},"description":"Edge binding.","example":{"id":"string"}},"EmbeddingTypes":{"title":"EmbeddingTypes","enum":["Both","Drugs","Diseases"],"type":"string","description":"An enumeration."},"EnrichResultsParameters":{"title":"EnrichResultsParameters","type":"object","properties":{"pvalue_threshold":{"title":"Pvalue Threshold","maximum":1.0,"minimum":0.0,"type":"number","default":1e-06},"qnode_keys":{"$ref":"#/components/schemas/HashableSequence_str_"},"predicates_to_exclude":{"$ref":"#/components/schemas/HashableSequence_BiolinkPredicate_"}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"FeatureTypesDiseases":{"title":"FeatureTypesDiseases","enum":["HPO-SIM","PHENO-SIM"],"type":"string","description":"An enumeration."},"FeatureTypesDrugs":{"title":"FeatureTypesDrugs","enum":["PPI-SIM","TC","SE-SIM","TARGETSEQ-SIM","GO-SIM"],"type":"string","description":"An enumeration."},"FillAllowParameters":{"title":"FillAllowParameters","type":"object","properties":{"allowlist":{"$ref":"#/components/schemas/HashableSequence_str_"},"qedge_keys":{"$ref":"#/components/schemas/HashableSequence_str_"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"FillDenyParameters":{"title":"FillDenyParameters","type":"object","properties":{"denylist":{"$ref":"#/components/schemas/HashableSequence_str_"},"qedge_keys":{"$ref":"#/components/schemas/HashableSequence_str_"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"FillParameters":{"title":"FillParameters","anyOf":[{"$ref":"#/components/schemas/FillAllowParameters"},{"$ref":"#/components/schemas/FillDenyParameters"}],"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"FilterKgraphContinuousKedgeAttributeParameters":{"title":"FilterKgraphContinuousKedgeAttributeParameters","required":["edge_attribute","threshold","remove_above_or_below"],"type":"object","properties":{"edge_attribute":{"title":"Edge Attribute","type":"string"},"threshold":{"title":"Threshold","type":"number"},"remove_above_or_below":{"$ref":"#/components/schemas/AboveOrBelowEnum"},"qedge_keys":{"$ref":"#/components/schemas/HashableSequence_str_"},"qnode_keys":{"title":"Qnode Keys","allOf":[{"$ref":"#/components/schemas/HashableSequence_str_"}],"default":[]}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"FilterKgraphDiscreteKedgeAttributeParameters":{"title":"FilterKgraphDiscreteKedgeAttributeParameters","required":["edge_attribute"],"type":"object","properties":{"edge_attribute":{"title":"Edge Attribute","type":"string"},"remove_value":{"title":"Remove Value"},"qedge_keys":{"$ref":"#/components/schemas/HashableSequence_str_"},"qnode_keys":{"title":"Qnode Keys","allOf":[{"$ref":"#/components/schemas/HashableSequence_str_"}],"default":[]}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"FilterKgraphDiscreteKnodeAttributeParameters":{"title":"FilterKgraphDiscreteKnodeAttributeParameters","required":["node_attribute"],"type":"object","properties":{"node_attribute":{"title":"Node Attribute","type":"string"},"remove_value":{"title":"Remove Value"},"qnode_keys":{"$ref":"#/components/schemas/HashableSequence_str_"}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"FilterKgraphPercentileParameters":{"title":"FilterKgraphPercentileParameters","required":["edge_attribute"],"type":"object","properties":{"edge_attribute":{"title":"Edge Attribute","type":"string"},"threshold":{"title":"Threshold","maximum":100.0,"minimum":0.0,"type":"number","default":95},"remove_above_or_below":{"allOf":[{"$ref":"#/components/schemas/AboveOrBelowEnum"}],"default":"below"},"qedge_keys":{"$ref":"#/components/schemas/HashableSequence_str_"},"qnode_keys":{"title":"Qnode Keys","allOf":[{"$ref":"#/components/schemas/HashableSequence_str_"}],"default":[]}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"FilterKgraphStdDevParameters":{"title":"FilterKgraphStdDevParameters","required":["edge_attribute"],"type":"object","properties":{"edge_attribute":{"title":"Edge Attribute","type":"string"},"plus_or_minus_std_dev":{"allOf":[{"$ref":"#/components/schemas/PlusOrMinusEnum"}],"default":"plus"},"num_sigma":{"title":"Num Sigma","minimum":0.0,"type":"number","default":1},"remove_above_or_below":{"allOf":[{"$ref":"#/components/schemas/AboveOrBelowEnum"}],"default":"below"},"qedge_keys":{"$ref":"#/components/schemas/HashableSequence_str_"},"qnode_keys":{"title":"Qnode Keys","allOf":[{"$ref":"#/components/schemas/HashableSequence_str_"}],"default":[]}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"FilterKgraphTopNParameters":{"title":"FilterKgraphTopNParameters","required":["edge_attribute"],"type":"object","properties":{"edge_attribute":{"title":"Edge Attribute","type":"string"},"max_edges":{"title":"Max Edges","maximum":0.0,"type":"integer","default":50},"remove_top_or_bottom":{"allOf":[{"$ref":"#/components/schemas/TopOrBottomEnum"}],"default":"top"},"qedge_keys":{"$ref":"#/components/schemas/HashableSequence_str_"},"qnode_keys":{"title":"Qnode Keys","allOf":[{"$ref":"#/components/schemas/HashableSequence_str_"}],"default":[]}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"FilterResultsTopNParameters":{"title":"FilterResultsTopNParameters","required":["max_results"],"type":"object","properties":{"max_results":{"title":"Max Results","minimum":0.0,"type":"integer"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"HTTPValidationError":{"title":"HTTPValidationError","type":"object","properties":{"detail":{"title":"Detail","type":"array","items":{"$ref":"#/components/schemas/ValidationError"}}}},"HashableMapping_CURIE__Node_":{"title":"HashableMapping[CURIE, Node]","type":"object","additionalProperties":{"$ref":"#/components/schemas/Node"},"description":"Custom class that implements MutableMapping and is hashable","default":{}},"HashableMapping_EdgeIdentifier__Edge_":{"title":"HashableMapping[EdgeIdentifier, Edge]","type":"object","additionalProperties":{"$ref":"#/components/schemas/Edge"},"description":"Custom class that implements MutableMapping and is hashable","default":{}},"HashableMapping_str__AuxiliaryGraph_":{"title":"HashableMapping[str, AuxiliaryGraph]","type":"object","additionalProperties":{"$ref":"#/components/schemas/AuxiliaryGraph"},"description":"Custom class that implements MutableMapping and is hashable","default":{}},"HashableMapping_str__HashableSet_EdgeBinding__":{"title":"HashableMapping[str, HashableSet[EdgeBinding]]","type":"object","additionalProperties":{"$ref":"#/components/schemas/HashableSet_EdgeBinding_"},"description":"Custom class that implements MutableMapping and is hashable","default":{}},"HashableMapping_str__HashableSet_NodeBinding__":{"title":"HashableMapping[str, HashableSet[NodeBinding]]","type":"object","additionalProperties":{"$ref":"#/components/schemas/HashableSet_NodeBinding_"},"description":"Custom class that implements MutableMapping and is hashable","default":{}},"HashableMapping_str__QEdge_":{"title":"HashableMapping[str, QEdge]","type":"object","additionalProperties":{"$ref":"#/components/schemas/QEdge"},"description":"Custom class that implements MutableMapping and is hashable","default":{}},"HashableMapping_str__QNode_":{"title":"HashableMapping[str, QNode]","type":"object","additionalProperties":{"$ref":"#/components/schemas/QNode"},"description":"Custom class that implements MutableMapping and is hashable","default":{}},"HashableSequence_AttributeConstraint_":{"title":"HashableSequence[AttributeConstraint]","type":"array","items":{"$ref":"#/components/schemas/AttributeConstraint"},"description":"Custom class that implements MutableSequence and is hashable","default":[]},"HashableSequence_BiolinkEntity_":{"title":"HashableSequence[BiolinkEntity]","type":"array","items":{"pattern":"^biolink:[A-Z][a-zA-Z]*$","type":"string"},"description":"Custom class that implements MutableSequence and is hashable","default":[]},"HashableSequence_BiolinkPredicate_":{"title":"HashableSequence[BiolinkPredicate]","type":"array","items":{"pattern":"^biolink:[a-z][a-z_]*$","type":"string"},"description":"Custom class that implements MutableSequence and is hashable","default":[]},"HashableSequence_CURIE_":{"title":"HashableSequence[CURIE]","type":"array","items":{"type":"string"},"description":"Custom class that implements MutableSequence and is hashable","default":[]},"HashableSequence_Operation_":{"title":"HashableSequence[Operation]","type":"array","items":{"$ref":"#/components/schemas/Operation"},"description":"Custom class that implements MutableSequence and is hashable","default":[]},"HashableSequence_QualifierConstraint_":{"title":"HashableSequence[QualifierConstraint]","type":"array","items":{"$ref":"#/components/schemas/QualifierConstraint"},"description":"Custom class that implements MutableSequence and is hashable","default":[]},"HashableSequence_Qualifier_":{"title":"HashableSequence[Qualifier]","type":"array","items":{"$ref":"#/components/schemas/Qualifier"},"description":"Custom class that implements MutableSequence and is hashable","default":[]},"HashableSequence_RecursiveAttribute_":{"title":"HashableSequence[RecursiveAttribute]","type":"array","items":{"$ref":"#/components/schemas/RecursiveAttribute"},"description":"Custom class that implements MutableSequence and is hashable","default":[]},"HashableSequence_Result_":{"title":"HashableSequence[Result]","type":"array","items":{"$ref":"#/components/schemas/Result"},"description":"Custom class that implements MutableSequence and is hashable","default":[]},"HashableSequence_SubAttribute_":{"title":"HashableSequence[SubAttribute]","type":"array","items":{"$ref":"#/components/schemas/SubAttribute"},"description":"Custom class that implements MutableSequence and is hashable","default":[]},"HashableSequence_str_":{"title":"HashableSequence[str]","type":"array","items":{"type":"string"},"description":"Custom class that implements MutableSequence and is hashable","default":[]},"HashableSet_Analysis_":{"title":"HashableSet[Analysis]","uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/Analysis"},"description":"Custom class that implements MutableSet and is hashable","default":[]},"HashableSet_Attribute_":{"title":"HashableSet[Attribute]","uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/Attribute"},"description":"Custom class that implements MutableSet and is hashable","default":[]},"HashableSet_BiolinkEntity_":{"title":"HashableSet[BiolinkEntity]","uniqueItems":true,"type":"array","items":{"pattern":"^biolink:[A-Z][a-zA-Z]*$","type":"string"},"description":"Custom class that implements MutableSet and is hashable","default":[]},"HashableSet_CURIE_":{"title":"HashableSet[CURIE]","uniqueItems":true,"type":"array","items":{"type":"string"},"description":"Custom class that implements MutableSet and is hashable","default":[]},"HashableSet_EdgeBinding_":{"title":"HashableSet[EdgeBinding]","uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/EdgeBinding"},"description":"Custom class that implements MutableSet and is hashable","default":[]},"HashableSet_NodeBinding_":{"title":"HashableSet[NodeBinding]","uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/NodeBinding"},"description":"Custom class that implements MutableSet and is hashable","default":[]},"HashableSet_Qualifier_":{"title":"HashableSet[Qualifier]","uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/Qualifier"},"description":"Custom class that implements MutableSet and is hashable","default":[]},"HashableSet_RetrievalSource_":{"title":"HashableSet[RetrievalSource]","uniqueItems":true,"type":"array","items":{"$ref":"#/components/schemas/RetrievalSource"},"description":"Custom class that implements MutableSet and is hashable","default":[]},"HashableSet_str_":{"title":"HashableSet[str]","uniqueItems":true,"type":"array","items":{"type":"string"},"description":"Custom class that implements MutableSet and is hashable","default":[]},"KnowledgeGraph":{"title":"knowledge graph","required":["nodes","edges"],"type":"object","properties":{"nodes":{"title":"nodes","allOf":[{"$ref":"#/components/schemas/HashableMapping_CURIE__Node_"}]},"edges":{"title":"edges","allOf":[{"$ref":"#/components/schemas/HashableMapping_EdgeIdentifier__Edge_"}]}},"description":"Knowledge graph."},"KnowledgeType":{"title":"KnowledgeType","enum":["lookup","inferred"],"type":"string","description":"Knowledge Type."},"LogLevel":{"$ref":"#/components/schemas/LogLevelEnum","title":"LogLevel","description":"Log level."},"LogLevelEnum":{"title":"LogLevelEnum","enum":["ERROR","WARNING","INFO","DEBUG"],"type":"string","description":"Log level."},"Message":{"title":"message","type":"object","properties":{"query_graph":{"title":"query graph","allOf":[{"$ref":"#/components/schemas/QueryGraph"}],"nullable":true},"knowledge_graph":{"title":"knowledge graph","allOf":[{"$ref":"#/components/schemas/KnowledgeGraph"}],"nullable":true},"results":{"title":"list of results","allOf":[{"$ref":"#/components/schemas/Results"}],"nullable":true},"auxiliary_graphs":{"title":"dict of auxiliary graphs","allOf":[{"$ref":"#/components/schemas/AuxiliaryGraphs"}],"nullable":true}},"additionalProperties":false,"description":"Message."},"Node":{"title":"knowledge-graph node","type":"object","properties":{"categories":{"title":"categories","allOf":[{"$ref":"#/components/schemas/HashableSet_BiolinkEntity_"}],"nullable":true},"name":{"title":"Name","type":"string","nullable":true},"attributes":{"title":"Attributes","allOf":[{"$ref":"#/components/schemas/HashableSet_Attribute_"}],"nullable":true}},"additionalProperties":false,"description":"Knowledge graph node.","example":{"category":"string"}},"NodeBinding":{"title":"node binding","required":["id"],"type":"object","properties":{"id":{"title":"knowledge graph id","type":"string"},"query_id":{"title":"query graph id","type":"string"},"attributes":{"title":"Attributes","allOf":[{"$ref":"#/components/schemas/HashableSet_Attribute_"}],"nullable":true}},"description":"Node binding.","example":{"id":"x:string"}},"Operation":{"title":"Operation","anyOf":[{"$ref":"#/components/schemas/OperationAnnotate"},{"$ref":"#/components/schemas/OperationAnnotateEdges"},{"$ref":"#/components/schemas/OperationAnnotateNodes"},{"$ref":"#/components/schemas/OperationBind"},{"$ref":"#/components/schemas/OperationCompleteResults"},{"$ref":"#/components/schemas/OperationEnrichResults"},{"$ref":"#/components/schemas/OperationFill"},{"$ref":"#/components/schemas/OperationFilterKgraph"},{"$ref":"#/components/schemas/OperationFilterKgraphContinuousKedgeAttribute"},{"$ref":"#/components/schemas/OperationFilterKgraphDiscreteKedgeAttribute"},{"$ref":"#/components/schemas/OperationFilterKgraphDiscreteKnodeAttribute"},{"$ref":"#/components/schemas/OperationFilterKgraphOrphans"},{"$ref":"#/components/schemas/OperationFilterKgraphPercentile"},{"$ref":"#/components/schemas/OperationFilterKgraphStdDev"},{"$ref":"#/components/schemas/OperationFilterKgraphTopN"},{"$ref":"#/components/schemas/OperationFilterResults"},{"$ref":"#/components/schemas/OperationFilterResultsTopN"},{"$ref":"#/components/schemas/OperationLookup"},{"$ref":"#/components/schemas/OperationOverlay"},{"$ref":"#/components/schemas/OperationOverlayComputeJaccard"},{"$ref":"#/components/schemas/OperationOverlayComputeNgd"},{"$ref":"#/components/schemas/OperationOverlayConnectKnodes"},{"$ref":"#/components/schemas/OperationOverlayFisherExactTest"},{"$ref":"#/components/schemas/OperationRestate"},{"$ref":"#/components/schemas/OperationScore"},{"$ref":"#/components/schemas/OperationSortResults"},{"$ref":"#/components/schemas/OperationSortResultsEdgeAttribute"},{"$ref":"#/components/schemas/OperationSortResultsNodeAttribute"},{"$ref":"#/components/schemas/OperationSortResultsScore"}],"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationAnnotate":{"title":"OperationAnnotate","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/annotate"},"parameters":{"title":"Parameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationAnnotateEdges":{"title":"OperationAnnotateEdges","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/annotate_edges"},"parameters":{"$ref":"#/components/schemas/AnnotateEdgesParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationAnnotateNodes":{"title":"OperationAnnotateNodes","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/annotate_nodes"},"parameters":{"$ref":"#/components/schemas/AnnotateNodesParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationBind":{"title":"OperationBind","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/bind"},"parameters":{"title":"Parameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationCompleteResults":{"title":"OperationCompleteResults","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/complete_results"},"parameters":{"title":"Parameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationEnrichResults":{"title":"OperationEnrichResults","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/enrich_results"},"parameters":{"$ref":"#/components/schemas/EnrichResultsParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationFill":{"title":"OperationFill","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/fill"},"parameters":{"$ref":"#/components/schemas/FillParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationFilterKgraph":{"title":"OperationFilterKgraph","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/filter_kgraph"},"parameters":{"title":"Parameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationFilterKgraphContinuousKedgeAttribute":{"title":"OperationFilterKgraphContinuousKedgeAttribute","required":["id","parameters"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/filter_kgraph_continuous_kedge_attribute"},"parameters":{"$ref":"#/components/schemas/FilterKgraphContinuousKedgeAttributeParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationFilterKgraphDiscreteKedgeAttribute":{"title":"OperationFilterKgraphDiscreteKedgeAttribute","required":["id","parameters"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/filter_kgraph_discrete_kedge_attribute"},"parameters":{"$ref":"#/components/schemas/FilterKgraphDiscreteKedgeAttributeParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationFilterKgraphDiscreteKnodeAttribute":{"title":"OperationFilterKgraphDiscreteKnodeAttribute","required":["id","parameters"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/filter_kgraph_discrete_knode_attribute"},"parameters":{"$ref":"#/components/schemas/FilterKgraphDiscreteKnodeAttributeParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationFilterKgraphOrphans":{"title":"OperationFilterKgraphOrphans","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/filter_kgraph_orphans"},"parameters":{"title":"Parameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationFilterKgraphPercentile":{"title":"OperationFilterKgraphPercentile","required":["id","parameters"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/filter_kgraph_percentile"},"parameters":{"$ref":"#/components/schemas/FilterKgraphPercentileParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationFilterKgraphStdDev":{"title":"OperationFilterKgraphStdDev","required":["id","parameters"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/filter_kgraph_std_dev"},"parameters":{"$ref":"#/components/schemas/FilterKgraphStdDevParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationFilterKgraphTopN":{"title":"OperationFilterKgraphTopN","required":["id","parameters"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/filter_kgraph_top_n"},"parameters":{"$ref":"#/components/schemas/FilterKgraphTopNParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationFilterResults":{"title":"OperationFilterResults","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/filter_results"},"parameters":{"title":"Parameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationFilterResultsTopN":{"title":"OperationFilterResultsTopN","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/filter_results_top_n"},"parameters":{"$ref":"#/components/schemas/FilterResultsTopNParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationLookup":{"title":"OperationLookup","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/lookup"},"parameters":{"title":"Parameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationOverlay":{"title":"OperationOverlay","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/overlay"},"parameters":{"title":"Parameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationOverlayComputeJaccard":{"title":"OperationOverlayComputeJaccard","required":["id","parameters"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/overlay_compute_jaccard"},"parameters":{"$ref":"#/components/schemas/OverlayComputeJaccardParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationOverlayComputeNgd":{"title":"OperationOverlayComputeNgd","required":["id","parameters"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/overlay_compute_ngd"},"parameters":{"$ref":"#/components/schemas/OverlayComputeNgdParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationOverlayConnectKnodes":{"title":"OperationOverlayConnectKnodes","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/overlay_connect_knodes"},"parameters":{"title":"Parameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationOverlayFisherExactTest":{"title":"OperationOverlayFisherExactTest","required":["id","parameters"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/overlay_fisher_exact_test"},"parameters":{"$ref":"#/components/schemas/OverlayFisherExactTestParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationRestate":{"title":"OperationRestate","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/restate"},"parameters":{"title":"Parameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationScore":{"title":"OperationScore","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/score"},"parameters":{"title":"Parameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationSortResults":{"title":"OperationSortResults","required":["id"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/sort_results"},"parameters":{"title":"Parameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationSortResultsEdgeAttribute":{"title":"OperationSortResultsEdgeAttribute","required":["id","parameters"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/sort_results_edge_attribute"},"parameters":{"$ref":"#/components/schemas/SortResultsEdgeAttributeParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationSortResultsNodeAttribute":{"title":"OperationSortResultsNodeAttribute","required":["id","parameters"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/sort_results_node_attribute"},"parameters":{"$ref":"#/components/schemas/SortResultsNodeAttributeParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OperationSortResultsScore":{"title":"OperationSortResultsScore","required":["id","parameters"],"type":"object","properties":{"runner_parameters":{"$ref":"#/components/schemas/RunnerParameters"},"id":{"$ref":"#/components/schemas/sort_results_score"},"parameters":{"$ref":"#/components/schemas/SortResultsScoreParameters"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"Operator":{"title":"Operator","enum":["==","===",">","<","matches"],"type":"string","description":"Operator."},"OverlayComputeJaccardParameters":{"title":"OverlayComputeJaccardParameters","required":["intermediate_node_key","end_node_keys","virtual_relation_label"],"type":"object","properties":{"intermediate_node_key":{"title":"Intermediate Node Key","type":"string"},"end_node_keys":{"$ref":"#/components/schemas/HashableSequence_str_"},"virtual_relation_label":{"title":"Virtual Relation Label","type":"string"}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OverlayComputeNgdParameters":{"title":"OverlayComputeNgdParameters","required":["qnode_keys","virtual_relation_label"],"type":"object","properties":{"qnode_keys":{"$ref":"#/components/schemas/HashableSequence_str_"},"virtual_relation_label":{"title":"Virtual Relation Label","type":"string"}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"OverlayFisherExactTestParameters":{"title":"OverlayFisherExactTestParameters","required":["subject_qnode_key","object_qnode_key","virtual_relation_label"],"type":"object","properties":{"subject_qnode_key":{"title":"Subject Qnode Key","type":"string"},"object_qnode_key":{"title":"Object Qnode Key","type":"string"},"virtual_relation_label":{"title":"Virtual Relation Label","type":"string"},"rel_edge_key":{"title":"Rel Edge Key","type":"string"}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"PlusOrMinusEnum":{"title":"PlusOrMinusEnum","enum":["plus","minus"],"type":"string","description":"'plus' or 'minus'."},"PredictInput":{"title":"PredictInput","type":"object","properties":{"subjects":{"title":"Subjects","type":"array","items":{"type":"string"},"default":[]},"objects":{"title":"Objects","type":"array","items":{"type":"string"},"default":[]},"options":{"title":"Options","allOf":[{"$ref":"#/components/schemas/PredictOptions"}],"default":{}}}},"PredictOptions":{"title":"PredictOptions","type":"object","properties":{"model_id":{"title":"Model Id","type":"string"},"min_score":{"title":"Min Score","type":"number"},"max_score":{"title":"Max Score","type":"number"},"n_results":{"title":"N Results","type":"integer"}}},"QEdge":{"title":"query-graph edge","required":["subject","object"],"type":"object","properties":{"subject":{"title":"subject node id","type":"string"},"object":{"title":"object node id","type":"string"},"knowledge_type":{"title":"knowledge type","allOf":[{"$ref":"#/components/schemas/KnowledgeType"}]},"predicates":{"title":"predicates","allOf":[{"$ref":"#/components/schemas/HashableSequence_BiolinkPredicate_"}],"nullable":true},"attribute_constraints":{"title":"attribute constraints","allOf":[{"$ref":"#/components/schemas/HashableSequence_AttributeConstraint_"}],"default":{"__root__":[]}},"qualifier_constraints":{"title":"qualifier constraint","allOf":[{"$ref":"#/components/schemas/HashableSequence_QualifierConstraint_"}],"default":{"__root__":[]}}},"description":"Query edge."},"QNode":{"title":"query-graph node","type":"object","properties":{"ids":{"title":"ids","allOf":[{"$ref":"#/components/schemas/HashableSequence_CURIE_"}],"nullable":true},"categories":{"title":"categories","allOf":[{"$ref":"#/components/schemas/HashableSequence_BiolinkEntity_"}],"nullable":true},"is_set":{"title":"Is Set","type":"boolean","default":false},"constraints":{"title":"attribute constraints","allOf":[{"$ref":"#/components/schemas/HashableSequence_AttributeConstraint_"}],"default":{"__root__":[]}}},"description":"Query node."},"Qualifier":{"title":"Qualifier","required":["qualifier_type_id","qualifier_value"],"type":"object","properties":{"qualifier_type_id":{"title":"type","pattern":"^biolink:[a-z][a-z_]*$","type":"string"},"qualifier_value":{"title":"value","type":"string"}},"description":"Edge qualifier."},"QualifierConstraint":{"title":"QualifierConstraint","type":"object","properties":{"qualifier_set":{"title":"qualifier set","allOf":[{"$ref":"#/components/schemas/HashableSequence_Qualifier_"}],"default":{"__root__":[]}}},"description":"QEdge Qualifier constraint."},"Query":{"title":"query","required":["message"],"type":"object","properties":{"message":{"title":"message","allOf":[{"$ref":"#/components/schemas/Message"}]},"log_level":{"title":"log_level","allOf":[{"$ref":"#/components/schemas/LogLevel"}],"nullable":true},"workflow":{"$ref":"#/components/schemas/Workflow"}},"description":"Request.","x-body-name":"request_body"},"QueryGraph":{"title":"simple query graph","required":["nodes","edges"],"type":"object","properties":{"nodes":{"title":"dict of nodes","allOf":[{"$ref":"#/components/schemas/HashableMapping_str__QNode_"}]},"edges":{"title":"dict of edges","allOf":[{"$ref":"#/components/schemas/HashableMapping_str__QEdge_"}]}},"description":"Query graph."},"RecursiveAttribute":{"title":"RecursiveAttribute","required":["attribute_type_id","value"],"type":"object","properties":{"attribute_type_id":{"title":"type","type":"string"},"value":{"title":"value"},"value_type_id":{"title":"value_type_id","type":"string","nullable":true},"original_attribute_name":{"title":"Original Attribute Name","type":"string","nullable":true},"value_url":{"title":"Value Url","type":"string","nullable":true},"attribute_source":{"title":"Attribute Source","type":"string","nullable":true},"description":{"title":"Description","type":"string","nullable":true},"attributes":{"title":"Attributes","allOf":[{"$ref":"#/components/schemas/HashableSequence_RecursiveAttribute_"}],"nullable":true}},"additionalProperties":false,"description":"Attribute subattribute."},"ResourceRoleEnum":{"title":"ResourceRoleEnum","enum":["aggregator_knowledge_source","primary_knowledge_source","supporting_data_source"],"type":"string","description":"Types of resources"},"Result":{"title":"result","required":["node_bindings","analyses"],"type":"object","properties":{"node_bindings":{"title":"list of node bindings","allOf":[{"$ref":"#/components/schemas/HashableMapping_str__HashableSet_NodeBinding__"}]},"analyses":{"title":"list of anlysis blocks","allOf":[{"$ref":"#/components/schemas/HashableSet_Analysis_"}]}},"description":"Result."},"Results":{"$ref":"#/components/schemas/HashableSequence_Result_","title":"results","description":"Results."},"RetrievalSource":{"title":"RetrievalSource","required":["resource_id","resource_role"],"type":"object","properties":{"resource_id":{"title":"infores for source","type":"string"},"resource_role":{"title":"source type","allOf":[{"$ref":"#/components/schemas/ResourceRoleEnum"}]},"upstream_resource_ids":{"title":"Upstream Resource Ids","allOf":[{"$ref":"#/components/schemas/HashableSet_CURIE_"}],"nullable":true},"source_record_urls":{"title":"Source Record Urls","allOf":[{"$ref":"#/components/schemas/HashableSet_str_"}],"nullable":true}},"description":"A component of source retrieval provenance"},"RunnerAllowList":{"title":"RunnerAllowList","type":"object","properties":{"allowlist":{"$ref":"#/components/schemas/HashableSequence_str_"},"timeout":{"title":"Timeout","type":"number"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"RunnerDenyList":{"title":"RunnerDenyList","type":"object","properties":{"denylist":{"$ref":"#/components/schemas/HashableSequence_str_"},"timeout":{"title":"Timeout","type":"number"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"RunnerParameters":{"title":"RunnerParameters","anyOf":[{"$ref":"#/components/schemas/RunnerAllowList"},{"$ref":"#/components/schemas/RunnerDenyList"},{"$ref":"#/components/schemas/RunnerTimeout"}],"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"RunnerTimeout":{"title":"RunnerTimeout","type":"object","properties":{"timeout":{"title":"Timeout","type":"number"}},"additionalProperties":false,"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"SortResultsEdgeAttributeParameters":{"title":"SortResultsEdgeAttributeParameters","required":["edge_attribute","ascending_or_descending"],"type":"object","properties":{"edge_attribute":{"title":"Edge Attribute","type":"string"},"ascending_or_descending":{"$ref":"#/components/schemas/AscOrDescEnum"},"qedge_keys":{"$ref":"#/components/schemas/HashableSequence_str_"}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"SortResultsNodeAttributeParameters":{"title":"SortResultsNodeAttributeParameters","required":["node_attribute","ascending_or_descending"],"type":"object","properties":{"node_attribute":{"title":"Node Attribute","type":"string"},"ascending_or_descending":{"$ref":"#/components/schemas/AscOrDescEnum"},"qnode_keys":{"$ref":"#/components/schemas/HashableSequence_str_"}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"SortResultsScoreParameters":{"title":"SortResultsScoreParameters","required":["ascending_or_descending"],"type":"object","properties":{"ascending_or_descending":{"$ref":"#/components/schemas/AscOrDescEnum"}},"description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"SubAttribute":{"title":"SubAttribute","required":["attribute_type_id","value"],"type":"object","properties":{"attribute_type_id":{"title":"type","type":"string"},"value":{"title":"value"},"value_type_id":{"title":"value_type_id","type":"string","nullable":true},"original_attribute_name":{"title":"Original Attribute Name","type":"string","nullable":true},"value_url":{"title":"Value Url","type":"string","nullable":true},"attribute_source":{"title":"Attribute Source","type":"string","nullable":true},"description":{"title":"Description","type":"string","nullable":true},"attributes":{"title":"Attributes","allOf":[{"$ref":"#/components/schemas/HashableSequence_RecursiveAttribute_"}],"nullable":true}},"additionalProperties":false,"description":"Attribute subattribute."},"TopOrBottomEnum":{"title":"TopOrBottomEnum","enum":["top","bottom"],"type":"string","description":"'top' or 'bottom'."},"ValidationError":{"title":"ValidationError","required":["loc","msg","type"],"type":"object","properties":{"loc":{"title":"Location","type":"array","items":{"type":"string"}},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}}},"Workflow":{"$ref":"#/components/schemas/HashableSequence_Operation_","title":"Workflow","description":"Custom base model for all classes\n\nThis provides hash and equality methods."},"annotate":{"title":"annotate","enum":["annotate"],"type":"string","description":"An enumeration."},"annotate_edges":{"title":"annotate_edges","enum":["annotate_edges"],"type":"string","description":"An enumeration."},"annotate_nodes":{"title":"annotate_nodes","enum":["annotate_nodes"],"type":"string","description":"An enumeration."},"bind":{"title":"bind","enum":["bind"],"type":"string","description":"An enumeration."},"complete_results":{"title":"complete_results","enum":["complete_results"],"type":"string","description":"An enumeration."},"enrich_results":{"title":"enrich_results","enum":["enrich_results"],"type":"string","description":"An enumeration."},"fill":{"title":"fill","enum":["fill"],"type":"string","description":"An enumeration."},"filter_kgraph":{"title":"filter_kgraph","enum":["filter_kgraph"],"type":"string","description":"An enumeration."},"filter_kgraph_continuous_kedge_attribute":{"title":"filter_kgraph_continuous_kedge_attribute","enum":["filter_kgraph_continuous_kedge_attribute"],"type":"string","description":"An enumeration."},"filter_kgraph_discrete_kedge_attribute":{"title":"filter_kgraph_discrete_kedge_attribute","enum":["filter_kgraph_discrete_kedge_attribute"],"type":"string","description":"An enumeration."},"filter_kgraph_discrete_knode_attribute":{"title":"filter_kgraph_discrete_knode_attribute","enum":["filter_kgraph_discrete_knode_attribute"],"type":"string","description":"An enumeration."},"filter_kgraph_orphans":{"title":"filter_kgraph_orphans","enum":["filter_kgraph_orphans"],"type":"string","description":"An enumeration."},"filter_kgraph_percentile":{"title":"filter_kgraph_percentile","enum":["filter_kgraph_percentile"],"type":"string","description":"An enumeration."},"filter_kgraph_std_dev":{"title":"filter_kgraph_std_dev","enum":["filter_kgraph_std_dev"],"type":"string","description":"An enumeration."},"filter_kgraph_top_n":{"title":"filter_kgraph_top_n","enum":["filter_kgraph_top_n"],"type":"string","description":"An enumeration."},"filter_results":{"title":"filter_results","enum":["filter_results"],"type":"string","description":"An enumeration."},"filter_results_top_n":{"title":"filter_results_top_n","enum":["filter_results_top_n"],"type":"string","description":"An enumeration."},"lookup":{"title":"lookup","enum":["lookup"],"type":"string","description":"An enumeration."},"overlay":{"title":"overlay","enum":["overlay"],"type":"string","description":"An enumeration."},"overlay_compute_jaccard":{"title":"overlay_compute_jaccard","enum":["overlay_compute_jaccard"],"type":"string","description":"An enumeration."},"overlay_compute_ngd":{"title":"overlay_compute_ngd","enum":["overlay_compute_ngd"],"type":"string","description":"An enumeration."},"overlay_connect_knodes":{"title":"overlay_connect_knodes","enum":["overlay_connect_knodes"],"type":"string","description":"An enumeration."},"overlay_fisher_exact_test":{"title":"overlay_fisher_exact_test","enum":["overlay_fisher_exact_test"],"type":"string","description":"An enumeration."},"restate":{"title":"restate","enum":["restate"],"type":"string","description":"An enumeration."},"score":{"title":"score","enum":["score"],"type":"string","description":"An enumeration."},"sort_results":{"title":"sort_results","enum":["sort_results"],"type":"string","description":"An enumeration."},"sort_results_edge_attribute":{"title":"sort_results_edge_attribute","enum":["sort_results_edge_attribute"],"type":"string","description":"An enumeration."},"sort_results_node_attribute":{"title":"sort_results_node_attribute","enum":["sort_results_node_attribute"],"type":"string","description":"An enumeration."},"sort_results_score":{"title":"sort_results_score","enum":["sort_results_score"],"type":"string","description":"An enumeration."}}},"tags":[{"name":"reasoner"},{"name":"trapi"},{"name":"models"},{"name":"openpredict"},{"name":"translator"}],"servers":[{"url":"https://openpredict.semanticscience.org","description":"TRAPI Dev Server","x-maturity":"development"},{"url":"https://openpredict.transltr.io","description":"TRAPI ITRB Production Server","x-maturity":"production"},{"url":"https://openpredict.test.transltr.io","description":"TRAPI ITRB Test Server","x-maturity":"testing"},{"url":"https://openpredict.ci.transltr.io","description":"TRAPI ITRB CI Server","x-maturity":"staging"}]}